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:
@@ -94,11 +94,11 @@ func GetFileSystemSigner(privateKeyPath string, certPath string, bundlePath stri
|
||||
// Find the signing algorithm
|
||||
_, isRsaKey := privateKey.(*rsa.PrivateKey)
|
||||
if isRsaKey {
|
||||
signingAlgorithm = aws4_x509_rsa_sha256
|
||||
signingAlgorithm = aws4X509RsaSha256
|
||||
}
|
||||
_, isEcKey := privateKey.(*ecdsa.PrivateKey)
|
||||
if isEcKey {
|
||||
signingAlgorithm = aws4_x509_ecdsa_sha256
|
||||
signingAlgorithm = aws4X509EcdsaSha256
|
||||
}
|
||||
if signingAlgorithm == "" {
|
||||
log.Println("unsupported algorithm")
|
||||
|
||||
Reference in New Issue
Block a user