You've already forked aws-iam-anywhere-refresher
this is my quickfix branch and i will use to do my quickfixes
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user