Difference between revisions of "Gpg --import"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  [[gpg]] --import server.key
 
  [[gpg]] --import server.key
  gpg: directory '/root/.gnupg' created
+
  gpg: directory '[[/root/.gnupg]]' created
  gpg: keybox '/root/.gnupg/pubring.kbx' created
+
  gpg: keybox '[[/root/.gnupg/pubring.kbx]]' created
  gpg: /root/.gnupg/trustdb.gpg: trustdb created
+
  gpg: [[/root/.gnupg/trustdb.gpg]]: trustdb created
 
  gpg: key BAEDF81779917ABA: public key "Password Server for YOUR_COMPANY LLC <[email protected]>" imported
 
  gpg: key BAEDF81779917ABA: public key "Password Server for YOUR_COMPANY LLC <[email protected]>" imported
 
  gpg: Total number processed: 1
 
  gpg: Total number processed: 1

Revision as of 08:51, 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


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

See also

Advertising: