Skip to content

Commit

Permalink
update jwt and use 2048 RSA
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Dec 22, 2022
1 parent b8abe99 commit 341ad9c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 122 deletions.
32 changes: 25 additions & 7 deletions keys/private.pem.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIBOgIBAAJBAJ6P+APtBxacEuI6n3PbdIDsLR2/uj/FVincMBYKBtpc3jBL/JNp
qX10mmdkOpOv6Jh0vE314q9Zg88jSNjus9kCAwEAAQJAZ3W09IrSVzRbNfXeWPBW
olB4V7LkSfvu7r1XOuor8ooi7cHyHAmaYu7LmcG41wE37BKkUG5+PTW3Q6qyIOqq
IQIhANERd9yfuV57Tvv4eNHeIBPzpa2PUYCkOqYng9cfPR4dAiEAwigUJYUCeY6i
SwlLcV+eFdGDd9n10iy3v9hXmyGUr+0CIDO8mObV9+9zoFYmZO+6gkGtt8A9iTPG
cGURvkSMDHnZAiBy65QZLSRs3M8VCPhdr9H7ahqd6yYEdDGC3UPlb7f5dQIhAM6Q
HzyFgXw46pPHHfiTH5bNt6Ms97plq1waZcwMtwfT
MIIEowIBAAKCAQB1xgSBjkH149qryURuOy/FLyxoeiRcI1EXZXcCOYt6qUHSh49m
DpqR1bBO2Hfb8h2CE+xrMuffToI+kt6fbnH17Wyj0fii13RyMhdIT+exD2mwrzUJ
Nfhjinwc/KXBHKcsVhsDo6ANaybfJ4WteZ+EXbolZGlGiSqGqgReY1PlHpZZ1K+l
F7SV2rlkzi3Mzm2a1h5SA4jw1kfD8p2C/0+f6zugvYo8H0jVrQOpuXAH2NN0y4gG
HgCdEb0MaY8Eu21Fym7fHETrLb9wg26RNOQ+5CJlyCqAduZLrP7m535lqXrzOPiB
lrqg+Y7GYCuv2JAta3muiS8IC8T5nGLjrbo3AgMBAAECggEAOJV1zsUJXdkmU4i0
jv1yuxsqC9w7IeV57XK7Vd9N6xXs4Phu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ydCOiKgjTN/+i7PioKGgbWmz1K6bVdR2/+LnSYaPBeU5ElbxzMWu
ylO5vAIA4JNBaKuegDfj2cCMQPohbavHG6WFlpwUT2CYsIPmN0aq
-----END RSA PRIVATE KEY-----
13 changes: 9 additions & 4 deletions keys/public.pem.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
-----BEGIN RSA PUBLIC KEY-----
MEgCQQCej/gD7QcWnBLiOp9z23SA7C0dv7o/xVYp3DAWCgbaXN4wS/yTaal9dJpn
ZDqTr+iYdLxN9eKvWYPPI0jY7rPZAgMBAAE=
-----END RSA PUBLIC KEY-----
-----BEGIN PUBLIC KEY-----
MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQB1xgSBjkH149qryURuOy/F
LyxoeiRcI1EXZXcCOYt6qUHSh49mDpqR1bBO2Hfb8h2CE+xrMuffToI+kt6fbnH1
7Wyj0fii13RyMhdIT+exD2mwrzUJNfhjinwc/KXBHKcsVhsDo6ANaybfJ4WteZ+E
XbolZGlGiSqGqgReY1PlHpZZ1K+lF7SV2rlkzi3Mzm2a1h5SA4jw1kfD8p2C/0+f
6zugvYo8H0jVrQOpuXAH2NN0y4gGHgCdEb0MaY8Eu21Fym7fHETrLb9wg26RNOQ+
5CJlyCqAduZLrP7m535lqXrzOPiBlrqg+Y7GYCuv2JAta3muiS8IC8T5nGLjrbo3
AgMBAAE=
-----END PUBLIC KEY-----
125 changes: 15 additions & 110 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cors": "^2.8.5",
"express": "^4.18.2",
"joi": "^17.7.0",
"jsonwebtoken": "^8.5.1",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"mongoose": "^6.8.0",
Expand Down

0 comments on commit 341ad9c

Please sign in to comment.