nerdexam
CompTIA

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.

Security

Question

Which GPG command will publish a public key to a public key server?

Options

  • Agpg exportkeys UID
  • Bgpg publishkeys UID
  • Cgpg sendkeys UID
  • Dgpg pushkeys UID

How the community answered

(18 responses)
  • A
    6% (1)
  • C
    89% (16)
  • D
    6% (1)

Why each option

To make a public key widely accessible for secure communication, it can be uploaded to a public key server.

Agpg exportkeys UID

The gpg --export command is used to output a key to a file or standard output, not directly to a key server.

Bgpg publishkeys UID

gpg publishkeys is not a standard GPG command for uploading keys to a server.

Cgpg sendkeys UIDCorrect

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.

Dgpg pushkeys UID

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

#GPG#public key server#key management

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice