[b02d665] | 1 | .TH creddy 1 "July 2010" "ABAC 0.1.0" |
---|
| 2 | |
---|
| 3 | .SH NAME |
---|
| 4 | creddy \- 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 | |
---|
| 12 | creddy is an awesome and wonderful ABAC credential management tool. It |
---|
| 13 | creates, verifies, and otherwise frobnicates X.509 identity and |
---|
| 14 | attribute certificates. The output of the tool is suitable for use with |
---|
| 15 | ABAC. Additionally, the self-signed X.509 identity certs (with |
---|
| 16 | associated private keys) can be used with OpenSSL. |
---|
| 17 | |
---|
| 18 | .SH OPTIONS |
---|
| 19 | |
---|
| 20 | .SS --generate |
---|
| 21 | Generate 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 |
---|
| 23 | Note 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 |
---|
| 27 | common name used on certificate, provided as a convenience and ignored by ABAC |
---|
| 28 | |
---|
| 29 | .TP |
---|
| 30 | .B --validity |
---|
| 31 | optional certificate validity in days, default is 1080 |
---|
| 32 | |
---|
| 33 | .SS --verify |
---|
| 34 | verify the signature on a self-signed X.509 identity cert or an X.509 attribute cert |
---|
| 35 | |
---|
| 36 | .TP |
---|
| 37 | .B --cert |
---|
| 38 | self-signed X.509 identity cert |
---|
| 39 | |
---|
| 40 | .TP |
---|
| 41 | .B --attrcert |
---|
| 42 | optional X.509 attribute cert. If omitted the self-signature of the ID cert is checked |
---|
| 43 | |
---|
| 44 | .SS --keyid |
---|
| 45 | extract the subjectKeyIdentifier (SHA1 hash) from an X.509 identity cert |
---|
| 46 | |
---|
| 47 | .TP |
---|
| 48 | .B --cert |
---|
| 49 | X.509 identity cert |
---|
| 50 | |
---|
| 51 | .SS --attribute |
---|
| 52 | generate an X.509 attribute cert representing an ABAC credential |
---|
| 53 | |
---|
| 54 | .TP |
---|
| 55 | .B --issuer |
---|
| 56 | X.509 identity cert issuing the credential |
---|
| 57 | |
---|
| 58 | .TP |
---|
| 59 | .B --key |
---|
| 60 | private key associated with issuer cert |
---|
| 61 | |
---|
| 62 | .TP |
---|
| 63 | .B --role |
---|
| 64 | role in issuer's local attribute space |
---|
| 65 | |
---|
| 66 | .TP |
---|
| 67 | .B --subject-cert |
---|
| 68 | X.509 identity cert representing the principal to which the role is being issued. This is mutually exclusive to --subject-id. |
---|
| 69 | |
---|
| 70 | .TP |
---|
| 71 | .B --subject-id |
---|
| 72 | public key identifier (SHA1 hash) of the principal to which the role is being issued. This is mutually exclusive to --subject-cert. |
---|
| 73 | |
---|
| 74 | .TP |
---|
| 75 | .B --subject-role |
---|
[19be896] | 76 | optional 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. |
---|
[b02d665] | 77 | |
---|
| 78 | .TP |
---|
| 79 | .B --validity |
---|
| 80 | optional certificate validity in days, default is 365 |
---|
| 81 | |
---|
| 82 | .TP |
---|
| 83 | .B --out |
---|
| 84 | where to save DER-encoded attribute cert. In order to interoperate with the rest of ABAC, this name should end in _attr.der. |
---|
| 85 | |
---|
| 86 | .SS --roles |
---|
| 87 | Extract the roles from an X.509 attribute cert |
---|
| 88 | |
---|
| 89 | .TP |
---|
| 90 | .B --cert |
---|
| 91 | X.509 attribute cert containing ABAC roles |
---|
| 92 | |
---|
[19be896] | 93 | .SS --version |
---|
| 94 | display ABAC/creddy version |
---|
| 95 | |
---|
[b02d665] | 96 | .SH EXAMPLES |
---|
| 97 | |
---|
| 98 | .TP |
---|
| 99 | Generate ID cert and private key pairs: |
---|
| 100 | |
---|
| 101 | .B creddy --generate --cn Alice |
---|
| 102 | .br |
---|
| 103 | .B creddy --generate --cn Bob |
---|
| 104 | |
---|
| 105 | .TP |
---|
| 106 | Issue the credential Alice.friend <- Bob |
---|
| 107 | |
---|
| 108 | creddy --attribute \\ |
---|
| 109 | --issuer Alice_ID.pem --key Alice_private.pem \\ |
---|
| 110 | --role friend --subject-cert Bob_ID.pem \\ |
---|
| 111 | --out Alice_friend__Bob_attr.der |
---|
| 112 | |
---|
| 113 | .SH AUTHOR |
---|
| 114 | |
---|
| 115 | Written by Mike Ryan <mikeryan@ISI.EDU>. Like what you see? Buy me a beer! |
---|
| 116 | |
---|
| 117 | .SH BUGS |
---|
| 118 | |
---|
| 119 | None yet. Report to http://abac.deterlab.net/ |
---|
| 120 | |
---|
| 121 | .SH COPYRIGHT |
---|
| 122 | |
---|
| 123 | Copyright (c) 2010 USC/ISI. Released under MIT license. See COPYING included with source for details. |
---|