Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ wget https://github.com/<username>.keys
$ ssh-keygen -e -f <username>.key -m PKCS8 > <username>.key.pkcs8
$ openssl rsautl -encrypt -pubin -inkey <username>.key.pkcs8 -in plain.txt -out encrypted.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment