Commit Graph

23609 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
40e1a16f54 Check that decoding worked before before checking is its a primitive
type or constructed type.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:08:21 +00:00
Love Hörnquist Åstrand
31fb2759da Drop DES from default keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:08:11 +00:00
Love Hörnquist Åstrand
22016ebfec make anonymous work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:08:01 +00:00
Love Hörnquist Åstrand
4aebfb78c0 Remove extra anonymous check.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:52 +00:00
Love Hörnquist Åstrand
8ddf4c65de kdestroy after test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:42 +00:00
Love Hörnquist Åstrand
3bea35ccc5 Disable anonymous code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:32 +00:00
Love Hörnquist Åstrand
df1d6c9e6c test anonymous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:22 +00:00
Love Hörnquist Åstrand
e741dd4499 allow anonymous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:12 +00:00
Love Hörnquist Åstrand
0a426e075f fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:02 +00:00
Love Hörnquist Åstrand
a1ef548600 Anonymous pkinit support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:52 +00:00
Love Hörnquist Åstrand
c1e6b65501 use is_anonymous(), extra new argument to _krb5_pk_load_id()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:42 +00:00
Love Hörnquist Åstrand
c8dfcede53 intern export is_anonymous()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:32 +00:00
Love Hörnquist Åstrand
1228f20e92 spelling and doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:22 +00:00
Love Hörnquist Åstrand
08e864fbe9 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:12 +00:00
Love Hörnquist Åstrand
9b8c1d9569 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:01 +00:00
Love Hörnquist Åstrand
d45c54a7f9 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:05:51 +00:00
Love Hörnquist Åstrand
74ed9683a6 handle unsigned SignedData in cms-create-sd and cms-verify-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:05:41 +00:00
Love Hörnquist Åstrand
896e99c291 test unsigned SignedData
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:05:31 +00:00
Love Hörnquist Åstrand
2e00892ffd handle unsigned signeddata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:05:20 +00:00
Love Hörnquist Åstrand
f374e9b14f add hx509_certs_filter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:05:08 +00:00
Love Hörnquist Åstrand
e1ae936e65 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:58 +00:00
Love Hörnquist Åstrand
651c4a0ec6 Add hx509_certs_filter().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:48 +00:00
Love Hörnquist Åstrand
de35928c20 add HX509_CMS_SIGATURE_NO_SIGNER and indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:38 +00:00
Love Hörnquist Åstrand
90a9ed5fd2 Add hx509_cms_create_signed() that allows signing with 0 or more certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:28 +00:00
Love Hörnquist Åstrand
f0214c8843 use hx509_cms_create_signed to create signed data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:18 +00:00
Love Hörnquist Åstrand
64748478da Move the check client/anonoymous logic to pkinit.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:08 +00:00
Love Hörnquist Åstrand
7f61137222 Use HX509_CMS_VS_ALLOW_ZERO_SIGNER for anonymous requests.
Move the check client/anonoymous logic here

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:58 +00:00
Love Hörnquist Åstrand
afb2abb65d Add HX509_CMS_VS_ALLOW_ZERO_SIGNER and HX509_CMS_VS_NO_VALIDATE
Doxygen.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:47 +00:00
Love Hörnquist Åstrand
7e1b5d3a55 better name for zero signer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:37 +00:00
Love Hörnquist Åstrand
cc20011567 deny non valid use of anonymous requests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:27 +00:00
Love Hörnquist Åstrand
2e93ad7a9f add more hx509_cms_verify_signed flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:17 +00:00
Love Hörnquist Åstrand
c529394cb5 fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:07 +00:00
Love Hörnquist Åstrand
67612f57da fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:57 +00:00
Love Hörnquist Åstrand
fb66afbaa2 create WELLKNOWN/ANONYMOUS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:43 +00:00
Love Hörnquist Åstrand
c1bfc5bd1d Only send etype-info{,2} for the enctype we selected.
Process pkinit anon requests.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:34 +00:00
Love Hörnquist Åstrand
59232b3083 Add KRB5_WELLKNOWN_NAME and KRB5_ANON_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:23 +00:00
Love Hörnquist Åstrand
7c36b1365e add KRB5_NT_WELLKNOWN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:05 +00:00
Love Hörnquist Åstrand
b744467bb7 Check windc access after check_flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:01:55 +00:00
Love Hörnquist Åstrand
fdee515d66 s/apreq/test_apreq
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:01:42 +00:00
Love Hörnquist Åstrand
42178773ca use test_apreq
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 22:10:50 +00:00
Love Hörnquist Åstrand
6561b13ccb Verify flags after the user been required to prove its identity * with
in a preauth mech, matches windows AD behavior.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 22:10:37 +00:00
Love Hörnquist Åstrand
7f4b66ce68 remove leaks log, disable check for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 21:07:39 +00:00
Love Hörnquist Åstrand
2ea97b1bbf move ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 21:07:23 +00:00
Love Hörnquist Åstrand
065ff8fae9 collect enctype printing into one statement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 21:07:13 +00:00
Love Hörnquist Åstrand
b0efabeb79 shuffle around bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 21:06:59 +00:00
Love Hörnquist Åstrand
91e1068f15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:50:38 +00:00
Love Hörnquist Åstrand
88af00a8de move ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:50:26 +00:00
Love Hörnquist Åstrand
45c3916e4e move test-ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:50:16 +00:00
Love Hörnquist Åstrand
2c14f1fe08 ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:50:06 +00:00
Love Hörnquist Åstrand
60fb283294 include gssapi header files directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:49:54 +00:00