Skip to content

Commit

Permalink
attempting to fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
ozzi- committed Nov 19, 2020
1 parent c1e6153 commit 0a42664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/controllers/JWTInterceptTabController.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public byte[] getMessage() {
if ((recalculateSignature || randomKey || chooseSignature)) {
edited = true;
if (recalculateSignature) {
String cleanKey = jwtST.getKeyFieldValue().replaceAll("\\n", "").replace("-----BEGIN PRIVATE KEY-----", "").replace("-----END PRIVATE KEY-----", "");
String cleanKey = jwtST.getKeyFieldValue().replace("-----BEGIN PRIVATE KEY-----", "").replace("-----END PRIVATE KEY-----", "");
jwtIM.setJWTKey(cleanKey);
}
Algorithm algo;
Expand Down

0 comments on commit 0a42664

Please sign in to comment.