Love Hörnquist Åstrand
|
98c0634251
|
Set num of bits before we generate the key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19938 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-16 22:11:12 +00:00 |
|
Love Hörnquist Åstrand
|
e660fb69bd
|
Add certificate template processing, fix hx509_err usage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19896 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-14 18:16:38 +00:00 |
|
Love Hörnquist Åstrand
|
ecd3180240
|
Add type email and add email eku when using option --email.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19888 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-13 12:30:13 +00:00 |
|
Love Hörnquist Åstrand
|
e59e71f307
|
Allow setting parameters to private key generation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19871 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-12 22:01:58 +00:00 |
|
Love Hörnquist Åstrand
|
dfc6e11891
|
(eval_types): add jid if user gave one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19863 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-12 08:53:25 +00:00 |
|
Love Hörnquist Åstrand
|
45e6b61402
|
(info): print status of random generator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19857 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-11 20:39:26 +00:00 |
|
Love Hörnquist Åstrand
|
6b967f571f
|
copy out the key with the self signed CA cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19786 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-09 11:45:54 +00:00 |
|
Love Hörnquist Åstrand
|
80977a02f6
|
Factor out private key operation out of the signing, operations, support import, export, and generation of private keys. Add support for writing PEM and PKCS12 files with private keys in them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19778 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-09 10:52:13 +00:00 |
|
Love Hörnquist Åstrand
|
8c9a5ca83a
|
Allow setting serialNumber (needed for reissuing certificates)
Change --key argument to --out-key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19726 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-05 18:36:08 +00:00 |
|
Love Hörnquist Åstrand
|
fffd555b71
|
handle other keys the pkcs10 requested keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19705 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-04 20:53:46 +00:00 |
|
Love Hörnquist Åstrand
|
c0ecd4ce02
|
(pcert_verify): Fix format string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19647 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-01-03 23:16:00 +00:00 |
|
Love Hörnquist Åstrand
|
7a0bda61c8
|
Allow setting path length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19610 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-31 01:37:10 +00:00 |
|
Love Hörnquist Åstrand
|
760f9d2de4
|
add --lifetime to ca command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19604 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-31 01:10:00 +00:00 |
|
Love Hörnquist Åstrand
|
6a8868770e
|
Allow generation of proxy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19599 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-30 23:07:00 +00:00 |
|
Love Hörnquist Åstrand
|
623c3467da
|
Add bits to allow issuing self-signed and CA certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19592 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-30 17:50:39 +00:00 |
|
Love Hörnquist Åstrand
|
2ad9f89060
|
Add dnsname and rfc822 SANs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19585 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-30 15:03:10 +00:00 |
|
Love Hörnquist Åstrand
|
993dacac92
|
Add eku, ku and san to the certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19580 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-30 14:49:37 +00:00 |
|
Love Hörnquist Åstrand
|
694955c3a8
|
Add the sign-certificate tool.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19562 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-29 15:52:35 +00:00 |
|
Love Hörnquist Åstrand
|
f3d6a71320
|
add hxtool_hex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19541 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-28 20:29:27 +00:00 |
|
Love Hörnquist Åstrand
|
ebcbf5f119
|
(print_certificate): print serial number.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19313 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-11 19:13:10 +00:00 |
|
Love Hörnquist Åstrand
|
444753045a
|
use unsigned int as counter to fit better with the asn1 compiler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19166 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-28 03:59:34 +00:00 |
|
Love Hörnquist Åstrand
|
4fd7cabf44
|
(crypto-available): add --type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19154 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 12:15:00 +00:00 |
|
Love Hörnquist Åstrand
|
bf35f1a1bc
|
Expand crypto-select
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19152 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 12:10:22 +00:00 |
|
Love Hörnquist Åstrand
|
e0a99a740d
|
Add crypto-select and crypto-available.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19141 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 10:40:06 +00:00 |
|
Love Hörnquist Åstrand
|
ddfe47e5e1
|
Update hx509_cms_create_signed_1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19120 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-26 15:50:48 +00:00 |
|
Love Hörnquist Åstrand
|
a6726ae8e3
|
Pass in context to _hx509_parse_private_key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18865 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-24 14:00:29 +00:00 |
|
Love Hörnquist Åstrand
|
44b1d77058
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18803 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 23:15:08 +00:00 |
|
Love Hörnquist Åstrand
|
1f571d04ab
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18801 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 23:13:35 +00:00 |
|
Love Hörnquist Åstrand
|
4d08f3ebbf
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18797 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 22:30:45 +00:00 |
|
Love Hörnquist Åstrand
|
e9d03bde61
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18792 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 21:00:05 +00:00 |
|
Love Hörnquist Åstrand
|
24e79ac572
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18788 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 20:32:41 +00:00 |
|
Love Hörnquist Åstrand
|
df5da7edfe
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18786 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 20:12:42 +00:00 |
|
Love Hörnquist Åstrand
|
1f77265f5b
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18784 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:55:08 +00:00 |
|
Love Hörnquist Åstrand
|
5407ae308c
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18780 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:42:20 +00:00 |
|
Love Hörnquist Åstrand
|
561f5ca9c9
|
use a sensable content type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18777 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:19:43 +00:00 |
|
Love Hörnquist Åstrand
|
f13d32a019
|
Add missing argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18775 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:09:58 +00:00 |
|
Love Hörnquist Åstrand
|
dcd2ea0684
|
unbreak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18774 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:08:59 +00:00 |
|
Love Hörnquist Åstrand
|
ff2823a4e6
|
Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18773 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:08:10 +00:00 |
|
Love Hörnquist Åstrand
|
2c56bfb0e8
|
leak a little bit less
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18772 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 18:58:52 +00:00 |
|
Love Hörnquist Åstrand
|
5a9e545620
|
RAND_bytes() return 1 for cryptographic strong data, check for that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18479 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-16 13:47:59 +00:00 |
|
Love Hörnquist Åstrand
|
48b82f034c
|
Add random-data command, use sl_slc_help.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18477 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-16 13:43:53 +00:00 |
|
Love Hörnquist Åstrand
|
96204e40a8
|
prefix der primitives with der_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18453 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-14 09:42:43 +00:00 |
|
Love Hörnquist Åstrand
|
2ecfc9e327
|
Implement --time= option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18360 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-08 21:34:42 +00:00 |
|
Love Hörnquist Åstrand
|
697eae9c9d
|
Improve printing and error reporting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18085 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-15 05:50:17 +00:00 |
|
Love Hörnquist Åstrand
|
24ff7295c8
|
Make common function for all getarg_strings and hx509_certs_append
commonly used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18083 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-12 20:08:42 +00:00 |
|
Love Hörnquist Åstrand
|
b226d0acf5
|
Adapt to new signature of hx509_cms_unenvelope.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18065 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-11 06:38:36 +00:00 |
|
Love Hörnquist Åstrand
|
9bf4e18d6d
|
More pretty printing, make verify_signed return the error string from
the library.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18035 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-06 18:48:51 +00:00 |
|
Love Hörnquist Åstrand
|
a738dfe90c
|
print keyusage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18027 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-05 20:55:03 +00:00 |
|
Love Hörnquist Åstrand
|
6f0843cebf
|
improve pretty printing in print and query
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18022 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-05 19:48:44 +00:00 |
|
Love Hörnquist Åstrand
|
caa0fe8295
|
add selection on KU and printing to query
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18021 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-09-05 19:35:13 +00:00 |
|