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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .