Skip to content

nss, openssl: encode ECDSA signature value according to RFC 3279, 2.2.3#90

Closed
vmiklos wants to merge 1 commit intolsh123:masterfrom
vmiklos:nss-openssl-ecdsa-encoding-fix
Closed

nss, openssl: encode ECDSA signature value according to RFC 3279, 2.2.3#90
vmiklos wants to merge 1 commit intolsh123:masterfrom
vmiklos:nss-openssl-ecdsa-encoding-fix

Conversation

@vmiklos
Copy link
Copy Markdown
Contributor

@vmiklos vmiklos commented Mar 4, 2017

I'm new to the openssl part, but this post explains exactly this part of the openssl API in detail:

http://davidederosa.com/basic-blockchain-programming/elliptic-curve-digital-signatures/

It seems actually getting the correct encoded signature is much easier than the raw 2 numbers. :-)

@lsh123
Copy link
Copy Markdown
Owner

lsh123 commented Mar 4, 2017

I believe the current code is correct: https://tools.ietf.org/html/rfc4050#section-3.3

@lsh123 lsh123 closed this Mar 4, 2017
@vmiklos
Copy link
Copy Markdown
Contributor Author

vmiklos commented Mar 4, 2017

Right, sorry for the confusion, I wasn't aware there is a newer RFC discussing the topic.

@vmiklos vmiklos deleted the nss-openssl-ecdsa-encoding-fix branch March 4, 2017 19:20
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.

2 participants