- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errDecryptionFailed (0.28 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 Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 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 Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 7.1K 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 Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 11.4K bytes - Viewed (0)