Commit Graph

7751 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
47be0b2203 Add rk_dumpdata() that write a chunk of data into a file for later
processing by some other tool (like asn1_print).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 23:51:35 +00:00
Love Hörnquist Åstrand
defb6d5697 Don't check oid's too closely, they change in Windows Vista.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 04:18:05 +00:00
Love Hörnquist Åstrand
c957c952ca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-21 00:31:45 +00:00
Love Hörnquist Åstrand
2c7a8d4dca TSequenceOf/TSetOf: Increase the length of the array after successful
decoding the next element, so that the array don't contain heap-data.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-21 00:30:37 +00:00
Love Hörnquist Åstrand
c850268273 Disable sending -19, fix parsing -27 of the protocol.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-20 23:21:36 +00:00
Love Hörnquist Åstrand
0b55d28880 Remove double free, now pk-init works again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-20 22:18:24 +00:00
Love Hörnquist Åstrand
fa4a72a52b (pk_verify_chain_standard): set cert to NULL to make sure its not freed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-20 19:06:40 +00:00
Love Hörnquist Åstrand
ce7c2af147 (krb5_DES_string_to_key): If the opaque length it set to 1, and
content is 0x01, use the afs3 string-to-key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-19 22:13:54 +00:00
Love Hörnquist Åstrand
9ea6ec2caa Remove signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-19 20:23:05 +00:00
Love Hörnquist Åstrand
c30c8e2e42 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:55:20 +00:00
Love Hörnquist Åstrand
ae8b9cd3fb Cast to unsigned char to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:54:27 +00:00
Love Hörnquist Åstrand
f47adcff7d Register pkcs11 module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:53:53 +00:00
Love Hörnquist Åstrand
63f313dff8 Add ks_p11.c, install hxtool.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:52:08 +00:00
Love Hörnquist Åstrand
546c8bd55b Starting point for a pkcs11 module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:51:29 +00:00
Love Hörnquist Åstrand
0bb2f95b62 Avoid empty array initiators.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 21:08:03 +00:00
Love Hörnquist Åstrand
7f1ab5f9e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 20:19:37 +00:00
Love Hörnquist Åstrand
52ec27616b cast to unsigned char to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 20:19:11 +00:00
Love Hörnquist Åstrand
be827bd01d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:43:49 +00:00
Love Hörnquist Åstrand
b23278e0c5 (PKCS8PrivateKeyInfo): Inline SET OF to avoid compiler "feature"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:41:29 +00:00
Love Hörnquist Åstrand
84b70dac40 Avoid signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:40:30 +00:00
Love Hörnquist Åstrand
272cc63375 Makes bytes native platform signed to avoid casting everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:37:27 +00:00
Love Hörnquist Åstrand
b9a6e93c62 Don't depend on malloc(very-very-larger-value) will fail.
Cast to unsigned long before printing size_t.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:36:17 +00:00
Love Hörnquist Åstrand
a1d193721c Don't depend on malloc(very-very-larger-value) will fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:35:32 +00:00
Love Hörnquist Åstrand
3b70a5f5e3 Fix signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:24:23 +00:00
Love Hörnquist Åstrand
9eebea050b unput() have to hanppen in actions for flex 2.5.31, can do them in
user code sesction, so move up handle_comment and handle_string into
action, not much sharing was done anyway.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 18:17:16 +00:00
Love Hörnquist Åstrand
fc894dcecf Removed wrong variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-09 12:04:38 +00:00
Love Hörnquist Åstrand
326478ac32 (check_directory): use passed directory name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-09 10:33:33 +00:00
Love Hörnquist Åstrand
dea6f6cdf8 (test_one_int): len and len_len is size_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-09 04:57:08 +00:00
Love Hörnquist Åstrand
2c714acde1 Constify password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:38:01 +00:00
Love Hörnquist Åstrand
c032b2bfd5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:31:36 +00:00
Love Hörnquist Åstrand
ee050659b1 Constify password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:30:53 +00:00
Love Hörnquist Åstrand
6d0ecf1803 Add KRB5_TL_PKINIT_ACL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:28:45 +00:00
Love Hörnquist Åstrand
a39e594514 (_kadm5_unmarshal_params): avoid signed-ness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:27:34 +00:00
Love Hörnquist Åstrand
723085bc25 (kadm5_s_get_principal): clear error string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:24:45 +00:00
Love Hörnquist Åstrand
3e5fc8944f Document krb5_rd_req.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 07:56:09 +00:00
Love Hörnquist Åstrand
06a654ed20 MAN_mans+= krb5_mk_req.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 05:45:33 +00:00
Love Hörnquist Åstrand
c8d177a7b0 Document krb5_mk_req, krb5_mk_req_exact, krb5_mk_req_extended,
krb5_rd_req, krb5_rd_req_with_keyblock, krb5_mk_rep,
krb5_mk_rep_exact, krb5_mk_rep_extended, krb5_rd_rep,
krb5_build_ap_req, krb5_verify_ap_req.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-05 05:44:08 +00:00
Love Hörnquist Åstrand
f1778e69af Implement prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:25:59 +00:00
Love Hörnquist Åstrand
758311a77f add --content to print
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:25:26 +00:00
Love Hörnquist Åstrand
9974253444 Split verify and print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:24:55 +00:00
Love Hörnquist Åstrand
50f29f80b1 _hx509_pbe_decrypt now takes a hx509_lock.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:16:46 +00:00
Love Hörnquist Åstrand
1479736a8f Make _hx509_pbe_decrypt take a hx509_lock, workaround for empty password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:15:49 +00:00
Love Hörnquist Åstrand
dbb9803d46 Add DC, handle all Directory strings, fix signless problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:11:35 +00:00
Love Hörnquist Åstrand
60f96cc909 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:07:41 +00:00
Love Hörnquist Åstrand
99720c49c7 Pass in --pass to all commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:06:42 +00:00
Love Hörnquist Åstrand
bd113d976f Use option --pass.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:05:22 +00:00
Love Hörnquist Åstrand
7a4c53a008 Add --pass to all commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:44 +00:00
Love Hörnquist Åstrand
f3a5546ac9 Pass in password, add more tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:21 +00:00
Love Hörnquist Åstrand
0ee0cae9ed Add hx509_lock_command_string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:49:59 +00:00
Love Hörnquist Åstrand
dc33020444 add UNKNOWN_LOCK_COMMAND and CRYPTO_NO_PROMPTER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:49:32 +00:00