Commit Graph

2412 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
310701f968 don't use path's in first .Nm, it confuses some locate.updatedb, use
FILES section to describe where the file is instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-10 13:28:45 +00:00
Love Hörnquist Åstrand
1987668bf1 add "next iv" test for aes128, check decryption case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:05:57 +00:00
Love Hörnquist Åstrand
38222b38b2 (_krb5_aes_cts_encrypt): out iv is the iv of the next to last block,
fix decryption case too


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:04:41 +00:00
Love Hörnquist Åstrand
b1c7bcffd1 add "next iv" test for aes128
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 20:48:25 +00:00
Love Hörnquist Åstrand
290b1c07d8 (_krb5_aes_cts_encrypt): out iv is the iv of the next to last block
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 20:47:21 +00:00
Love Hörnquist Åstrand
051ed5b5a1 (krb5_mk_rep): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:06:10 +00:00
Love Hörnquist Åstrand
b556de6237 (krb5_mk_rep): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:05:02 +00:00
Love Hörnquist Åstrand
a74d87717c (krb5_get_in_cred): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:42 +00:00
Love Hörnquist Åstrand
5e5a56079a (krb5_mk_priv): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:00 +00:00
Love Hörnquist Åstrand
74ee19a354 (make_pa_tgs_req): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:59:37 +00:00
Love Hörnquist Åstrand
79ec557a94 (krb5_build_authenticator): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:58:24 +00:00
Love Hörnquist Åstrand
da1b9cbc7f (krb5_build_ap_req): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:56:19 +00:00
Love Hörnquist Åstrand
653db66d34 register WRFILE ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:05:42 +00:00
Love Hörnquist Åstrand
b5f0883c6a add krb5_wrfkt_ops/WRFILE (same as FILE)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:03:22 +00:00
Love Hörnquist Åstrand
df1bac1a97 add krb5_wrfkt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:00:29 +00:00
Love Hörnquist Åstrand
9c3fc6f67f (_krb5_xlock): catch EINVAL and assume that it means that the
filesystem doesn't support locking


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-21 13:20:06 +00:00
Love Hörnquist Åstrand
b18ecb3e09 remove #if 0 out file locking code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-21 10:55:54 +00:00
Love Hörnquist Åstrand
f66a6f7987 add prototypes, describe krb5_keyblock_zero
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-08 09:01:33 +00:00
Love Hörnquist Åstrand
dd1875d0a5 (add_addrs): don't add same address multiple times
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-05 15:17:25 +00:00
Love Hörnquist Åstrand
85575388c3 (krb5_get_forwarded_creds): try to handle errors better for previous commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-05 15:00:50 +00:00
Love Hörnquist Åstrand
f342516288 (krb5_get_forwarded_creds): If tickets are address-less, forward
address-less tickets.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-05 14:44:34 +00:00
Love Hörnquist Åstrand
ff5bd23572 rename get_krbtgt to _krb5_get_krbtgt and export it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-05 14:08:04 +00:00
Love Hörnquist Åstrand
deb075eb05 protect error_string with mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 01:25:12 +00:00
Love Hörnquist Åstrand
9241394b39 allocate and destroy mutex in krb5_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 01:23:40 +00:00
Love Hörnquist Åstrand
4c81cad550 (krb5_context_data): add mutex for error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 01:21:04 +00:00
Love Hörnquist Åstrand
1d9702acee try handle ts preauth better, still not good, but at least it work
with older heimdal releases that doesn't send back
KRB5KDC_ERR_PREAUTH_REQUIRED when preauth was sent


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-17 20:44:37 +00:00
Love Hörnquist Åstrand
bc7413ea31 (_krb5_pk_create_sign): fill in NULL as parameters, required by CMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-11 08:59:07 +00:00
Love Hörnquist Åstrand
97c31914c0 add krb5_auth_con_{add,remove}flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 22:52:57 +00:00
Love Hörnquist Åstrand
aef8b69dc6 (krb5_get_in_tkt_with_keytab): avoid memory leak that snuck in when
krb5_keytab_key_proc was exported, pointed out by Panases Inc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:52:49 +00:00
Love Hörnquist Åstrand
94fde1ea7a (_krb5_xlock): fix compile error in last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:43:15 +00:00
Love Hörnquist Åstrand
11dce94342 do locking, found to be a problem for Panasas Inc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:09:26 +00:00
Love Hörnquist Åstrand
a561725fdd internally export x{,un}lock and thus prefix them with _krb5_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:05:42 +00:00
Love Hörnquist Åstrand
fd226be1f3 (krb5_get_forwarded_creds): use KRB5_AUTH_CONTEXT_DO_TIME if we want
timestamp in forwarded krb-cred


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 17:17:50 +00:00
Love Hörnquist Åstrand
da06a5604a update Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 17:09:51 +00:00
Love Hörnquist Åstrand
24e6123e23 some text about krb5_auth_con_{add,remove}flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 17:09:09 +00:00
Love Hörnquist Åstrand
2647105cbe add krb5_auth_con_addflags and krb5_auth_con_removeflags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 17:07:26 +00:00
Love Hörnquist Åstrand
dc82ab8fa2 (decrypt_internal_derived): move up padsize to avoid memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-03 13:07:41 +00:00
Love Hörnquist Åstrand
84ca0906cd require cipher-text to be padded to padsize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 16:32:25 +00:00
Love Hörnquist Åstrand
446442bdf2 EAI_ADDRFAMILY and EAI_NODATA is deprecated in RFC3493
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:32:22 +00:00
Love Hörnquist Åstrand
c8e6b409c1 (check_host): don't check for EAI_NODATA, because its depricated in RFC3493
Pointed out by Hajimu UMEMOTO <ume@mahoroba.org> on heimdal-discuss


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:25:01 +00:00
Love Hörnquist Åstrand
6d4640ff58 move test_crypto to noinst_PROGRAMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 17:33:47 +00:00
Love Hörnquist Åstrand
3676f25630 add --version,--help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 17:32:43 +00:00
Love Hörnquist Åstrand
456f102612 tweek to make pkinit work with the fact the asn1_compile can't
generate code for context tagless optionals


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 00:46:02 +00:00
Love Hörnquist Åstrand
b3b050fa31 clean up error handling, make enc-type work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 23:26:58 +00:00
Love Hörnquist Åstrand
9b2795abd8 make PKINIT DH support work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 10:53:20 +00:00
Love Hörnquist Åstrand
c90cadbe73 make pkinit_win2k_compatible into a flag field
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:14:53 +00:00
Love Hörnquist Åstrand
aff1525106 remove most compile depencies
clean up


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:13:37 +00:00
Love Hörnquist Åstrand
e3c2965c74 fix bugs, improve error reporting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:10:00 +00:00
Love Hörnquist Åstrand
8f1d37e688 clean up, make remove depenency on openssl's api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:43:27 +00:00
Love Hörnquist Åstrand
d601b85bd3 add some glue for pkinit
add reference counter to _krb5_get_init_creds_opt_private


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:40:23 +00:00