Commit Graph

19296 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
3fbaf4f844 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:45:17 +00:00
Love Hörnquist Åstrand
69c37b6cc7 Make sure we don't sent both ENC-TS and PK-INIT pa data, no need to
expose our password protecting our PKCS12 key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:44:59 +00:00
Love Hörnquist Åstrand
2230b87e17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:04:47 +00:00
Love Hörnquist Åstrand
0415cd0901 Correct the test if the rsa is a complete RSA private key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:04:20 +00:00
Love Hörnquist Åstrand
de625c0116 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 09:31:45 +00:00
Love Hörnquist Åstrand
d009417320 Generate a no password pkcs12 file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 09:31:15 +00:00
Love Hörnquist Åstrand
e8a5c2c8d4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 00:04:12 +00:00
Love Hörnquist Åstrand
9e3b1291f4 (print_cred_verbose): include ticket length in the verbose output
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 00:03:46 +00:00
Love Hörnquist Åstrand
f4368cb948 (i2d_RSAPrivateKey): Fail if private key isn't complete.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 20:39:44 +00:00
Love Hörnquist Åstrand
0e65b27793 Check for internal ASN1 encoder error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 18:45:03 +00:00
Love Hörnquist Åstrand
b7259f0b9d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:39:54 +00:00
Love Hörnquist Åstrand
3b154f0067 More headerfiles for iruserok prototype check.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:38:18 +00:00
Love Hörnquist Åstrand
5c152d34f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:32:14 +00:00
Love Hörnquist Åstrand
f3b06c771d (loadlib): pass RTLD_LAZY to dlopen, without it linux is unhappy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:31:01 +00:00
Love Hörnquist Åstrand
b0f21e1a0e fix other place "bar" is used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 13:35:49 +00:00
Love Hörnquist Åstrand
eceb0fc866 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 12:04:08 +00:00
Love Hörnquist Åstrand
40bb5c5e23 One of the hosts I sometimes uses is named "bar.domain", this make one
of the tests pass when it shouldn't.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 12:03:46 +00:00
Love Hörnquist Åstrand
d2f6fecbfb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 11:46:36 +00:00
Love Hörnquist Åstrand
1ee06df858 Add fc_softc for AIX as ignore syms.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 11:46:08 +00:00
Love Hörnquist Åstrand
5afe164e80 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 10:17:50 +00:00
Love Hörnquist Åstrand
fde9807985 More verbose debugging in case of assertion failure. XXX temporary for
AIX problem.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 10:17:31 +00:00
Love Hörnquist Åstrand
265ce7ee85 Make sure expression have constant value, for picky compilers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 06:31:24 +00:00
Love Hörnquist Åstrand
3b387b88b0 add --configure-flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-07 16:42:54 +00:00