-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Fernet encryption/decryption operation #501
Conversation
[REVERRT] Add group and user in dockerfile to run container as unprivileged Fixes: gchq#499
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, some changes before merge @a3957273.
package.json
Outdated
@@ -96,6 +96,7 @@ | |||
"esmangle": "^1.0.1", | |||
"esprima": "^4.0.1", | |||
"exif-parser": "^0.1.12", | |||
"fernet": "^0.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to new release of fernet, 0.3.2
*/ | ||
run(input, args) { | ||
const [secretInput] = args; | ||
// const fernet = require("fernet"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove dead code.
Thanks so much for the contribution @kassi , apologies it took us so long to merge it in. :) |
@a3957273 it's never too late :-) Thanks for merging. |
This PR adds fernet encryption/decryption operation.
It uses fernet.js module to perform the actual de/encryption (MIT license).