Commit Graph

3644 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
48c1854a75 Comment testcase[0]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:14 +00:00
Love Hörnquist Åstrand
b0bd2f7866 (_krb5_pk_kdf): Check that is sha1 we are using.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:10 +00:00
Love Hörnquist Åstrand
49ac4e17fc Add test_pknistkdf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:01 +00:00
Love Hörnquist Åstrand
50edb1b440 Test the new pkinit nist kdf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:52 +00:00
Love Hörnquist Åstrand
bf33685d7e Complete _krb5_pk_kdf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:35 +00:00
Love Hörnquist Åstrand
05422a8a8a First version of KDF in draft-ietf-krb-wg-pkinit-alg-agility-03.txt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:25 +00:00
Love Hörnquist Åstrand
17e0e936a3 Revert "Use size_t where appropriate."
This reverts commit 5169642e08042c50ab86da9376d78bcb5b7cfce1.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 14:51:33 +00:00
Love Hörnquist Åstrand
4626bbd7e3 export krb5_scc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:59 +00:00
Love Hörnquist Åstrand
ccd66600f5 Rename the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:14 +00:00
Love Hörnquist Åstrand
b07aeaac64 Name the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:56 +00:00
Love Hörnquist Åstrand
459b3f0a69 Drop krb5_pk_identity and rename constants to match global header.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:44 +00:00
Love Hörnquist Åstrand
a5301b2daa Include pkinit and include add krb5_pk_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:40 +00:00
Love Hörnquist Åstrand
eb4e9f87d1 (scc_alloc): %x is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:19 +00:00
Love Hörnquist Åstrand
92286b7303 Sort and add krb5_cc_switch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 20:17:49 +00:00
Love Hörnquist Åstrand
7a47e167d9 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:06 +00:00
Love Hörnquist Åstrand
f56b0f9866 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:36 +00:00
Love Hörnquist Åstrand
ed707620c0 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:32 +00:00
Love Hörnquist Åstrand
210ad42de3 Use size_t where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:20 +00:00
Love Hörnquist Åstrand
8e4183d9bb Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:16 +00:00
Love Hörnquist Åstrand
d46e99e899 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:12 +00:00
Love Hörnquist Åstrand
e7d288e184 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:07 +00:00
Love Hörnquist Åstrand
880d4d84f6 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:03 +00:00
Love Hörnquist Åstrand
0f4b203dd2 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:49:55 +00:00
Love Hörnquist Åstrand
6752ef7fbd simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:49:44 +00:00
Love Hörnquist Åstrand
319fa07a42 simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:49:40 +00:00
Love Hörnquist Åstrand
85af0f8b74 Add version number to krb5_cc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:56 +00:00
Love Hörnquist Åstrand
331b920fdc Add version number to krb5_cc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:51 +00:00
Love Hörnquist Åstrand
294407ee53 allow returning the default cc-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:45 +00:00
Love Hörnquist Åstrand
4538b95576 Add krb5_cc_switch, to set the default credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:26 +00:00
Love Hörnquist Åstrand
21abe2d75e Implement set_default.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:15 +00:00
Love Hörnquist Åstrand
ae1a8c5c2e Implement set_default.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:10 +00:00
Love Hörnquist Åstrand
97119eb872 Extend krb5_cc_ops and add set_default to set the default cc name for
a credential type.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:06 +00:00
Love Hörnquist Åstrand
2abf5f2292 test remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:58 +00:00
Love Hörnquist Åstrand
e7cc54f22b Support delete credential.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:53 +00:00
Love Hörnquist Åstrand
fd298c28c9 Make the remove cred slight more atomic, now it might lose creds, but
there will be no empty cache at any time.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:49 +00:00
Love Hörnquist Åstrand
9ec27909a6 Implement temporary table for interation of caches too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:46 +00:00
Love Hörnquist Åstrand
ed493c86ae Do credential iteration by temporary table.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:38 +00:00
Love Hörnquist Åstrand
5cb55b4baf Make default cache work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:34 +00:00
Love Hörnquist Åstrand
d18af98b63 Search backward for :, make sample name not include :
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:30 +00:00
Love Hörnquist Åstrand
cdadd5e9ce first try to get the default cache code right
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:26 +00:00
Love Hörnquist Åstrand
972ea571f3 Translate ccErrInvalidCCache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:18 +00:00
Love Hörnquist Åstrand
dcc5363304 no test_init_vs_destroy for API: cache, more tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:12 +00:00
Love Hörnquist Åstrand
4fa7c09faf Make it pass most of the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:07 +00:00
Love Hörnquist Åstrand
3a907b327a test acc and scc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:58 +00:00
Love Hörnquist Åstrand
2e62b79c07 Only release context if its in use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:51 +00:00
Love Hörnquist Åstrand
7b897bbaa6 Implement cache iteration and clean up modue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:46 +00:00
Love Hörnquist Åstrand
aac08b6b46 Implement destroy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:42 +00:00
Love Hörnquist Åstrand
8475d4d2a2 Make somewhat more working...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:37 +00:00
Love Hörnquist Åstrand
fce1b56ca5 Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:33 +00:00
Love Hörnquist Åstrand
703c3751ec Make the cache less broken, not working yet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:28 +00:00