Love Hörnquist Åstrand
755229f6d3
(krb5_verify_ap_re2): check timestamp in authenticator
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 15:55:34 +00:00
Love Hörnquist Åstrand
ca1a379a41
(check_transited): explain the TR-type 0 better and why it matters.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 14:14:26 +00:00
Love Hörnquist Åstrand
d7b6e1f223
test krb5_cc_get_prefix_ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:11:12 +00:00
Love Hörnquist Åstrand
6ccf928a53
(krb5_cc_get_prefix_ops): change the behavior to return NULL when its
...
not found, and fcc when the name starts with a '/'. Almost matches
behavior in other parts of the code, but can't really do that since
the name passed in to this function may only contain the prefix itself
without the colon.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:10:47 +00:00
Love Hörnquist Åstrand
459932f3ef
(krb5_cc_get_prefix_ops): if there are not colon (:) in the name, its
...
a file credential cachce
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 08:44:21 +00:00
Love Hörnquist Åstrand
0fa794702c
(hdb_db_create): use calloc to callocate memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:33:24 +00:00
Love Hörnquist Åstrand
daf7286660
(hdb_ndbm_create): use calloc to allocate memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:31:36 +00:00
Love Hörnquist Åstrand
8ce2056373
(gss_krb5_import_cred): fix buglet, from Andrew Bartlett.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:05:44 +00:00
Love Hörnquist Åstrand
d3d5392e05
(krb5_get_forwarded_creds): use session key for delegated credentials
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 20:43:02 +00:00
Love Hörnquist Åstrand
d7e11e5716
s/krb5_keytab_get_full_name/krb5_kt_get_full_name/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-26 11:00:08 +00:00
Love Hörnquist Åstrand
27546db2b4
(krb5_kt_get_full_name): new function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 21:46:40 +00:00
Love Hörnquist Åstrand
e4f39fc8ae
Use gss_krb5_import_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 15:57:35 +00:00
Love Hörnquist Åstrand
e5d85fd42d
Rename gss_krb5_import_ccache to gss_krb5_import_cred.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 14:43:03 +00:00
Love Hörnquist Åstrand
a85c42da3f
Rename gss_krb5_import_ccache to gss_krb5_import_cred and let it grow
...
code to handle keytabs too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 14:39:57 +00:00
Love Hörnquist Åstrand
52e365482b
Split encryption and s2k iterations to diffrent counters, 38seconds of
...
aes256 s2k is way too long.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:57:50 +00:00
Love Hörnquist Åstrand
2f31564fc4
Add timing code for s2k function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:54:49 +00:00
Love Hörnquist Åstrand
d28785e212
Change sematics of ok-as-delegate to match windows if
...
[gssapi]realm/ok-as-delegate=true is set, otherwise keep old sematics.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 11:52:49 +00:00
Love Hörnquist Åstrand
6ece760454
(gss_release_cred): use GSS_CF_DESTROY_CRED_ON_RELEASE to decide if
...
the cache should be krb5_cc_destroy-ed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:57:35 +00:00
Love Hörnquist Åstrand
f0dc59770a
(acquire_initiator_cred): GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:56:25 +00:00
Love Hörnquist Åstrand
2a0d1e1d88
(gsskrb5_accept_delegated_token): rewrite to use gss_krb5_import_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:55:19 +00:00
Love Hörnquist Åstrand
6879aaef09
(gss_cred_id_t_desc_struct): add field cred_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:51:17 +00:00
Love Hörnquist Åstrand
52bb24b476
s/RFC2140/RFC4120/ From Andrew Bartlet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:36:42 +00:00
Love Hörnquist Åstrand
d7396a3cea
(gss_krb5_import_ccache): Use krb5_cc_get_full_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:41:59 +00:00
Love Hörnquist Åstrand
333284ed2e
Document krb5_cc_get_full_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:40:23 +00:00
Love Hörnquist Åstrand
91f8f1ce51
(krb5_cc_get_full_name): Add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:36:41 +00:00
Love Hörnquist Åstrand
70ec67ed73
Remove signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 06:55:55 +00:00
Love Hörnquist Åstrand
7f2110c0ba
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 16:07:59 +00:00
Love Hörnquist Åstrand
069a5f19a2
Document that gss_krb5_import_ccache is copy by reference.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 16:07:23 +00:00
Love Hörnquist Åstrand
4cc93f5d2e
(gss_krb5_import_ccache): Instead of making a copy of the ccache, make
...
a reference by getting the name and resolving the name. This way the
cache is shared, this flipp side is of course that if someone calls
krb5_cc_destroy the cache is lost for everyone.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 16:02:08 +00:00
Love Hörnquist Åstrand
d4a3ad2adf
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 15:59:30 +00:00
Love Hörnquist Åstrand
3cf6e96dbb
Remove memory leaks.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 15:59:11 +00:00
Love Hörnquist Åstrand
c71a749176
Support DSA signature operations.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:59:21 +00:00
Love Hörnquist Åstrand
0e80fef74a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:57:46 +00:00
Love Hörnquist Åstrand
027488e89f
Add some X9.57 (DSA) oids, sort lines
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:57:14 +00:00
Love Hörnquist Åstrand
0143ed18c7
Add some X9.57 (DSA) oids.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:55:52 +00:00
Love Hörnquist Åstrand
cfcfa2ad3f
Add some more tests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:24:07 +00:00
Love Hörnquist Åstrand
6f657ec556
allow breaking early, print a dot for each certificate that is processed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:16:23 +00:00
Love Hörnquist Åstrand
7f3c73aaec
Add all nist certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:08:41 +00:00
Love Hörnquist Åstrand
ac8e06b969
Print that it started, it takes a while...
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:08:13 +00:00
Love Hörnquist Åstrand
c62dae6184
control data to drive the NIST tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 19:09:26 +00:00
Love Hörnquist Åstrand
f1a89fb37f
Use NIST test certificates to test the x509 stack.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 19:04:33 +00:00
Love Hörnquist Åstrand
881e730620
Spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 13:21:42 +00:00
Love Hörnquist Åstrand
9b2fa77b4d
(krb5_ticket_get_authorization_data_type): understand
...
KRB5_AUTHDATA_IF_RELEVANT and KRB5_AUTHDATA_AND_OR (but have
KRB5_AUTHDATA_KDC_ISSUED commented out for now)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 13:18:25 +00:00
Love Hörnquist Åstrand
085f3eb85c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:30:26 +00:00
Love Hörnquist Åstrand
c55b53060b
build test_kcred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:30:12 +00:00
Love Hörnquist Åstrand
b742a50cf7
Document gss_krb5_import_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:29:34 +00:00
Love Hörnquist Åstrand
780dc8dd41
Sort and add gss_krb5_import_ccache.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:26:55 +00:00
Love Hörnquist Åstrand
8980a47d4a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:25:34 +00:00
Love Hörnquist Åstrand
a5755046b4
(_gssapi_krb5_ccache_lifetime): break out code used to extract
...
lifetime from a credential cache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:25:16 +00:00
Love Hörnquist Åstrand
fc4f134e26
Add _gssapi_krb5_ccache_lifetime, used to extract lifetime from a
...
credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:23:48 +00:00