Commit Graph

19167 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
f40a0cb381 document some more options.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-07 16:14:10 +00:00
Love Hörnquist Åstrand
3ee3af9905 Tell my the pac verification failes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-07 01:29:23 +00:00
Love Hörnquist Åstrand
7e00f00832 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-06 15:31:46 +00:00
Love Hörnquist Åstrand
2ceeb480a5 try some more loops for check_rsa
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-06 13:56:43 +00:00
Love Hörnquist Åstrand
693d87cfbf Fix a silly typo, and with that enable CRT since now it works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-06 13:45:25 +00:00
Love Hörnquist Åstrand
f2c39a5dd3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-06 00:45:10 +00:00
Love Hörnquist Åstrand
3d31299f48 With this crt works, but something is wrong in the key generation, so
keep it turned off for now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-06 00:44:35 +00:00
Love Hörnquist Åstrand
abc442b8b4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 23:31:03 +00:00
Love Hörnquist Åstrand
8986d97b0c Allow testing effect of key-blinding
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 23:30:36 +00:00
Love Hörnquist Åstrand
dd537ba816 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 23:22:52 +00:00
Love Hörnquist Åstrand
12d1def6a6 Add timing info to rsa keygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 23:22:11 +00:00
Love Hörnquist Åstrand
661cad017c don't include <imath/rsamath.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 23:20:48 +00:00
Love Hörnquist Åstrand
0f47667bfd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:36:27 +00:00
Love Hörnquist Åstrand
f0f64c5deb prune off stuff we dont use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:30:34 +00:00
Love Hörnquist Åstrand
b6135672df Use mp_int_compare_zero instead of "MP_SIGN(&u) == MP_NEG"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:11:57 +00:00
Love Hörnquist Åstrand
6d95db6ea7 Prune off stuff we don't use from imathsource
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:07:34 +00:00
Love Hörnquist Åstrand
fed2ec931e Use mp_int_exptmod directly.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:04:22 +00:00
Love Hörnquist Åstrand
f0672f96a0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:01:48 +00:00
Love Hörnquist Åstrand
cda55ca141 Use a larger table of small primes, cut down genenration in best cases
to half compared to using a small table.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:59:01 +00:00
Love Hörnquist Åstrand
3010e18998 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:26:43 +00:00
Love Hörnquist Åstrand
b2cafda0f2 add RSA_FLAG_NO_BLINDING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:26:23 +00:00
Love Hörnquist Åstrand
a34ebb48a3 Add fetch method "fetch".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:11:18 +00:00
Love Hörnquist Åstrand
b2b28b6f3d remember absolute path to result-directory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:08:07 +00:00
Love Hörnquist Åstrand
c7da6b6c61 Drop most of the pkcs11 files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:57:54 +00:00
Love Hörnquist Åstrand
986dc89efb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:43:27 +00:00
Love Hörnquist Åstrand
dfcfc51c66 add hx509_ca_tbs_set_serialnumber
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:40:46 +00:00
Love Hörnquist Åstrand
d5a4dea1e1 Change --key argument to --out-key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:38:32 +00:00
Love Hörnquist Åstrand
00a6e317eb test reissueing ca certificate (xxx time validAfter).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:37:14 +00:00
Love Hörnquist Åstrand
8c9a5ca83a Allow setting serialNumber (needed for reissuing certificates)
Change --key argument to --out-key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:36:08 +00:00