source: doc/creddy.1 @ 8231b92

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since 8231b92 was 7f30af7, checked in by Mike Ryan <mikeryan@…>, 14 years ago

update creddy manpage to reflect recent changes

  • Property mode set to 100644
File size: 3.4 KB
Line 
1.TH creddy 1 "September 2010" "ABAC 0.1.2"
2
3.SH NAME
4creddy \- ABAC X.509 identity and attribute certificate manager (for cool kids)
5
6.SH SYNOPSIS
7
8.B creddy [ --<mode> ] --help
9
10.SH DESCRIPTION
11
12creddy is an awesome and wonderful ABAC credential management tool. It
13creates, verifies, and otherwise frobnicates X.509 identity and
14attribute certificates. The output of the tool is suitable for use with
15ABAC. Additionally, the self-signed X.509 identity certs (with
16associated private keys) can be used with OpenSSL.
17
18.SH OPTIONS
19
20.SS --generate
21Generate an X.509 identity cert and private key pair. The certificate is saved in ${cn}_id.pem and the private key is saved in ${cn}_private.pem.
22.P
23Note that private key generation is slow and uses a lot of entropy. You can generate entropy by moving your mouse a lot or running large find commands on your local file systems.
24
25.TP
26.B --cn
27common name used on certificate, provided as a convenience and ignored by ABAC
28
29.TP
30.B --validity
31optional certificate validity in days, default is 1080
32
33.SS --verify
34verify the signature on a self-signed X.509 identity cert or an X.509 attribute cert
35
36.TP
37.B --cert
38self-signed X.509 identity cert
39
40.TP
41.B --attrcert
42optional X.509 attribute cert. If omitted the self-signature of the ID cert is checked
43
44.SS --keyid
45extract the subjectKeyIdentifier (SHA1 hash) from an X.509 identity cert
46
47.TP
48.B --cert
49X.509 identity cert
50
51.SS --attribute
52generate an X.509 attribute cert representing an ABAC credential
53
54An attribute cert has one or more subjects. A single subject may be defined without a role. Otherwise, subjects are defined by a pair of a --subject-{cert,id} and --subject-role. Providing multiple subjects creates an intersection certificate.
55
56.TP
57.B --issuer
58X.509 identity cert issuing the credential
59
60.TP
61.B --key
62private key associated with issuer cert
63
64.TP
65.B --role
66role in issuer's local attribute space
67
68.TP
69.B --subject-cert
70X.509 identity cert representing the principal to which the role is being issued. This fulfills the same purpose as --subject-id and should only be used once per subject.
71
72.TP
73.B --subject-id
74public key identifier (SHA1 hash) of the principal to which the role is being issued. This fulfills the same purpose as --subject-cert and should only be used once per subject.
75
76.TP
77.B --subject-role
78optional role in subject's local attribute space. If the issuer is A, role is r1, subject is B, and subject-role is r2, the attribute issued will be A.r1 <- B.r2.
79
80.TP
81.B --validity
82optional certificate validity in days, default is 365
83
84.TP
85.B --out
86where to save DER-encoded attribute cert. In order to interoperate with the rest of ABAC, this name should end in _attr.der.
87
88
89.SS --roles
90Extract the roles from an X.509 attribute cert
91
92.TP
93.B --cert
94X.509 attribute cert containing ABAC roles
95
96.SS --version
97display ABAC/creddy version
98
99.SH EXAMPLES
100
101.TP
102Generate ID cert and private key pairs:
103
104.B creddy --generate --cn Alice
105.br
106.B creddy --generate --cn Bob
107
108.TP
109Issue the credential Alice.friend <- Bob
110
111creddy --attribute \\
112       --issuer Alice_ID.pem --key Alice_private.pem \\
113       --role friend --subject-cert Bob_ID.pem \\
114       --out Alice_friend__Bob_attr.der
115
116.SH AUTHOR
117
118Written by Mike Ryan <mikeryan@ISI.EDU>. Like what you see? Buy me a beer!
119
120.SH BUGS
121
122None yet. Report to http://abac.deterlab.net/
123
124.SH COPYRIGHT
125
126Copyright (c) 2010 USC/ISI. Released under MIT license. See COPYING included with source for details.
Note: See TracBrowser for help on using the repository browser.