Commit Graph

11091 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
199b3b5a75 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 18:53:02 +00:00
Love Hörnquist Åstrand
1018087342 hook for testing secrety key algs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 18:43:48 +00:00
Love Hörnquist Åstrand
217f3d4680 Add selection code for secret key crypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 18:42:34 +00:00
Love Hörnquist Åstrand
c1da454788 Add HX509_SELECT_SECRET_ENC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 18:38:14 +00:00
Love Hörnquist Åstrand
e7b0a46e77 Fix warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 16:53:35 +00:00
Love Hörnquist Åstrand
f2f278d34e x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 15:08:50 +00:00
Love Hörnquist Åstrand
acfd5a4121 Catch errors and return the up the stack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 15:07:09 +00:00
Love Hörnquist Åstrand
fa4a82327c Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 14:09:09 +00:00
Love Hörnquist Åstrand
becdb44583 more testing of lifetimes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 13:58:46 +00:00
Love Hörnquist Åstrand
ee246ab9ac Use gss oid_set functions from mechglue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-17 18:44:31 +00:00
Love Hörnquist Åstrand
b2684d8ed2 Drop the gss oid_set function for the krb5 mech, use the mech glue
versions instead. Pointed out by Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-17 18:42:30 +00:00
Love Hörnquist Åstrand
07aeb14a0c document krb5_crypto_overhead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-16 18:49:27 +00:00
Love Hörnquist Åstrand
5e5c20fe90 (krb5_crypto_overhead): return static overhead of encryption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-16 18:28:27 +00:00
Love Hörnquist Åstrand
88bbe318c5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 18:04:11 +00:00
Love Hörnquist Åstrand
87bdbf8e2c Set session key only if we are returned a session key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 18:03:39 +00:00
Love Hörnquist Åstrand
e44dcb7458 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 03:15:30 +00:00
Love Hörnquist Åstrand
99df08ed7e switched MIN to min to make compile on solaris.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 03:12:05 +00:00
Love Hörnquist Åstrand
8accec008c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-13 06:57:43 +00:00
Love Hörnquist Åstrand
7971b73f40 add more mechtypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-13 06:57:21 +00:00
Love Hörnquist Åstrand
7e11830fdc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-11 00:41:05 +00:00
Love Hörnquist Åstrand
b313013d8f Add struct units; as a forward declaration. Pointed out by Marcus Watts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-11 00:39:41 +00:00
Love Hörnquist Åstrand
463e05edd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 23:52:02 +00:00
Love Hörnquist Åstrand
d90201bfe3 Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 23:49:51 +00:00
Love Hörnquist Åstrand
6c52c9cd90 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 23:19:20 +00:00
Love Hörnquist Åstrand
64ff82a9eb add test-crypto command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 23:18:58 +00:00
Love Hörnquist Åstrand
09acc9cae1 test crypto command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 23:16:38 +00:00
Love Hörnquist Åstrand
bb64783393 (hx509_cms_create_signed_1): if no eContentType is given, use pkcs7-data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 22:53:44 +00:00
Love Hörnquist Åstrand
1ab49d0c29 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 22:02:08 +00:00
Love Hörnquist Åstrand
9666a5b5d4 test the difference between "" and NULL password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 22:01:54 +00:00
Love Hörnquist Åstrand
4d04026180 There is a diffrence between the no password string and the empty
string, in the empty string the UTF16 NUL terminator is included into
the string.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:57:58 +00:00
Love Hörnquist Åstrand
3279ff8331 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:47:29 +00:00
Love Hörnquist Åstrand
592c612ff1 add Netscape cert comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:47:16 +00:00
Love Hörnquist Åstrand
226964ebd1 Netscape extentions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:44:41 +00:00
Love Hörnquist Åstrand
6b8e488368 Netscape extentions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:43:20 +00:00
Love Hörnquist Åstrand
324afe4009 Try both the empty password and the NULL password (nothing vs the
octet string \x00\x00).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:37:44 +00:00
Love Hörnquist Åstrand
668e539618 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 20:59:02 +00:00
Love Hörnquist Åstrand
0aed52d652 one more pkcs12-pbe-s2k check
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 20:58:14 +00:00
Love Hörnquist Åstrand
3ebd5555f4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 19:30:35 +00:00
Love Hörnquist Åstrand
c6231897c2 Add VIOCSETTOK2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 19:30:18 +00:00
Love Hörnquist Åstrand
ba6c5f259b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:40:40 +00:00
Love Hörnquist Åstrand
78398287a2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:31:49 +00:00
Love Hörnquist Åstrand
eb6c93a886 add U.S. Federal PKI Common Policy Framework
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:31:33 +00:00
Love Hörnquist Åstrand
4418e220eb add U.S. Federal PKI Common Policy Framework
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:31:11 +00:00
Love Hörnquist Åstrand
b0afe13641 Add some US Fed PKI oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:30:28 +00:00
Love Hörnquist Åstrand
401751b73d Add some more hashes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 17:59:25 +00:00
Love Hörnquist Åstrand
71e0f0157d Do recursive call to rk_fnmatch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 17:13:34 +00:00
Love Hörnquist Åstrand
83d42d8b1d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-09 15:34:49 +00:00
Love Hörnquist Åstrand
ad2854bcfc Fill in all of the variables if they are passed in. Pointed out by Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-09 15:33:01 +00:00
Love Hörnquist Åstrand
54ca9c0da6 Fix copy and paste error, bug spotted by from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 14:01:46 +00:00
Love Hörnquist Åstrand
3fe9e74b9b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:57:28 +00:00