Commit Graph

2126 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand 6c25b55ad5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:29:43 +00:00
Love Hörnquist Åstrand dfce592b3e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:41:18 +00:00
Love Hörnquist Åstrand caf62477c9 More to do about the about the PKCS11 code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:40:59 +00:00
Love Hörnquist Åstrand aaeb02de1b Use the prompter from the lock function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:40:09 +00:00
Love Hörnquist Åstrand 12349fd46a Deal with that hx509_prompt.reply is no longer a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:39:11 +00:00
Love Hörnquist Åstrand 775dc15b9b Make hx509_prompt.reply not a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:38:32 +00:00
Love Hörnquist Åstrand 04d64278a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 14:06:21 +00:00
Love Hörnquist Åstrand 5eb2dd8d17 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 11:05:29 +00:00
Love Hörnquist Åstrand a6fdb2b939 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 10:40:53 +00:00
Love Hörnquist Åstrand 7b967d0631 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 10:31:05 +00:00