- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errDecryptionFailed (0.17 sec)
-
internal/kms/errors.go
return Error{ Code: http.StatusInternalServerError, APICode: "kms:KeyGenerationFailed", Err: "failed to generate data key with KMS key", Cause: err, } } func errDecryptionFailed(err error) Error { return Error{ Code: http.StatusInternalServerError, APICode: "kms:DecryptionFailed", Err: "failed to decrypt ciphertext with KMS key", Cause: err, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 16 14:03:03 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/kms/kes.go
return nil, ErrKeyNotFound } if errors.Is(err, kes.ErrDecrypt) { return nil, ErrDecrypt } if errors.Is(err, kes.ErrNotAllowed) { return nil, ErrPermission } return nil, errDecryptionFailed(err) } return plaintext, nil } // MAC generates the checksum of the given req.Message using the key // with the req.Name at the KMS.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/kms/kms.go
}) if err != nil { if errors.Is(err, kms.ErrKeyNotFound) { return nil, ErrKeyNotFound } if errors.Is(err, kms.ErrPermission) { return nil, ErrPermission } return nil, errDecryptionFailed(err) } return resp.Plaintext, nil } // MAC generates the checksum of the given req.Message using the key // with the req.Name at the KMS.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0)