Commit Graph

637 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
776d5a6b2a Even more pretty printing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 09:29:24 +00:00
Love Hörnquist Åstrand
437fa6022b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 09:25:59 +00:00
Love Hörnquist Åstrand
c2661ea901 add more mechflags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 09:25:49 +00:00
Love Hörnquist Åstrand
cbfc9eaf48 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:41:19 +00:00
Love Hörnquist Åstrand
35a79e736b (no): add OU and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:41:09 +00:00
Love Hörnquist Åstrand
54f8ec658e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:32:29 +00:00
Love Hörnquist Åstrand
649f25934c pass context to _hx509_create_signature
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:32:19 +00:00
Love Hörnquist Åstrand
0195569201 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:30:16 +00:00
Love Hörnquist Åstrand
dd02f9c6a5 (p11_printinfo): print proper plural s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:30:08 +00:00
Love Hörnquist Åstrand
efd8f3e585 (p11_printinfo): print mechs in diffrent order
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:26:37 +00:00
Love Hörnquist Åstrand
874b53a2a0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:23:51 +00:00
Love Hörnquist Åstrand
a16e48e582 save the mechs supported when initing the token, print them in printinfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:23:40 +00:00
Love Hörnquist Åstrand
fd39e36e9c Include <parse_units.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:17:52 +00:00
Love Hörnquist Åstrand
a69f589adc pass context to _hx509_create_signature
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:25:22 +00:00
Love Hörnquist Åstrand
5b65222edf (hx509_certs_info): print information about the keyset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:24:33 +00:00
Love Hörnquist Åstrand
3be4835b50 (pcert_print) print keystore info when --info flag is given.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:24:04 +00:00
Love Hörnquist Åstrand
1fa2a5c541 Add hxtool print --info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:23:15 +00:00
Love Hörnquist Åstrand
b72e8735d3 Test hxtool print --info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:22:58 +00:00
Love Hörnquist Åstrand
e678f6b2a5 (hx509_keyset_ops): add printinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:21:23 +00:00
Love Hörnquist Åstrand
9537609087 Start to hang the private key operations of the private key,
pass hx509_context to create_checksum.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 07:20:34 +00:00
Love Hörnquist Åstrand
be597a30dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 09:25:02 +00:00
Love Hörnquist Åstrand
a99e6303d5 Iterate over all slots, not just the first/selected one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 09:24:47 +00:00
Love Hörnquist Åstrand
7f6b59890e prototype for _hx509_cert_release_func
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:59:50 +00:00
Love Hörnquist Åstrand
046997bc17 Add release function for certifiates so backend knowns when its no
longer used.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:59:13 +00:00
Love Hörnquist Åstrand
4abe3b3bce Add reference counting on certifiates, push out CK_SESSION_HANDLE from slot.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:58:07 +00:00
Love Hörnquist Åstrand
8b2a7cf875 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 08:57:05 +00:00
Love Hörnquist Åstrand
2cd38a0e1a sprinkle more hx509_clear_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 08:55:00 +00:00
Love Hörnquist Åstrand
ca24df0e9d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-22 16:14:21 +00:00
Love Hörnquist Åstrand
ef9ea4272e Sprinkle some hx509_set_error_strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-22 16:14:07 +00:00
Love Hörnquist Åstrand
b0c4de9278 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:06:16 +00:00
Love Hörnquist Åstrand
1da0ea830b Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:58:18 +00:00
Love Hörnquist Åstrand
a848124aa0 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:51:59 +00:00
Love Hörnquist Åstrand
b00495b53b Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:37:47 +00:00
Love Hörnquist Åstrand
09f034b560 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:26:47 +00:00
Love Hörnquist Åstrand
d7b65da678 CKF_PROTECTED_AUTHENTICATION_PATH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 11:45:03 +00:00
Love Hörnquist Åstrand
f86b0321a6 Hidden field of prompter is removed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:14:50 +00:00
Love Hörnquist Åstrand
744eef1102 (hx509_prompt_hidden): reshuffle to avoid gcc warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:14:07 +00:00
Love Hörnquist Åstrand
69b7cec07b Reshuffle the prompter types, remove the hidden field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:13:18 +00:00
Love Hörnquist Åstrand
fc61c200df (hx509_prompt_hidden): return if the prompt should be hidden or not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:12:32 +00:00
Love Hörnquist Åstrand
1122885754 (hx509_revoke_free): allow free of NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:26:59 +00:00
Love Hörnquist Åstrand
ba77542a0e generate pkinit password protected file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:21:43 +00:00
Love Hörnquist Åstrand
2f50d37991 (file_init): Avoid shadowing ret (and thus avoiding crashing).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 11:22:50 +00:00
Love Hörnquist Åstrand
941e1779cb Implement DIR: caches useing FILE: caches.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 11:22:02 +00:00
Love Hörnquist Åstrand
0da37e5388 Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:11:51 +00:00
Love Hörnquist Åstrand
c0f2bd14d6 Catch more errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:05:39 +00:00
Love Hörnquist Åstrand
7533511758 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:34:59 +00:00
Love Hörnquist Åstrand
64bc25c77b (hx509_crypto_encrypt): free correctly in error path. From Andrew Bartlett.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:34:48 +00:00
Love Hörnquist Åstrand
76393e42c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 17:54:58 +00:00
Love Hörnquist Åstrand
3de0915340 If RAND_bytes fails, then we will attempt to double-free crypt->key.data.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 16:46:31 +00:00
Love Hörnquist Åstrand
1d8bb73fcf DH and RSA method names are renamed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:59:30 +00:00