Commit Graph

3100 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3b766317e8 Document krb5_{ret,store}_stringnl functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:41:09 +00:00
Love Hörnquist Åstrand
2d2f459f74 Add krb5_{ret,store}_stringnl functions, stores/retrieves a \n
terminated string.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:39:13 +00:00
Love Hörnquist Åstrand
3d8e85ad37 Default to address-less tickets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:36:55 +00:00
Love Hörnquist Åstrand
0679c60ddd (krb5_get_init_creds_opt_get_error): clear error string on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:36:02 +00:00
Love Hörnquist Åstrand
5a4d04ed30 remove aes-192
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 21:37:17 +00:00
Love Hörnquist Åstrand
0cc87e8758 Remove more CMS bits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 21:37:16 +00:00
Love Hörnquist Åstrand
fdcc12bca6 Remove CMS symmetric encryption support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 10:57:44 +00:00
Love Hörnquist Åstrand
16de57a5b4 Remove duplicate to.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:28:01 +00:00
Love Hörnquist Åstrand
706ef0ecd5 (krb5_parse_name): set *principal to NULL the first thing we do, so
that on failure its set to a known value


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:30:15 +00:00
Love Hörnquist Åstrand
0af8ebf043 (krb5_storage_from_fd): don't leak fd on malloc failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 21:23:19 +00:00
Love Hörnquist Åstrand
2709915a99 (krb5_cc_new_unique): use KRB5_DEFAULT_CCNAME as the default prefix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 17:08:40 +00:00
Love Hörnquist Åstrand
7841148998 (_krb5_get_init_creds_opt_set_krb5_error): make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:54:58 +00:00
Love Hörnquist Åstrand
a65edfb82d Save KRB-ERROR on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:40:25 +00:00
Love Hörnquist Åstrand
07f13d1815 Add storing and getting KRB-ERROR int the krb5_get_init_creds_opt structure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:38:36 +00:00
Love Hörnquist Åstrand
85750eaf7a (_krb5_get_init_creds_opt_private): add KRB-ERROR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:37:30 +00:00
Love Hörnquist Åstrand
bbf8d9a7e4 Document krb5_get_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 21:36:28 +00:00
Love Hörnquist Åstrand
88a91a9441 (get_init_creds_common): drop cred argument, its unused
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 14:43:16 +00:00
Love Hörnquist Åstrand
ecfb6a6c11 install krb5_get_creds.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 14:20:59 +00:00
Love Hörnquist Åstrand
390dc0d2ab Allow setting additional tickets in the tgs-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 21:22:54 +00:00
Love Hörnquist Åstrand
f030cab6b9 (krb5_get_creds): add KRB5_GC_NO_TRANSIT_CHECK
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:04:13 +00:00
Love Hörnquist Åstrand
7333ba3253 Add KRB5_GC_NO_TRANSIT_CHECK
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:02:49 +00:00
Love Hörnquist Åstrand
395f57398c Add impersonate support functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:57:47 +00:00
Love Hörnquist Åstrand
eb409f99aa Add impersonate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:57:16 +00:00
Love Hörnquist Åstrand
5558349b3e Add krb5_get_creds_opt_data and some more KRB5_GC flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:52:33 +00:00
Love Hörnquist Åstrand
d60350c3a1 Avoid more shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 18:17:58 +00:00
Love Hörnquist Åstrand
a70780b23f spelling Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 14:55:18 +00:00
Love Hörnquist Åstrand
4c970b550e Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:22:55 +00:00
Love Hörnquist Åstrand
ed43c02499 Add KRB5_PROMPT_TYPE_INFO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 04:56:54 +00:00
Love Hörnquist Åstrand
7785a29dbf Hidden field of hx509 prompter is removed.
Fix a warning.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:17:19 +00:00
Love Hörnquist Åstrand
d08f2e3a09 (_krb5_pk_load_id): only use password if its longer then 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:56:54 +00:00
Love Hörnquist Åstrand
dff342ed10 Various tweaks, from Jason McIntyre.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:43:44 +00:00
Love Hörnquist Åstrand
1e12165c58 (krb5_get_init_creds_opt_set_pkinit): move parsing of the
configuration file to the library so application doesn't need to deal
with it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:01 +00:00
Love Hörnquist Åstrand
66cc779e91 (_krb5_pk_load_id): pass the hx509_lock to when trying to read the
user certificate.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:03:10 +00:00
Love Hörnquist Åstrand
60736cd1ec (hx_pass_prompter): return 0 on success and 1 on failure. Pointed out
by Douglas E. Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 06:59:56 +00:00
Love Hörnquist Åstrand
464d720b1c Catches both keyed checkout w/o crypto context cases and doesn't reset
the string, and corrects the grammar.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:47:24 +00:00
Love Hörnquist Åstrand
a6dbbc8629 Drop aes-cbc, rc2 and CMS padding support, its all containted in
libhcrypto and libhx509 now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:45:28 +00:00
Love Hörnquist Åstrand
3c6cb82e67 Less "pointer targets in passing argument differ in signedness" warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:27:49 +00:00
Love Hörnquist Åstrand
64f9c706ec (_krb5_pk_verify_sign): Use hx509_get_one_cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:32:38 +00:00
Love Hörnquist Åstrand
c5a313c313 (create_checksum): provide a error message that a key checksum needs a key.
From Andew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:20:30 +00:00
Love Hörnquist Åstrand
9f59e70024 Now that hcrypto supports DH, remove check for hx509 null DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:24:54 +00:00
Love Hörnquist Åstrand
2fd4a77e66 Spelling/mdoc from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:18:39 +00:00
Love Hörnquist Åstrand
94c88846ef Spelling/mdoc from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:13:18 +00:00
Love Hörnquist Åstrand
ba1492d065 (fkt_next_entry_int): read the 32 bit kvno if the reset of the data is
longer then 4 bytes in hope to be forward compatible. Pointed out by
Michael B Allen.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 12:36:57 +00:00
Love Hörnquist Åstrand
348b5d79c4 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:31:15 +00:00
Love Hörnquist Åstrand
51476c2b24 Add test_store to TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:11:22 +00:00
Love Hörnquist Åstrand
b3fc06db32 Catch using hx509 null DH and print a more useful error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 07:33:33 +00:00
Love Hörnquist Åstrand
809f1eef77 Rewrite the krb5_ret_u as proposed by Johan.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 07:15:18 +00:00
Johan Danielsson
9823db8f2a change some casts from unsigned to signed types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:46:45 +00:00
Johan Danielsson
a0be47c4ec (krb5_store_uint16): change parameter to match function name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:45:00 +00:00
Johan Danielsson
c9a10c7d6a replace u_intN_t with uintN_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:42:50 +00:00