fiano icon indicating copy to clipboard operation
fiano copied to clipboard

NewSignatureData casts crypto.Signer to specific implementations.

Open werwurm opened this issue 1 year ago • 0 comments

NewSignatureData casts crypto.Signer interface unnecessarily into specific golang crypto implementations. This prevents the use of other implementations, e.g., for signing with an HSM backed key.

I propose this [1] change to allow for generic crypto.Signer use.

[1] https://github.com/linuxboot/fiano/pull/420

werwurm avatar Sep 06 '24 21:09 werwurm