4,461
edits
→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 == |