~nutznboltz-deactivatedaccount/ubuntu/precise/gnutls26/fix-lp926350

« back to all changes in this revision

Viewing changes to src/certtool.gaa

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
option (p, generate-privkey) { $privkey_op=1; $action=ACTION_GENERATE_PRIVKEY; } "Generate a private key."
29
29
 
30
 
option (q, generate-request) { $action=ACTION_GENERATE_REQUEST; } "Generate a PKCS #10 certificate request."
 
30
option (q, generate-request) { $privkey_op=1; $action=ACTION_GENERATE_REQUEST; } "Generate a PKCS #10 certificate request."
31
31
 
32
32
option (e, verify-chain) { $action=ACTION_VERIFY_CHAIN; } "Verify a PEM encoded certificate chain. The last certificate in the chain must be a self signed one."
33
33
 
39
39
#char *privkey;
40
40
option (load-privkey) STR "FILE" { $privkey = $1 } "Private key file to use."
41
41
 
 
42
#char *pubkey;
 
43
option (load-pubkey) STR "FILE" { $pubkey = $1 } "Public key file to use."
 
44
 
42
45
#char *request;
43
46
option (load-request) STR "FILE" { $request = $1 } "Certificate request file to use."
44
47
 
56
59
 
57
60
option (i, certificate-info) { $action = ACTION_CERT_INFO; } "Print information on a certificate."
58
61
 
 
62
option (certificate-pubkey) { $action = ACTION_CERT_PUBKEY; } "Print certificate public key."
 
63
 
59
64
option (pgp-certificate-info) { $action = ACTION_PGP_INFO; } "Print information on a OpenPGP certificate."
60
65
 
61
66
option (pgp-ring-info) { $action = ACTION_RING_INFO; } "Print information on a keyring structure."
79
84
 
80
85
option (pgp-key-info) { $privkey_op=1; $action = ACTION_PGP_PRIVKEY_INFO; } "Print information on a OpenPGP private key."
81
86
 
 
87
option (pubkey-info) { $action = ACTION_PUBKEY_INFO; } "Print information on a public key."
 
88
 
82
89
#int fix_key;
83
90
option (fix-key) { $privkey_op=1; $fix_key = 1; } "Regenerate the parameters in a private key."
84
91
 
112
119
#int bits;
113
120
option (bits) INT "BITS" { $bits = $1 } "specify the number of bits for key generation."
114
121
 
 
122
#char* sec_param;
 
123
option (sec-param) STR "PARAM" { $sec_param = $1 } "specify the security level [low|normal|high|ultra]."
 
124
 
115
125
#int quick_random;
116
126
option (disable-quick-random) { $quick_random = 0; } "Use /dev/random for key generationg, thus increasing the quality of randomness used."
117
127
 
127
137
#char *pkcs_cipher;
128
138
option (pkcs-cipher) STR "CIPHER" { $pkcs_cipher = $1 } "Cipher to use for pkcs operations (3des,3des-pkcs12,aes-128,aes-192,aes-256,rc2-40,arcfour)."
129
139
 
130
 
 
131
140
#int debug;
132
141
option (d, debug) INT "LEVEL" { $debug = $1 } "specify the debug level. Default is 1."
133
142
 
135
144
 
136
145
option (v, version) { certtool_version(); exit(0); } "shows the program's version"
137
146
 
138
 
init { $bits = 2048; $pkcs8 = 0; $privkey = NULL; $ca=NULL; $ca_privkey = NULL; 
 
147
init { $bits = 0; $pkcs8 = 0; $privkey = NULL; $ca=NULL; $ca_privkey = NULL;
139
148
        $debug=1; $request = NULL; $infile = NULL; $outfile = NULL; $cert = NULL; 
140
149
        $incert_format = 0; $outcert_format = 0; $action=-1; $pass = NULL; $v1_cert = 0;
141
150
        $export = 0; $template = NULL; $hash=NULL; $fix_key = 0; $quick_random=1;