Love Hörnquist Åstrand
754eec0f53
Remove leftovers, remove extra space.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-26 05:38:55 +00:00
Love Hörnquist Åstrand
388b0ffca4
More verbose PK-INIT logging.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-25 15:23:21 +00:00
Love Hörnquist Åstrand
61b1ea80de
The public DH key is encoded as an INTEGER in subjectPublicKey.
...
Don't verify OID's for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-25 15:18:14 +00:00
Love Hörnquist Åstrand
70a6c9a2e4
Support cached DH variable (still need to store it though), don't
...
check the oid of the DH signedData for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-25 15:14:31 +00:00
Love Hörnquist Åstrand
8191484ee6
Wrap DH public key in a ASN.1 INTEGER wrapping.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:47:13 +00:00
Love Hörnquist Åstrand
3f70dd507f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:30:50 +00:00
Love Hörnquist Åstrand
a6a2a09c88
(gen_files_rfc2459) += asn1_DHPublicKey.x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:29:29 +00:00
Love Hörnquist Åstrand
3b929ad31f
Add DHPublicKey, and INTEGER to for storing the DH public key in the
...
SubjectPublicKeyInfo.subjectPublicKey BIT STRING.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:27:57 +00:00
Love Hörnquist Åstrand
f0bf8a5c1e
(krb5_rd_cred): try both the session key and the sender subkey. Both
...
RFC1510 and RFC4120 say that you have to use the session key, Heimdal
uses subkey.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 03:37:57 +00:00
Love Hörnquist Åstrand
57dfd2209e
(libroken_la_SOURCES) += dumpdata.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 00:02:50 +00:00
Love Hörnquist Åstrand
e0cb46351f
Add rk_dumpdata.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 23:52:24 +00:00
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
f498bc66ae
Implement correct DH for -27, now working with client.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 13:41:01 +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
28d0ef8d96
Move DH support from -19 to -27.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-21 00:40:32 +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
e6aa3d7e6b
Ignore __i686.get_pc_thunk.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-20 20:41:04 +00:00
Love Hörnquist Åstrand
39b04f72d8
Support PK-INIT-27 DH (and remove -19)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-20 19:10:29 +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
d0af14e4fe
(make_etype_info2_entry): When its a afs3-salted key, use send the
...
opaque, length 1 (with content set to 0x01) in ETYPE-INFO2-ENTRY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-19 22:01:04 +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
baee68592b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-19 16:42:21 +00:00
Love Hörnquist Åstrand
0640ce0c14
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-19 14:21:22 +00:00
Love Hörnquist Åstrand
f6d60e2846
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-15 21:59:09 +00:00
Love Hörnquist Åstrand
f22d629100
Use libtool's default values for building shared/static libaries, ie
...
remove AC_ENABLE_SHARED(no), solves building problems users have on
Mac OS X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-15 21:58:45 +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
21933fb04e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:26:25 +00:00
Love Hörnquist Åstrand
1f22a9db31
Add extensions, fill in missing fields.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:25:43 +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