Love Hörnquist Åstrand
9cfdb7f017
Maybe include <sys/sysctl.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-02 03:14:47 +00:00
Love Hörnquist Åstrand
2a6e781bff
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:41:33 +00:00
Love Hörnquist Åstrand
cd2ce0c2a6
Add option --list-caches that lists the avaible caches and their status.
...
$ klist --list-caches
Principal Cache name Status
lha@E.KTH.SE 2 Valid
lha@SU.SE 1 Expired
lha/root@SU.SE 0 Expired
lha@N.L.NXS.SE Initial default ccache Expired
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:39:59 +00:00
Love Hörnquist Åstrand
02a6d6bf99
Return KRB5_CC_NOSUPP for ccErrServerUnavailable.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:37:12 +00:00
Love Hörnquist Åstrand
a1ed69cd38
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 02:56:32 +00:00
Love Hörnquist Åstrand
c9f13ad9b3
Support the new MacOS X 10.4 ioctl interface that is a device
...
node. Patched from Tomas Olson <tol@it.su.se >.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 02:55:55 +00:00
Love Hörnquist Åstrand
5be5faa722
Use all DES keys, not just des-cbc-md5, verify that they all are the same.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 11:20:53 +00:00
Love Hörnquist Åstrand
5cfc8bd58c
Implement the cache iteration functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 11:16:04 +00:00
Love Hörnquist Åstrand
5ddc2e0774
Implement the cache iteration functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:10:09 +00:00
Love Hörnquist Åstrand
5eb65a941e
Test the new cache iteration functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:08:01 +00:00
Love Hörnquist Åstrand
e0a769c950
Add cache iteration funcations. Add internal allocation function for
...
the memory of a krb5_ccache, and use it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:07:26 +00:00
Love Hörnquist Åstrand
ffe74eddd9
(krb5_cc_ops): add cache iteration functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:04:48 +00:00
Love Hörnquist Åstrand
f8dce1d55e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:07:19 +00:00
Love Hörnquist Åstrand
aa37b056a2
Check for <stdint.h> and uintptr_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:06:36 +00:00
Love Hörnquist Åstrand
38c5dbe857
Move rk_UNCONST to roken.h.in since it might use uintptr_t depending
...
on avaibility.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:05:58 +00:00
Love Hörnquist Åstrand
2440d579fb
Include <stdint.h> if it exists.
...
If avaiable, use uintptr_t to define rk_UNCONST.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:04:54 +00:00
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