question

A4PCStore-8795 avatar image
0 Votes"
A4PCStore-8795 asked RoyLi-MSFT commented

End to end encryption using WNS primary channel

Can we do end to end encryption using WNS primary channel? I am aware about alternate channel, but we would like to continue using primary channel since we have a store registerd UWP app and the doc recommends primary channel in this case.


windows-uwp
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@A4PCStore-8795 Haven't heard from you for a few days. Have you solved your issue? If Nico's reply helps you solved your issue, please consider marking it as answer.

0 Votes 0 ·

1 Answer

NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT answered NicoZhu-MSFT edited

Hello, Welcome to Micorosoft Q&A,

Can we do end to end encryption using WNS primary channel?

I'm afraid you can't do end to end encryption by using primary channel. Please refer document here, the document said,

Message encryption in transit provided by Windows using TLS. Messages are encrypted on the wire both coming into WNS and going to the user's device.

Full, end-to-end, message encryption. While the primary channel provides encryption while in transit, if you want to be extra secure, alternate channels enable your app to pass through encryption headers to protect a message.


primary channel support encryption is in transit, and only alternate channels support end to end.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks - but the documentation sees I need to use alternate channels for end to end encryption. Is that different from regular WNS?

0 Votes 0 ·

II have updated the case reply, primary channel does not support end to end encryption Please refer Choosing the right channel part In general, we recommend using the primary channel in your app. but it does not support end to end encryption, for this scenario, you could try send ciphertext with primary channel, and decrypt it from client side(custom end to end encryption).



0 Votes 0 ·