-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML Encryption 1.1 - Required block encryption algorithms AES128-GCM missing #43436
Comments
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @jeffhandley |
@dhcgn would you be interested in making PR for this? |
Yes, I'm interested. I keep you updated in this issue. |
Awesome, you will likely need to create some kind of internal wrapper on top of AesGcm to implement SymmetricAlgorithm, edit Line 10 in 6072e4d
|
Yay! I think if we are going to do work for this in this issue, then perhaps we can roll #34784 in to here. |
FWIW, I'm pretty sure that we only do version 1.0, and that it's just a doc bug that it says 1.1 ("xmlenc11" only appears in this issue, nowhere in code). So adding AES-GCM might imply (or require) that everything from the "required" portions of 1.1 be implemented. |
@bartonjs you are right, the identifier I will make a pull request to https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Security.Cryptography.Xml/EncryptedXml.xml After a short trip to |
The identifier http://www.w3.org/2009/ is not present at all in the code base. Which indicates the absence of any implementation of XML Encryption 1.1. See discussion: dotnet/runtime#43436 (comment)
Since we're the bottom of the pipeline things are a bit special in this repository. But if you first run |
The identifier http://www.w3.org/2009/ is not present at all in the code base. Which indicates the absence of any implementation of XML Encryption 1.1. See discussion: dotnet/runtime#43436 (comment)
Since the main problem was a docs error (it said we implemented 1.1, which required GCM, but we didn't) and the docs error is now fixed, closing this issue in favor of #34784 (same request, but older). |
The required (defined in spec XMLEncrypt 1.1) block encryption algorithms AES128-GCM (http://www.w3.org/2009/xmlenc11#aes128-gcm) is missing in System.Security.Cryptography.Xml.
Dokumentation in docs.microsoft.com for EncryptedXml
W3C XML Encryption Syntax and Processing Version 1.1
System.Security.Cryptography.Xml
runtime/src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/EncryptedXml.cs
Lines 24 to 32 in 6072e4d
The text was updated successfully, but these errors were encountered: