LFCS · Question #401
Which GPG command will publish a public key to a public key server?
The correct answer is C. gpg sendkeys UID. The gpg sendkeys command is the correct utility for publishing a public key to a public key server, making it available for others to retrieve.
Question
Options
- Agpg exportkeys UID
- Bgpg publishkeys UID
- Cgpg sendkeys UID
- Dgpg pushkeys UID
How the community answered
(43 responses)- A2% (1)
- B5% (2)
- C93% (40)
Why each option
The `gpg sendkeys` command is the correct utility for publishing a public key to a public key server, making it available for others to retrieve.
`gpg exportkeys` is used to output a public key to a file or standard output for local distribution, not directly to a public server.
`gpg publishkeys` is not a standard GPG command for publishing keys to a server.
The `gpg --send-keys` command is specifically designed to transmit a public key from your local keyring to a configured public key server, allowing others to find and use it for encrypted communication or signature verification.
`gpg pushkeys` is not a standard GPG command for publishing keys to a server.
Concept tested: GPG public key publishing
Source: https://gnupg.org/documentation/manuals/gnupg/Send-Keys.html
Topics
Community Discussion
No community discussion yet for this question.