We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a77555 commit 7e1d0a6Copy full SHA for 7e1d0a6
schemaregistry/rules/encryption/encrypt-executor.ts
@@ -682,7 +682,7 @@ export class KmsClientWrapper implements KmsClient {
682
}
683
684
685
- throw new RuleError('failed to encrypt key with all KMS keys')
+ throw new RuleError('no KEK found for encryption')
686
687
688
async decrypt(encryptedKey: Buffer): Promise<Buffer> {
@@ -696,7 +696,7 @@ export class KmsClientWrapper implements KmsClient {
696
697
698
699
- throw new RuleError('failed to decrypt key with all KMS keys')
+ throw new RuleError('no KEK found for decryption')
700
701
702
0 commit comments