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

@@ -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")