Commit Graph

9508 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d6f4835198 add tests for size_t printf formater
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 08:01:04 +00:00
Love Hörnquist Åstrand
3d4b2dbea9 update to pkcs11 referens files 2.20
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 14:38:42 +00:00
Love Hörnquist Åstrand
062e1d7d5e (krb5_get_init_creds_opt_set_default_flags): fix argument to
krb5_get_init_creds_opt_set_addressless.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 14:28:54 +00:00
Love Hörnquist Åstrand
88182a75ce (init_cred_loop): try to catch the error when we actually have an
error to catch.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 13:46:45 +00:00
Love Hörnquist Åstrand
fe562592c6 Remove debug printfs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:04:35 +00:00
Love Hörnquist Åstrand
ea574c73c5 Document krb5_get_init_creds_opt_set_addressless.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:00:11 +00:00
Love Hörnquist Åstrand
03b6a76a85 use new addressless, convert pa-pac option to use the same tri-state
option as the new addressless option.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:57:02 +00:00
Love Hörnquist Åstrand
4b009281f6 (krb5_get_init_creds_opt_set_addressless): used to control the
address-lessness of the initial tickets instead of passing in the
empty set of address into krb5_get_init_creds_opt_set_addresses.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:55:46 +00:00
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
cf9efd9db1 (fallback_get_hosts): limit the fallback lookups to 5.
Patch from Wesley Craig, umich.edu


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 10:16:28 +00:00
Love Hörnquist Åstrand
29a7ceab29 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-30 11:34:44 +00:00
Love Hörnquist Åstrand
5ff64b4da8 (sl_slc_help): remove return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-30 11:34:32 +00:00
Love Hörnquist Åstrand
f0f01241c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:20:38 +00:00
Love Hörnquist Åstrand
c993715525 (help): use sl_slc_help().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:20:18 +00:00
Love Hörnquist Åstrand
e6d68876f5 Add sl_slc_help.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:16:43 +00:00
Love Hörnquist Åstrand
db525f5ac6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 12:51:32 +00:00
Love Hörnquist Åstrand
7efc06e58d Catch more error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 11:38:24 +00:00
Love Hörnquist Åstrand
4841cd3fd6 (krb5_digest_set_authid): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 12:01:49 +00:00
Love Hörnquist Åstrand
54a4bb49ad (DigestRequest): add authid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 11:57:54 +00:00
Love Hörnquist Åstrand
20f176bcfc Comment describing on how to communicate the sasl int/conf mode.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 07:18:52 +00:00
Love Hörnquist Åstrand
02aa31c195 In the case where we get a DigestError back, save the error string and code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 07:15:59 +00:00
Love Hörnquist Åstrand
bd23e626d4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:55:02 +00:00
Love Hörnquist Åstrand
0e5d5e7f5e Add KRB5_KDB_ALLOW_DIGEST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:49:46 +00:00
Love Hörnquist Åstrand
db091f2134 (HDBFlags): Add allow-digest
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:45:19 +00:00
Love Hörnquist Åstrand
c84978ea6d (krb5_kerberos_enctypes): new function, returns the list of Kerberos
encryption types sorted in order of most preferred to least preferred
encryption type.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 08:43:15 +00:00
Love Hörnquist Åstrand
17f00ca951 Add digest glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:31:14 +00:00
Love Hörnquist Åstrand
b68aa0068d (krb5_digest_set_authentication_user): use krb5_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:30:38 +00:00
Love Hörnquist Åstrand
c45391adce Add digest support to the client side.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:25:48 +00:00
Love Hörnquist Åstrand
eb9c693880 Add digest.c to libkrb5.so
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:25:05 +00:00
Love Hörnquist Åstrand
aeb27f8bbe Add some missing fields needed for digest.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:24:24 +00:00
Love Hörnquist Åstrand
c2a13c1cd3 Tweak to make consisten and more easier to use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-21 09:21:21 +00:00