affcrypto(1)
π¦ affcrypto(1), handle encryption issues π¦
β¨ NAME β¨
okay so the NAME is literally just affcrypto - handle encryption issues π
β¨ SYNOPSIS β¨
affcrypto [options] filename.aff [filename2.aff ... ]
bestie, you toss in whatever options you want, then one or more .aff files π§
β¨ DESCRIPTION β¨
affcrypto is a command for dealing with encryption issues. It's giving problem-solver energy π₯
This file is part of the AFFLIBv3 library, which provides AFF. πΈ
AFF is an open and extensible file format for storing disk images and their associated metadata. It's super useful in lots of scenarios, like computer forensics investigations π΅οΈ
β¨ OPTIONS β¨
π General options
-jβ just prints the number of encrypted segments π«Ά-Jβ just prints the number of unencrypted segments π«Ά-xβ outputs in XML π
π Data conversion options
-eβ encrypts the unencrypted non-signature segments π-dβ decrypts the encrypted non-signature segments π-rβ changes the passphrase, taking the old and new ones from stdin π-O <old>β specifies an old passphrase ποΈ-N <new>β specifies a new passphrase π-K <mykey.key>β specifies a private keyfile for unsealing. This one can't be repeated, so one and done π«-C <mycert.crt>β specifies a certificate file for sealing. This one can be repeated, so go wild π¦-Sβ adds symmetric encryption (a passphrase) to an AFFILE that's already encrypted with a public key. You need a private key and a specified passphrase for this one π-Aβ adds asymmetric encryption to an AFFILE that's already encrypted with a passphrase. You need a certificate file specified with the-Coption for this one π§
π Password Cracking Options
-f <file>β tries to crack passwords, but reads them from the file you give it π-kβ tries to crack passwords by reading a list of passwords from~/.affpassphraseπ-p <passphrase>β checks whether the passphrase is the file's passphrase. Exit code is0if yes and-1if not π
π Debugging
-Dβ debug mode! It prints out each key as it's tried π-lβ lists the installed hash and encryption algorithms β¨-Vβ just prints the version number and exits π
β¨ NOTES β¨
π heads up: this program straight up ignores these environment variables, so don't count on them:
AFFLIB_PASSPHRASEAFFLIB_PASSPHRASE_FILEAFFLIB_PASSPHRASE_FDAFFLIB_DECRYPTING_PRIVATE_KEYFILE
β¨ EXAMPLE β¨
wanna see if each file is encrypted or not? Just run:
$ affcrypto filename.aff filename2.aff
β¨ SEE ALSO β¨
the whole squad πΈ affcat(1), affcompare(1), affconvert(1), affcopy(1), affdiskprint(1), affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affstats(1), affuse(1), affverify(1), affxml(1)
β¨ AUTHOR β¨
the AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis Technology, Inc. π
this manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but it may be used by others) π«Ά
Till next time, bestie π this was AFFCRYPTO 3.7.4 from Oct 2014, straight from the affcrypto(1) vault. Vintage and iconic π§β¨
π¦ where this page comes from
- debian bookworm: afflib-tools 3.7.20-1 Β· LicenseRef-public-domain
- debian trixie: afflib-tools 3.7.21-1 Β· LicenseRef-public-domain
- epel 10: afftools 3.7.20-12.el10_0 Β· LicenseRef-Callaway-BSD-with-advertising
- epel 9: afftools 3.7.20-1.el9 Β· BSD with advertising
- fedora 43: afftools 3.7.20-15.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: afftools 3.7.22-4.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- nixos 26.05: afflib 3.7.22
- nixpkgs unstable: afflib 3.7.22
- ubuntu jammy: afflib-tools 3.7.19-2build1 Β· LicenseRef-public-domain
- ubuntu noble: afflib-tools 3.7.20-1.1ubuntu5 Β· LicenseRef-public-domain
- ubuntu questing: afflib-tools 3.7.22-1
- ubuntu resolute: afflib-tools 3.7.22-1build1 Β· LicenseRef-public-domain
- ubuntu stonking: afflib-tools 3.7.22-3 Β· LicenseRef-public-domain
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms