Created
January 26, 2013 02:58
-
-
Save bouzuya/4639812 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ echo hello,gpg > samle.txt | |
| $ cat sample.txt | |
| hello,gpg | |
| $ gpg --sign sample.txt | |
| gpg: no default secret key: secret key not available | |
| gpg: signing failed: secret key not available | |
| $ man gpg | |
| $ gpg --gen-key | |
| # NOTE: | |
| # RSA and RSA | |
| # 2048 bit | |
| # key does not expire at all | |
| # ... | |
| $ gpg --sign sample.txt | |
| $ ls sample.txt* | |
| sample.txt | |
| sample.txt.gpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment