GnuPG: Difference between revisions

Jump to navigation Jump to search
393 bytes added ,  30 July 2019
→‎Key management: importing a private key
→‎Keyservers: add configuration
→‎Key management: importing a private key
Line 97: Line 97:
: update expiration time
: update expiration time


in order to import a private key on a different machine.
<source lang="console">
// export the key using an ASCII-armored format
$ gpg --export-secret-keys -a mhan@mhan.net > pkey.asc
// copy to a target machine, and then on the target machine
$ gpg --import pkey.asc
</source>
Note: if key already existed, you may need to delete 'em via '''--delete-keys''' or '''--delete-secret-keys'''


== Key distribution ==
== Key distribution ==

Navigation menu