Skip to content
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

[AndroidCrypto] Implement DSA import/export and signing/verification. #49153

Merged
merged 13 commits into from
Mar 6, 2021

Conversation

jkoritzinsky
Copy link
Member

This PR gets all of the DSA tests in System.Security.Cryptography.Algorithms.Tests passing.

@ghost
Copy link

ghost commented Mar 4, 2021

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks
See info in area-owners.md if you want to be subscribed.

Issue Details

This PR gets all of the DSA tests in System.Security.Cryptography.Algorithms.Tests passing.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Security, os-android

Milestone: -

@@ -137,7 +137,7 @@ public static void ImportRoundTrip(bool includePrivate)
[InlineData(true)]
public static void ExportAfterDispose(bool importKey)
{
DSA key = importKey ? DSAFactory.Create(DSATestData.GetDSA1024Params()) : DSAFactory.Create(512);
DSA key = importKey ? DSAFactory.Create(DSATestData.GetDSA1024Params()) : DSAFactory.Create(1024);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bumped this up to 1024 since using an auto-generated 1024-bit key should still validate the test and Android doesn't support keys smaller than 1024.

@jkoritzinsky
Copy link
Member Author

Any more feedback on this PR?

@ghost
Copy link

ghost commented Mar 5, 2021

Hello @jkoritzinsky!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@jkoritzinsky
Copy link
Member Author

jkoritzinsky commented Mar 6, 2021

cc: @dotnet/runtime-infrastructure for windows x86 dev-innerloop timeout. It looks like one of the steps in the installer build took 12 minutes. Maybe antivirus spent a lot of time examining the files?

@marek-safar marek-safar merged commit 17799a5 into dotnet:main Mar 6, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 5, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@jkoritzinsky jkoritzinsky deleted the android-dsa branch September 28, 2021 00:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants