-
Notifications
You must be signed in to change notification settings - Fork 384
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
Support decryption using AesGcm #1606
Conversation
f2b7a2d
to
6e7f33e
Compare
0761e11
to
9ad3745
Compare
src/Microsoft.IdentityModel.Tokens/Microsoft.IdentityModel.Tokens.csproj
Outdated
Show resolved
Hide resolved
c028446
to
db230a1
Compare
SonarCloud Quality Gate failed. |
src/Microsoft.IdentityModel.Tokens/Encryption/AuthenticatedEncryptionProvider.cs
Show resolved
Hide resolved
I will write a stress test for this and post the results. |
src/Microsoft.IdentityModel.Tokens/Encryption/AuthenticatedEncryptionProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Tokens/Microsoft.IdentityModel.Tokens.csproj
Outdated
Show resolved
Hide resolved
test/Microsoft.IdentityModel.JsonWebTokens.Tests/JsonWebTokenHandlerTests.cs
Outdated
Show resolved
Hide resolved
test/Microsoft.IdentityModel.Tokens.Tests/AuthenticatedEncryptionProviderTests.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Tokens/Encryption/AuthenticatedEncryptionProvider.cs
Outdated
Show resolved
Hide resolved
b60b693
to
eb99228
Compare
@@ -88,6 +87,44 @@ public override string ToString() | |||
/// </summary> | |||
public class AuthenticatedEncryptionProviderTests | |||
{ | |||
#if NET_CORE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: you could merge these two tests together and use
[PlatformSpecific(TestPlatforms.OSX | TestPlatforms.Linux)]
/azp run |
eb99228
to
19731f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
19731f2
to
5008f64
Compare
Includes AesGcm decryption implementation using Bcrypt library and reference test from the spec.