LX0-104 · Question #401
Which GPG command will publish a public key to a public key server?
The correct answer is C. gpg sendkeys UID. To make a public key widely accessible for secure communication, it can be uploaded to a public key server.
Question
Options
- Agpg exportkeys UID
- Bgpg publishkeys UID
- Cgpg sendkeys UID
- Dgpg pushkeys UID
How the community answered
(18 responses)- A6% (1)
- C89% (16)
- D6% (1)
Why each option
To make a public key widely accessible for secure communication, it can be uploaded to a public key server.
The gpg --export command is used to output a key to a file or standard output, not directly to a key server.
gpg publishkeys is not a standard GPG command for uploading keys to a server.
The gpg --send-keys UID command is used to upload a specific public key (identified by its User ID or key ID) from your local keyring to a configured public key server.
gpg pushkeys is not a standard GPG command for uploading keys to a server.
Concept tested: GPG public key server publishing
Source: https://www.gnupg.org/gph/en/manual/x138.html
Topics
Community Discussion
No community discussion yet for this question.