Your organization distributes source archives internally. Compliance requires that the signature you publish for each archive be ASCII-armoredand detached so that it can be stored as a separate text file. Which single gpg command meets both requirements when signing the file app-2.3.1.tar.gz?
The --detach-sign (or -b) option tells GnuPG to create a signature in a separate file rather than embedding the signed data. Adding --armor (or -a) converts that signature to ASCII so it can be moved through text-only channels. Using both options together therefore produces an ASCII-armored detached signature. The other commands fail to satisfy one or both requirements: --detach-sign alone produces a binary .sig, --armor --sign embeds the data inside the signature instead of detaching it, and --clear-sign is intended for text files and will not work correctly with a binary tarball.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the `--detach-sign` option do in the `gpg` command?
Open an interactive chat with Bash
What does ASCII-armoring (`--armor`) do with GPG signatures?
Open an interactive chat with Bash
How is `--clear-sign` different from `--detach-sign` or `--armor`?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access