dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.07k stars 4.69k forks source link

COSE_Encrypt and COSE_Encrypt0 messages can be read, decrypted, and created/encrypted #32123

Open bartonjs opened 4 years ago

bartonjs commented 4 years ago

Implement COSE Encryption, IETF RFC 8152, section 5

We do not currently have a concrete use case for this support, but:

  1. Theoretically, any time someone wants CMS support, they could desire COSE/CBOR support as an alternate format
  2. For maintaining consistency with other APIs where we have Sign/Encrypt, we always carry both together
  3. If there was a scenario that arose that needed this, it would likely be needed urgently

With this rationale, we will proceed with this functionality within the same release as #32121.

jeffhandley commented 1 year ago

We haven't heard any compelling cases where this needs to be used yet, so we're moving this into the Future backlog. Please comment here if you have a scenario where the COSE Encrypt features are needed so that we can understand the use case and look into scheduling this work into a release.