Skip to content

Only canonize ECDSA signatures in MSP:IsWellFormed#1498

Merged
C0rWin merged 1 commit into
hyperledger:release-2.2from
yacovm:IsWellFormedOnlyCanonizeECDSA-master
Jun 30, 2020
Merged

Only canonize ECDSA signatures in MSP:IsWellFormed#1498
C0rWin merged 1 commit into
hyperledger:release-2.2from
yacovm:IsWellFormedOnlyCanonizeECDSA-master

Conversation

@yacovm

@yacovm yacovm commented Jun 30, 2020

Copy link
Copy Markdown
Contributor

Currently, the MSP IsWellFormed function expects any signature to be
a valid ECDSA signature, however the certificate can be signed by
a non-ECDSA algorithm which will then yield a false negative.

This change set ensures the check only applies if the signature is ECDSA.

Change-Id: I0b14e3e9b87e860a3ca29cc233dc4810de1768ab
Signed-off-by: yacovm yacovm@il.ibm.com

Currently, the MSP IsWellFormed function expects any signature to be
a valid ECDSA signature, however the certificate can be signed by
a non-ECDSA algorithm which will then yield a false negative.

This change set ensures the check only applies if the signature is ECDSA.

Change-Id: I0b14e3e9b87e860a3ca29cc233dc4810de1768ab
Signed-off-by: yacovm <yacovm@il.ibm.com>
@yacovm yacovm requested a review from a team as a code owner June 30, 2020 09:43
@C0rWin C0rWin merged commit 529a931 into hyperledger:release-2.2 Jun 30, 2020
@yacovm yacovm deleted the IsWellFormedOnlyCanonizeECDSA-master branch February 9, 2021 10:38
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