-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added file support to cli #79
base: main
Are you sure you want to change the base?
Conversation
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.
Nice - this makes sense. Added a few thoughts and I've moved the PR into draft until the decrypt side is also implemented.
I had some doubts regarding the decryption. |
And regarding the |
I have an idea regarding the decryption |
Ah gotcha I wasn't aware the brackets implied required vs. optional. FWIW - content is required if the flag is not provided so it's a bit more of a gray area. |
@vr-varad |
@dillonstreator Done. |
Any updates @dillonstreator |
Resolves #50
@dillonstreator
I tried to add the file support for encryption. I made the content optional and added a new option for file
so if user
encrypt -f /path/to/file
the content will be the content of the file or else it will be as the user provides it
Any feedback, suggestions or improvement
on confirmation will do for decryption