From ddc0302298aefab0860b49210ce73abd4d121fb9 Mon Sep 17 00:00:00 2001 From: Sampras Lopes Date: Mon, 7 Aug 2023 14:30:18 +0530 Subject: [PATCH] fix(kms): fix kms decryption for jwe keys (#1872) --- crates/router/src/configs/kms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/configs/kms.rs b/crates/router/src/configs/kms.rs index 668cf15b4d..17ff6069d4 100644 --- a/crates/router/src/configs/kms.rs +++ b/crates/router/src/configs/kms.rs @@ -13,9 +13,9 @@ impl KmsDecrypt for settings::Jwekey { kms_client: &KmsClient, ) -> CustomResult { ( + self.locker_encryption_key1, self.locker_encryption_key2, self.locker_decryption_key1, - self.locker_encryption_key1, self.locker_decryption_key2, self.vault_encryption_key, self.vault_private_key,