File: affcrypto.1

package info (click to toggle)
afflib 3.7.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,584 kB
  • sloc: cpp: 20,911; ansic: 15,912; makefile: 520; sh: 436; python: 192
file content (136 lines) | stat: -rw-r--r-- 2,940 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
.TH affcrypto "1"  "Oct 2014" "AFFCRYPTO 3.7.4" "handle encryption issues"
.\"Text automatically generated by txt2man
.SH NAME
\fBaffcrypto \fP- handle encryption issues
.SH SYNOPSIS
.nf
.fam C
\fBaffcrypto\fP [\fIoptions\fP] filename.aff [filename2.aff \.\.\. ]
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
Command for dealing with encryption issues.
.PP
This file is part of the AFFLIBv3, that provides AFF.
.PP
AFF is an open and extensible file format to store disk images and associated
metadata. It is useful in several scenaries, as computer forensics
investigations.
.SH OPTIONS
General \fIoptions\fP:
.RS
.TP
.B
\fB-j\fP
Just print the number of encrypted segments.
.TP
.B
\fB-J\fP
Just print the number of unencrypted segments.
.TP
.B
\fB-x\fP
Output in XML.
.RE
.PP
Data conversion \fIoptions\fP:
.RS
.TP
.B
\fB-e\fP
Encrypt the unencrypted non-signature segments.
.TP
.B
\fB-d\fP
Decrypt the encrypted non-signature segments.
.TP
.B
\fB-r\fP
Change passphrase (take old and new from stdin).
.TP
.B
\fB-O\fP <old>
Specify an old passphrase.
.TP
.B
\fB-N\fP <new>
Specify new passphrase.
.TP
.B
\fB-K\fP <mykey.key>
Specifies a private keyfile for unsealing (may not be repeated).
.TP
.B
\fB-C\fP <mycert.crt>
Specifies a certificate file for sealing (may be repeated).
.TP
.B
\fB-S\fP
Add symmetric encryptiong (passphrase) to AFFILE encrypted with public key (requires a private key and a specified passphrase).
.TP
.B
\fB-A\fP
Add asymmetric encryption to a AFFILE encrypted with a passphrase (requires a certificate file spcified with the \fB-C\fP option).
.RE
.PP
Password Cracking Options:
.RS
.TP
.B
\fB-f\fP <file>
Crack passwords but read them from file.
.TP
.B
\fB-k\fP
Attempt to crack passwords by reading a list of passwords from ~/.affpassphrase.
.TP
.B
\fB-p\fP <passphrase>
Checks to see if passphrase is the passphrase of the file. Exit code is 0 if yes and \fB-1\fP if not.
.RE
.PP
Debugging:
.RS
.TP
.B
\fB-D\fP
debug; print out each key as it is tried.
.TP
.B
\fB-l\fP
List the installed hash and encryption algorithms.
.TP
.B
\fB-V\fP
Just print the version number and exit.
.SH NOTES
This program ignores these environment variables:
.RS
.IP \(bu 3
AFFLIB_PASSPHRASE
.IP \(bu 3
AFFLIB_PASSPHRASE_FILE
.IP \(bu 3
AFFLIB_PASSPHRASE_FD
.IP \(bu 3
AFFLIB_DECRYPTING_PRIVATE_KEYFILE
.SH EXAMPLE
Print if each file is encrypted or not:
.PP
.nf
.fam C
    $ affcrypto filename.aff filename2.aff
.fam T
.fi
.SH SEE ALSO
\fBaffcat\fP(1), \fBaffcompare\fP(1), \fBaffconvert\fP(1), \fBaffcopy\fP(1),
\fBaffdiskprint\fP(1), \fBaffinfo\fP(1), \fBaffix\fP(1), \fBaffrecover\fP(1), \fBaffsegment\fP(1),
\fBaffsign\fP(1), \fBaffstats\fP(1), \fBaffuse\fP(1), \fBaffverify\fP(1), \fBaffxml\fP(1)
.SH AUTHOR
The AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis
Technology, Inc.
.PP
This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org>
for the Debian project (but may be used by others).