Difference between revisions of "Gpg"
From Bashlinux
(Redirected page to GnuPG) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | #REDIRECT [[GnuPG]] |
||
− | __NOTOC__ |
||
− | === How to create a GPG key === |
||
− | * Executhe the command |
||
− | # gpg --gen-key |
||
− | * Choose: |
||
− | ** 4096 |
||
− | ** No expiration date (0) |
||
− | ** No passphrase (Hit <ENTER>) |
||
− | |||
− | === How to commit a repository GPG signing key to a key server === |
||
− | # gpg --keyserver my.domain.com --send-keys ABCDE123 |
||
− | |||
− | === How to import a repository key from the key server (Ubuntu) === |
||
− | # gpg --keyserver keyserver.ubuntu.com --recv-key F0DAA5410C667A3E |
||
− | # gpg -a --export F0DAA5410C667A3E | apt-key add - |
||
− | # apt-get update |
||
− | |||
− | === How to import a repository ke from a file (CentOS) === |
||
− | # rpm --import my.domain.com |
Latest revision as of 00:05, 9 June 2015
Redirect to: