Difference between revisions of "Gpg --import"
Jump to navigation
Jump to search
(Created page with " gpg --import server.key gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key BAE...") |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | [[gpg]] --import server.key | ||
+ | gpg: directory '[[/root/.gnupg]]' created | ||
+ | gpg: keybox '[[/root/.gnupg/pubring.kbx]]' created | ||
+ | gpg: [[/root/.gnupg/trustdb.gpg]]: trustdb created | ||
+ | gpg: key BAEDF81779917ABA: public key "Password Server for YOUR_COMPANY LLC <[email protected]>" imported | ||
+ | gpg: Total number processed: 1 | ||
+ | gpg: imported: 1 | ||
− | gpg --import | + | [[gpg]] --import your-key[[.asc]] |
− | + | gpg: key FF4E49FFFFFAAAA: public key "your name <your-name@your-domain.com>" imported | |
− | |||
− | |||
− | gpg: key | ||
gpg: Total number processed: 1 | gpg: Total number processed: 1 | ||
gpg: imported: 1 | gpg: imported: 1 | ||
+ | == Man == | ||
+ | https://www.gnupg.org/documentation/manpage.html | ||
+ | --import [ files ], --fast-import [ files ] | ||
+ | Import/merge keys. This adds the given keys to the keyring. The fast version does not build the trustdb; this can be done at any time with the command --update- trustdb. | ||
+ | |||
+ | There are a few other options which control how this command works. Most notable here is the --merge-only options which does not insert new keys but does only the | ||
+ | merging of new signatures, user-IDs and subkeys. | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[gpg --list-keys]]</code> | ||
+ | * <code>[[gpg --export]]</code> | ||
+ | * <code>[[gpg --encrypt]]</code> | ||
+ | * <code>[[gpg --batch --yes --encrypt --trust-model always]]</code> | ||
== See also == | == See also == | ||
* {{passbolt}} | * {{passbolt}} | ||
+ | * {{gpg}} | ||
+ | * {{GPG}} | ||
+ | |||
+ | [[Category:GPG]] |
Latest revision as of 08:52, 9 November 2022
gpg --import server.key gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key BAEDF81779917ABA: public key "Password Server for YOUR_COMPANY LLC <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1
gpg --import your-key.asc gpg: key FF4E49FFFFFAAAA: public key "your name <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1
Man[edit]
https://www.gnupg.org/documentation/manpage.html
--import [ files ], --fast-import [ files ] Import/merge keys. This adds the given keys to the keyring. The fast version does not build the trustdb; this can be done at any time with the command --update- trustdb. There are a few other options which control how this command works. Most notable here is the --merge-only options which does not insert new keys but does only the merging of new signatures, user-IDs and subkeys.
Related[edit]
See also[edit]
- Passbolt,
passbolt find
gpg, --batch | --generate-key | --full-generate-key | --recv-keys | --export | --encrypt | --import | --list-keys | --list-secret-key | --gen-key | --armor | --dearmor | --send-keys | --search-keys | --quick-set-expire | --keyserver | --delete-keys | --full-generate-key | --armor --export | gpg --help
- GNU Privacy Guard (GPG),
gpg, gpg-agent, gpg-suite
, GPGAuth,gpg --help
,~/.gnupg/
Advertising: