this is my quickfix branch and i will use to do my quickfixes

This commit is contained in:
2025-05-14 15:00:45 -04:00
parent bcd0c19ead
commit 0ff36d6890
7 changed files with 98 additions and 255 deletions

View File

@@ -423,9 +423,9 @@ func GetTPMv2Signer(opts GetTPMv2SignerOpts) (signer Signer, signingAlgorithm st
switch public.Type {
case tpm2.AlgRSA:
signingAlgorithm = aws4_x509_rsa_sha256
signingAlgorithm = aws4X509RsaSha256
case tpm2.AlgECC:
signingAlgorithm = aws4_x509_ecdsa_sha256
signingAlgorithm = aws4X509EcdsaSha256
default:
return nil, "", errors.New("unsupported TPMv2 key type")
}