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.
Question
Options
- A~/gpg.d/
- B~/.gpg/
- C~/.gnupg/
- D~/gnupg/
- E~/.gpg.d/
How the community answered
(57 responses)- A4% (2)
- B9% (5)
- C86% (49)
- D2% (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.
`~/gpg.d/` is not the standard directory for GPG configuration and keyrings.
`~/.gpg/` is not the standard directory for GPG configuration and keyrings.
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.
`~/gnupg/` is not hidden and therefore not the standard default location for GPG files, which are typically hidden.
`~/.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
Community Discussion
No community discussion yet for this question.