Skip to content

Commit

Permalink
bug in using JWE decrypt private key
Browse files Browse the repository at this point in the history
  • Loading branch information
mattebit committed Aug 30, 2023
1 parent 6090a55 commit bf2f4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/src/main/java/migt/DecodeOperation.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public DecodeOperation(JSONObject decode_op_json) throws ParsingException {
break;
case "jwe decrypt":
jwt.decrypt = true;
jwt.public_key_pem_enc = decode_op_json.getString("jwe decrypt");
jwt.private_key_pem_enc = decode_op_json.getString("jwe decrypt");
break;
case "jwe encrypt":
// if encrypt specified, also decrypt has to be specified
Expand Down

0 comments on commit bf2f4e7

Please sign in to comment.