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

Simplify GenerateKeyDSA #78

Merged
merged 3 commits into from
Dec 12, 2024
Merged

Simplify GenerateKeyDSA #78

merged 3 commits into from
Dec 12, 2024

Conversation

qmuntal
Copy link
Member

@qmuntal qmuntal commented Dec 10, 2024

There is no need for GenerateKeyDSA to return a PrivateKeyDSA object, as crypto/dsa is only interested in the x and y components.

While here, rename GenerateDSAParameters to GenerateParametersDSA.

gdams
gdams previously requested changes Dec 10, 2024
Copy link
Member

@gdams gdams left a comment

Choose a reason for hiding this comment

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

Tests failing

@qmuntal
Copy link
Member Author

qmuntal commented Dec 10, 2024

Tests failing

Wops, fixed.

@qmuntal qmuntal requested a review from gdams December 10, 2024 15:16
cng/dsa.go Show resolved Hide resolved
cng/dsa.go Outdated Show resolved Hide resolved
@qmuntal qmuntal requested a review from dagood December 11, 2024 12:54
@qmuntal qmuntal dismissed gdams’s stale review December 12, 2024 09:06

test are no longer failing

@qmuntal qmuntal merged commit 6d41904 into main Dec 12, 2024
17 checks passed
@qmuntal qmuntal deleted the dsa3 branch December 12, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants