AMCRYPT(8)

πŸŽ€ AMCRYPT πŸ’…

okay bestie, so this is amcrypt(8) β€” a System Administration Command, no big deal, just the reference crypt program for Amanda symmetric data encryption. she's iconic, she's the blueprint, let's get into it ✨


🌸 NAME 🌸

amcrypt β€” the reference crypt program for Amanda symmetric data encryption. that's literally her whole job and she ate πŸ’–

✨ SYNOPSIS ✨

amcrypt

that's it. that's the whole synopsis. no flags, no arguments, she just goes πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

so amcrypt requires aespipe, uuencode and gpg to work β€” like, she literally cannot function without all three, they're her ride-or-dies. and aespipe? you can grab that from: http://loop-aes.sourceforge.net (yes the link is in the original, i'm just the messenger 🫢)

when amcrypt goes looking for the aespipe program, she checks these directories, in this order, no cap:

/usr/bin:/usr/local/bin:/sbin:/usr/sbin

then amcrypt calls amaespipe and passes the passphrase through file descriptor 3 (iykyk πŸ‘€). and where does that passphrase live? it should be stored in ~amanda/.am_passphrase. protect it like you'd protect your stan account password, fr fr πŸ”₯

πŸ”‘ HOW TO CREATE ENCRYPTION KEYS FOR AMCRYPT πŸ”‘

bestie this part is the main character energy of the whole page, so pay attention 🌈

  1. Create 65 random encryption keys and encrypt those keys using gpg. heads up though β€” reading from /dev/random may take indefinitely long if the kernel's random entropy pool is empty 😭 if that happens, do some other work on some other console (use keyboard, mouse and disks) β€” literally just wiggle stuff around and let the entropy build, you got this πŸ’€
head -c 2925 /dev/random | uuencode -m - | head -n 66 | tail -n 65 \ |
gpg --symmetric -a > ~amanda/.gnupg/am_key.gpg

this will ask for a passphrase. remember this passphrase because you will need it in the next step. write it down, put it in your notes app, tattoo it on your arm, idk, just don't lose it πŸ™ˆ

  1. Store the passphrase inside the home-directory of the AMANDA-user and protect it with proper permissions:
echo my_secret_passphrase > ~amanda/.am_passphrase
chown amanda:disk ~amanda/.am_passphrase
chmod 700 ~amanda/.am_passphrase

look at those permissions. 700. she's locked down. slay πŸ‘‘

πŸ‘‘ KEY AND PASSPHRASE πŸ‘‘

amcrypt uses the same key to encrypt and decrypt data. one key, doing both jobs, versatile queen πŸ’…

it is very important to store and protect the key and the passphrase properly. encrypted backup data can only be recovered with the correct key and passphrase. lose them and it's gone-gone, no cap, no undo button 😭

πŸ¦‹ SEE ALSO πŸ¦‹

and the Amanda Wiki, right here: http://wiki.zmanda.com/ β€” go be nosy, it's fine πŸ’–

🌟 AUTHOR 🌟

Kevin Till <kevin.till@zmanda.com> Zmanda, Inc. (http://www.zmanda.com)


okay that's the whole page, you're officially educated ✨ this was Amanda 3.5.4, dated 07/23/2025, and it's AMCRYPT(8) β€” go forth and encrypt responsibly, bestie πŸ’œπŸŽ€

πŸ“¦ where this page comes from
  • fedora 43: amanda 3.5.4-17.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms