crypto/rsa: RSA-PSS PKCS1v15 should support SHA3 hashes (and others) #43923
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Does this issue reproduce with the latest release?
Yes
What did you do?
What did you expect to see?
A properly verified hash.
pkcs1v15HashInfo()
needs to calculate the ASN1 DER prefix for algorithms that aren't in the lookup table.What did you see instead?
crypto/rsa: unsupported hash function
Additional notes
The current code has a table of precomputed ASN1 DER prefixes for 8 algorithms. All other algorithms get
crypto/rsa: unsupported hash function
, even though they are valid.The text was updated successfully, but these errors were encountered: