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 32c70c9 commit 4a885a1Copy full SHA for 4a885a1
lib/mcapi/crypto/jwe-crypto.js
@@ -122,6 +122,12 @@ function JweCrypto(config) {
122
let decryptionEncoding = JSON.parse(jweHeader).enc;
123
let gcmMode = true;
124
switch (decryptionEncoding) {
125
+ case "A128GCM":
126
+ decryptionEncoding = "AES-128-GCM";
127
+ break;
128
+ case "A192GCM":
129
+ decryptionEncoding = "AES-192-GCM";
130
131
case "A256GCM":
132
decryptionEncoding = "AES-256-GCM";
133
break;
0 commit comments