google / go-tpm

Apache License 2.0
562 stars 161 forks source link

Fix the mistake of signature algorithm number #349

Closed akakou closed 9 months ago

akakou commented 9 months ago

TPMUSignature.ECDAA() incorrectly checked whether the signature algorithm is RSASSA, so this commit fixes it.

Update: TPMAlgRSASSA => TPMAlgECDAA

akakou commented 9 months ago

@jkl73

Could you please merge this PR? I probably don't have permission to merge.

akakou commented 9 months ago

@josephlr

Thank you so much!

chrisfenner commented 9 months ago

Thank you for catching and fixing this, @akakou !