Difference between revisions of "GnuPG: Catatan Singkat"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Generate Key gpg --full-generate-key gpg --gen-key Export Public Key gpg --output public.pgp --armor --export username@email Export Secret Key gpg --output private.pg...") |
Onnowpurbo (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Generate Key | + | Generate Key & List Key |
gpg --full-generate-key | gpg --full-generate-key | ||
gpg --gen-key | gpg --gen-key | ||
| + | gpg --list-keys | ||
| − | Export Public Key | + | Export Import Public Key & Secret Key |
gpg --output public.pgp --armor --export username@email | gpg --output public.pgp --armor --export username@email | ||
| + | gpg --output private.pgp --armor --export-secret-key username@email | ||
| + | gpg --import public.gpg | ||
| + | pgp --import private.gpg | ||
| + | |||
| + | Encrypt & Decrypt | ||
| + | |||
| + | gpg -e -a -r <description> file | ||
| + | gpg -d -o newdecryptedfile file.asc | ||
| + | gpg -d -o newdecryptedfile file.gpg | ||
| + | |||
| + | Tanda tangan digital | ||
| − | + | gpg --output doc.sig --sign doc | |
| + | gpg --output doc --decrypt doc.sig | ||
| − | gpg --output | + | |
| + | gpg --output doc.sig --detach-sig doc | ||
| + | gpg --verify doc.sig doc | ||
Latest revision as of 14:35, 31 January 2023
Generate Key & List Key
gpg --full-generate-key gpg --gen-key gpg --list-keys
Export Import Public Key & Secret Key
gpg --output public.pgp --armor --export username@email gpg --output private.pgp --armor --export-secret-key username@email gpg --import public.gpg pgp --import private.gpg
Encrypt & Decrypt
gpg -e -a -r <description> file gpg -d -o newdecryptedfile file.asc gpg -d -o newdecryptedfile file.gpg
Tanda tangan digital
gpg --output doc.sig --sign doc gpg --output doc --decrypt doc.sig
gpg --output doc.sig --detach-sig doc gpg --verify doc.sig doc