gardener-attic / component-spec

component descriptor specification and language bindings
2 stars 15 forks source link

configurable hash functions #76

Closed jschicktanz closed 2 years ago

jschicktanz commented 2 years ago

What this PR does / why we need it:

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

- pass in hash function in rsa.Sign() and rsa.Verify() calls instead of passing in 0. this will apply EMSA-PKCS1-v1_5 encoding (https://datatracker.ietf.org/doc/html/rfc3447#section-9.2) before signing the data, which is part of  standard RSASSA-PKCS1-v1_5 (https://datatracker.ietf.org/doc/html/rfc3447#section-8.2). (!) Attention: this change will break existing signatures.
gardener-robot commented 2 years ago

@enrico-kaack-comp You have pull request review open invite, please check