crypto/rsa: allow hash.Hash for PSS and MGF1 to be specified independently #46233
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I've checked #19974.
And, I am aware of comment #19974 (comment).
SignPSS/VerifyPSS have almost the same problem as that issue.
I wanted to call SignPSS using RSASSA-PSS with SHA-256 with MGF1SHA1 because server which is hosted by third party needs that, but I couldn't.
It seems good to simply add option
MGF1Hash
to PSSOptions. It is not invasing, and keep backwards compatibility.If there are no counter-proposals, I' ll create a patch.
The text was updated successfully, but these errors were encountered: