1affcrypto(1) handle encryption issues affcrypto(1)
2
3
4
6 affcrypto - handle encryption issues
7
9 affcrypto [options] filename.aff [filename2.aff ... ]
10
12 Command for dealing with encryption issues.
13
14 This file is part of the AFFLIBv3, that provides AFF.
15
16 AFF is an open and extensible file format to store disk images and
17 associated metadata. It is useful in several scenaries, as computer
18 forensics investigations.
19
21 General options:
22
23 -j Just print the number of encrypted segments.
24
25 -J Just print the number of unencrypted segments.
26
27 -x Output in XML.
28
29 Data conversion options:
30
31 -e Encrypt the unencrypted non-signature segments.
32
33 -d Decrypt the encrypted non-signature segments.
34
35 -r Change passphrase (take old and new from stdin).
36
37 -O <old>
38 Specify an old passphrase.
39
40 -N <new>
41 Specify new passphrase.
42
43 -K <mykey.key>
44 Specifies a private keyfile for unsealing (may not be
45 repeated).
46
47 -C <mycert.crt>
48 Specifies a certificate file for sealing (may be
49 repeated).
50
51 -S Add symmetric encryptiong (passphrase) to AFFILE
52 encrypted with public key (requires a private key and a
53 specified passphrase).
54
55 -A Add asymmetric encryption to a AFFILE encrypted with a
56 passphrase (requires a certificate file spcified with the
57 -C option).
58
59 Password Cracking Options:
60
61 -f <file>
62 Crack passwords but read them from file.
63
64 -k Attempt to crack passwords by reading a list of passwords
65 from ~/.affpassphrase.
66
67 -p <passphrase>
68 Checks to see if passphrase is the passphrase of the
69 file. Exit code is 0 if yes and -1 if not.
70
71 Debugging:
72
73 -D debug; print out each key as it is tried.
74
75 -l List the installed hash and encryption algorithms.
76
77 -V Just print the version number and exit.
78
80 This program ignores these environment variables:
81
82 · AFFLIB_PASSPHRASE
83
84 · AFFLIB_PASSPHRASE_FILE
85
86 · AFFLIB_PASSPHRASE_FD
87
88 · AFFLIB_DECRYPTING_PRIVATE_KEYFILE
89
91 Print if each file is encrypted or not:
92
93 $ affcrypto filename.aff filename2.aff
94
96 affcat(1), affcompare(1), affconvert(1), affcopy(1), affdiskprint(1),
97 affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affs‐
98 tats(1), affuse(1), affverify(1), affxml(1)
99
101 The AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and
102 Basis Technology, Inc.
103
104 This manual page was written by Joao Eriberto Mota Filho <erib‐
105 erto@debian.org> for the Debian project (but may be used by others).
106
107
108
109AFFCRYPTO 3.7.4 Oct 2014 affcrypto(1)