Skip to content

feat: Add Signature::from_der()#842

Merged
sergerad merged 11 commits intonextfrom
sergerad-der-k256
Feb 24, 2026
Merged

feat: Add Signature::from_der()#842
sergerad merged 11 commits intonextfrom
sergerad-der-k256

Conversation

@sergerad
Copy link
Contributor

Adds Signature::from_der() to support decoding ASN.1 DER encoded ECDSA signatures.

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Thank you! Looks good. I added a couple of comments inline.

Also, should we add from_der() method to other signatures (e.g., EdDSA)? Probably not for this PR, but may be good to create an issue for this.

Copy link
Collaborator

@Al-Kindi-0 Al-Kindi-0 left a comment

Choose a reason for hiding this comment

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

Left a couple of non-blocking comments, otherwise looks good

@sergerad
Copy link
Contributor Author

Thank you! Looks good. I added a couple of comments inline.

Also, should we add from_der() method to other signatures (e.g., EdDSA)? Probably not for this PR, but may be good to create an issue for this.

#844

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you! I left just one comment inline.

@sergerad sergerad enabled auto-merge (squash) February 24, 2026 00:51
@sergerad sergerad merged commit 7d1cf03 into next Feb 24, 2026
27 checks passed
@sergerad sergerad deleted the sergerad-der-k256 branch February 24, 2026 00:57
sergerad added a commit that referenced this pull request Feb 24, 2026
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