Skip to content
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

proposed: library to encrypt information (keys/accounts) #2

Open
icasimpan opened this issue Mar 31, 2014 · 1 comment
Open

proposed: library to encrypt information (keys/accounts) #2

icasimpan opened this issue Mar 31, 2014 · 1 comment

Comments

@icasimpan
Copy link
Collaborator

Ideas is like this:

  • you have an ssh key but it won't be usable unless a password is given to decode it. Store it to temporary file accessible only to user
@icasimpan
Copy link
Collaborator Author

Use this as guide:

ENCODE: openssl enc -base64 -in clear_text.txt -out ENCODED.v2 -k passwordfile
DECODE: openssl enc -base64 -d -in ENCODED.v2 -out DECODED.now.v2 -k passwordfile

To check, md5 of clear_text.txt should be the same as DECODED.now.v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant