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

Use sha256 instead of sha512 #38

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Use sha256 instead of sha512 #38

merged 2 commits into from
Dec 18, 2024

Conversation

stevenvegt
Copy link
Member

@stevenvegt stevenvegt commented Dec 13, 2024

Fix #26

  • Move the Hash function to the did_x509package where it's used.
  • Make hash alg a constant
  • Use PS256 instead of PS512 for signing
  • use did.DID type for the subject instead of a string

@stevenvegt stevenvegt requested a review from reinkrul December 13, 2024 10:32
did_x509/did_x509.go Outdated Show resolved Hide resolved
did_x509/did_x509.go Outdated Show resolved Hide resolved
Copy link
Member

@reinkrul reinkrul left a comment

Choose a reason for hiding this comment

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

see comments

@stevenvegt stevenvegt requested a review from reinkrul December 13, 2024 16:21
Move Hash function to package where it's used.
Make hash alg a constant
Use PS256 instead of PS512 for signing
Removed Hash function with other options
@gerardsn gerardsn merged commit 637ccd7 into main Dec 18, 2024
3 checks passed
@reinkrul reinkrul deleted the change-hashalg branch December 18, 2024 09:28
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.

Use PS256 signing alg instead of PS512
3 participants