Commit Graph

16982 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ff57ab98ef Add check command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 18:44:02 +00:00
Love Hörnquist Åstrand
b67e47ebd0 Check database for strange configurations on default principals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 18:43:15 +00:00
Love Hörnquist Åstrand
6aa50f1e15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 16:21:27 +00:00
Love Hörnquist Åstrand
5f8d8aa62e (main): argc_in_out argument to XtVaAppInitialize should be an 'int *'
accoring to manpage and headerfile, so remove the cast added in 1996
(rev 1.54)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 16:20:53 +00:00
Love Hörnquist Åstrand
6b31720b5c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:37:39 +00:00
Love Hörnquist Åstrand
0e90681917 Less pointer signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:35:54 +00:00
Love Hörnquist Åstrand
a2dc8c858e Use const void * to instead of unsigned char * to avoid pointer
signedness warnings.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:30:37 +00:00
Love Hörnquist Åstrand
4e6c7cbe57 Less pointer signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:19:48 +00:00
Love Hörnquist Åstrand
622495b00b Less pointer signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 09:32:02 +00:00
Love Hörnquist Åstrand
c4d0fcfc9d Less pointer signedness warnings (partly by using the new asn.1 CHOICE decoder)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 09:27:45 +00:00
Love Hörnquist Åstrand
40cb3723f1 Less pointer signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 09:15:42 +00:00
Love Hörnquist Åstrand
b6cefd57a4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 04:57:18 +00:00
Love Hörnquist Åstrand
ed43c02499 Add KRB5_PROMPT_TYPE_INFO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 04:56:54 +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
83adb93cd7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:22:24 +00:00
Love Hörnquist Åstrand
7785a29dbf Hidden field of hx509 prompter is removed.
Fix a warning.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:17:19 +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
6f63118a12 PK-INIT support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:53:35 +00:00
Love Hörnquist Åstrand
fbc1506c92 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:45:20 +00:00
Love Hörnquist Åstrand
6cd71191f1 Point to more examples, hint that you have to use openssl 0.9.8a or later.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:45:08 +00:00
Love Hörnquist Åstrand
b51995dd3d DIR now handles both PEM and DER.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:36:14 +00:00
Love Hörnquist Åstrand
556004dc51 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:31:29 +00:00
Love Hörnquist Åstrand
93913c1977 Check password protected pk-init keyfile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:31:10 +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
dde21a816c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:58:26 +00:00
Love Hörnquist Åstrand
b011acf259 Pass down prompter and password to krb5_get_init_creds_opt_set_pkinit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:58:07 +00:00
Love Hörnquist Åstrand
d08f2e3a09 (_krb5_pk_load_id): only use password if its longer then 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:56:54 +00:00
Love Hörnquist Åstrand
b0252ac443 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:49:23 +00:00
Love Hörnquist Åstrand
7329fc2b51 Fix the last one of the asserts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:49:13 +00:00
Love Hörnquist Åstrand
b0c30078e1 Add Jason McIntyre.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:44:24 +00:00
Love Hörnquist Åstrand
dcdd5672ba x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:43:55 +00:00
Love Hörnquist Åstrand
dff342ed10 Various tweaks, from Jason McIntyre.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:43:44 +00:00
Love Hörnquist Åstrand
c4d9373992 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 11:32:44 +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
22a9431c92 Move parsing of the PK-INIT configuration file to the library so
application doesn't need to deal with it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:41 +00:00
Love Hörnquist Åstrand
1e12165c58 (krb5_get_init_creds_opt_set_pkinit): move parsing of the
configuration file to the library so application doesn't need to deal
with it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:01 +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
66cc779e91 (_krb5_pk_load_id): pass the hx509_lock to when trying to read the
user certificate.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:03:10 +00:00
Love Hörnquist Åstrand
60736cd1ec (hx_pass_prompter): return 0 on success and 1 on failure. Pointed out
by Douglas E. Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 06:59:56 +00:00
Love Hörnquist Åstrand
12aa00c33f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-09 08:08:17 +00:00
Love Hörnquist Åstrand
dd796d90c2 (gsskrb5_is_cfx): always set is_cfx. From Andrew Abartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-09 07:16:39 +00:00
Love Hörnquist Åstrand
cab95ddf13 (get_device_fd): use /dev/urandom first.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:37:24 +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