-
Notifications
You must be signed in to change notification settings - Fork 35
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
Refactor project. New tests. Add key import/removal and raw functions. #15
Conversation
@drudge Hope you have a chance to merge this. |
@freewil any thoughts on this? |
sorry I haven't had time to review this, will do so this weekend |
buffersLength += buf.length; | ||
fs.readFile(fileName, function(readErr, str) { | ||
if (readErr) return fn(readErr); | ||
GPG.importKey(str, args, fn); |
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.
I think for consistency with the rest of the file this should be self.importKey
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.
I'll fix this, thanks!
This looks great, just fix that one little issue and I'll merge it! 🎉 |
Refactor project. New tests. Add key import/removal and raw functions.
This is more or less a rework of the project structure to streamline it and easily allow for the addition of new functions.
New functions added:
Also added generic functions
call()
andcallStreaming()
so users can easily call gpg with any params they wish.