Commit Graph

19019 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d52fe4e20a (krb5_rd_safe): set length before trying to allocate data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:54:59 +00:00
Love Hörnquist Åstrand
7405b522a1 add data/key2.der
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:49:44 +00:00
Love Hörnquist Åstrand
0bdc57f9c8 add ntlm-user-file.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:49:09 +00:00
Love Hörnquist Åstrand
f35bfaa82e (krb5_pac_add_buffer): unbreak buffer handling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:08:01 +00:00
Love Hörnquist Åstrand
acb8c4e906 add data/test-nopw.p12 to EXTRA_DIST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 00:20:44 +00:00
Love Hörnquist Åstrand
ab01c4b0b4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 22:15:46 +00:00
Love Hörnquist Åstrand
daf521e1d2 Hint about hxtool validate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 22:14:51 +00:00
Love Hörnquist Åstrand
e797c5a42c BasicConstraints vs criticality bit is complicated and not really
possible to evaluate on its own, silly RFC3280.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 22:11:34 +00:00
Love Hörnquist Åstrand
72a7e4b1cb Make basicConstraints critical if this is a CA.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 22:07:07 +00:00
Love Hörnquist Åstrand
f4b0e6fcea fix the version vs extension test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 22:02:10 +00:00
Love Hörnquist Åstrand
d8423fa525 Even more validation checks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 21:53:45 +00:00
Love Hörnquist Åstrand
5bf1bd2a7d More validation checks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 21:45:56 +00:00
Love Hörnquist Åstrand
5b9b07461e (hx509_name_cmp): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 21:44:25 +00:00
Love Hörnquist Åstrand
97be909572 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 20:38:40 +00:00
Love Hörnquist Åstrand
241e3bfd29 print both "server" and "client"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 20:37:29 +00:00
Love Hörnquist Åstrand
c7ac4cb929 fix --distcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 20:33:12 +00:00
Love Hörnquist Åstrand
3c900f4050 add user2user test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 20:14:59 +00:00
Love Hörnquist Åstrand
57744d5fe2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 19:44:13 +00:00
Love Hörnquist Åstrand
82f3dca5ec Rename keys to be more obvious what they do.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 19:43:35 +00:00
Love Hörnquist Åstrand
308b0e53a2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 19:36:03 +00:00
Love Hörnquist Åstrand
06ea919aaa --verify-pac no means verify existance of PAC in ticket, the signature
checking is done by the kerberos library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 19:35:45 +00:00
Love Hörnquist Åstrand
1e9aabbe3d Add check to verify the windc module as loaded.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 19:02:24 +00:00
Love Hörnquist Åstrand
d7bdb6f04c Use other keys to sign with.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 18:16:42 +00:00
Love Hörnquist Åstrand
727251e23b display messages.log and help that that tells us what went wrong.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 17:43:28 +00:00
Love Hörnquist Åstrand
b6d99cd3d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 17:35:05 +00:00
Love Hörnquist Åstrand
3d77ddb771 (s_udiv): make a copy of a and b before we start to make sure there is
something un-tainted to print in cause of failure. XXX remove this delta
(s_embar): make static


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 17:28:52 +00:00
Love Hörnquist Åstrand
28405e8385 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 15:32:33 +00:00
Love Hörnquist Åstrand
f0bfd625d0 Update to validate function signature change.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 15:29:03 +00:00
Love Hörnquist Åstrand
a295015e44 Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 15:25:09 +00:00
Love Hörnquist Åstrand
5a65ccd573 indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 15:24:51 +00:00
Love Hörnquist Åstrand
7e21610a7c Pass down server entry to verify_pac function.
from Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 15:22:11 +00:00
Love Hörnquist Åstrand
634d0ca86d pass down server entry to verify_pac function, from Andrew Bartlett <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 14:22:04 +00:00
Love Hörnquist Åstrand
e91d63e452 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 14:07:02 +00:00
Love Hörnquist Åstrand
35ad870f43 Only traverse into plugin if there is shared library support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 13:28:11 +00:00
Love Hörnquist Åstrand
ce8d2de909 Provide a automake symbol ENABLE_SHARED if shared libraries are built.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 13:27:09 +00:00
Love Hörnquist Åstrand
a84be6224b (krb5_rd_req_ctx): Use the correct keyblock when verifying the PAC.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 12:10:17 +00:00
Love Hörnquist Åstrand
0b44e8aede x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 19:44:52 +00:00
Love Hörnquist Åstrand
a905f0338c (collect_private_key): Missing CKA_MODULUS is ok too (XXX why should
these be fetched given they are not used).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 19:43:35 +00:00
Love Hörnquist Åstrand
d4b0d11e0a update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 17:46:01 +00:00
Love Hörnquist Åstrand
312f87ccaf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:47:01 +00:00
Love Hörnquist Åstrand
6e070754c2 rename all files to PEM files, since that is what they are.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:46:46 +00:00
Love Hörnquist Åstrand
6b967f571f copy out the key with the self signed CA cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:45:54 +00:00
Love Hörnquist Åstrand
e2a0b8d623 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:25:23 +00:00
Love Hörnquist Åstrand
191c1f4ffa move around to code test on real PAC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:25:09 +00:00
Love Hörnquist Åstrand
217a1f8aaf A tiny 2 char diffrence that make the code work for real.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:22:56 +00:00
Love Hörnquist Åstrand
fe73261177 Test more PAC (note that the values used in this test is wrong, they
have to be fixed when the pac code is fixed).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:09:13 +00:00
Love Hörnquist Åstrand
c792a0e800 Update to new hxtool issue-certificate usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:58:15 +00:00
Love Hörnquist Åstrand
555c798962 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:54:30 +00:00
Love Hörnquist Åstrand
434a734ae8 Prefix key with FILE:
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:52:54 +00:00
Love Hörnquist Åstrand
80977a02f6 Factor out private key operation out of the signing, operations, support import, export, and generation of private keys. Add support for writing PEM and PKCS12 files with private keys in them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:52:13 +00:00