Jump to content

GnuPG:Export dan Import Key: Difference between revisions

From Wiki
Created page with "Export public key gpg --export -a john > public.key Export secret key gpg --export-secret-key -a john > private key ==Source== *[https://linuxhint.com/export-import-keys-with-gpg/ linuxhint.com]"
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Export public key
Export public key<syntaxhighlight lang="shell">
gpg --export -a john > public.key
gpg --export -a john > public.key
 
</syntaxhighlight>Export secret key<syntaxhighlight lang="shell">
Export secret key
gpg --export-secret-key -a john > private key
gpg --export-secret-key -a john > private key
</syntaxhighlight>


==Source==
==Source==
*[https://linuxhint.com/export-import-keys-with-gpg/ linuxhint.com]
*[https://linuxhint.com/export-import-keys-with-gpg/ linuxhint.com]
[[Category:Security]]
[[Category:Privasi]]
[[Category:GnuPG]]

Latest revision as of 22:12, 19 November 2022

Export public key

gpg --export -a john > public.key

Export secret key

gpg --export-secret-key -a john > private key

Source