Commit Graph

11658 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
7cf5b55729 (hx509_crypto_select): copy AI to the right place.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 02:46:17 +00:00
Love Hörnquist Åstrand
499cb7937a Add ca --ms-upn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 02:45:11 +00:00
Love Hörnquist Åstrand
071db50a3f add --ms-upn and add more EKU's for pk-init client.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 02:44:39 +00:00
Love Hörnquist Åstrand
db080434b8 Add hx509_ca_tbs_add_san_ms_upn and refactor code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 02:43:58 +00:00
Love Hörnquist Åstrand
1a6adc6188 Resurect killed e.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 02:42:48 +00:00
Love Hörnquist Åstrand
5637570ff9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:19:40 +00:00
Love Hörnquist Åstrand
465d8ec3b1 check for aes256-cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:19:26 +00:00
Love Hörnquist Åstrand
d00446cd32 check for aes256-cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:19:01 +00:00
Love Hörnquist Åstrand
2561afcc85 test windows stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:18:34 +00:00
Love Hörnquist Åstrand
425857b25d test windows stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:18:14 +00:00
Love Hörnquist Åstrand
d7d356f871 add ca --domain-controller option, add secret key option to avaible.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:03:28 +00:00
Love Hörnquist Åstrand
659e8dd094 Add hx509_ca_tbs_set_domaincontroller.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 23:02:53 +00:00
Love Hörnquist Åstrand
9081ac940b add ca --domain-controller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 22:58:21 +00:00
Love Hörnquist Åstrand
14de225227 id-ms-cert-enroll-domaincontroller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 22:08:14 +00:00
Love Hörnquist Åstrand
8411d0dcfb Add asn1_id_ms_cert_enroll_domaincontroller.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 22:06:12 +00:00
Love Hörnquist Åstrand
3ad5f3008b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 19:12:04 +00:00
Love Hörnquist Åstrand
82fa4fb114 Don't prefix all symbols with _
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 19:09:56 +00:00
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