nerdexam
CompTIA

LX0-104 · Question #238

Which of the following directories in a user's home contains configuration files and key rings for GPG?

The correct answer is C. ~/.gnupg/. The ~/.gnupg/ directory in a user's home directory is the default location where GPG (GNU Privacy Guard) stores all its configuration files and cryptographic key rings.

Security

Question

Which of the following directories in a user's home contains configuration files and key rings for GPG?

Options

  • A~/gpg.d/
  • B~/.gpg/
  • C~/.gnupg/
  • D~/gnupg/
  • E~/.gpg.d/

How the community answered

(57 responses)
  • A
    4% (2)
  • B
    9% (5)
  • C
    86% (49)
  • D
    2% (1)

Why each option

The `~/.gnupg/` directory in a user's home directory is the default location where GPG (GNU Privacy Guard) stores all its configuration files and cryptographic key rings.

A~/gpg.d/

`~/gpg.d/` is not the standard directory for GPG configuration and keyrings.

B~/.gpg/

`~/.gpg/` is not the standard directory for GPG configuration and keyrings.

C~/.gnupg/Correct

The `~/.gnupg/` directory (the leading dot indicates it's hidden) is the standard and default location for GPG to store its user-specific data, including public and private keyrings, trust information, and configuration settings.

D~/gnupg/

`~/gnupg/` is not hidden and therefore not the standard default location for GPG files, which are typically hidden.

E~/.gpg.d/

`~/.gpg.d/` is not the standard directory for GPG configuration and keyrings.

Concept tested: GnuPG (GPG) configuration directory

Source: https://www.gnupg.org/gph/en/manual/rname.html

Topics

#GPG#PGP#key management#dot files

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice