Commit Graph

3116 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
83b9ad094c Document ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:40:35 +00:00
Love Hörnquist Åstrand
93f0be5d42 Use the new unsigned integer storage types. Fail that the address
doesn't match, not the reverse.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:21:07 +00:00
Love Hörnquist Åstrand
1d230f8bae (krb5_ret_uint32): fix typecast
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:51 +00:00
Love Hörnquist Åstrand
3da792b3fa Add ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:08 +00:00
Love Hörnquist Åstrand
3569569378 Test the integer storage types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:15:07 +00:00
Love Hörnquist Åstrand
294a6cc6e0 (krb5_store_principal): make it take a krb5_const_principal, indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:58:04 +00:00
Love Hörnquist Åstrand
2c66c7c02b krb5_store_principal takes a krb5_const_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:57:35 +00:00
Love Hörnquist Åstrand
9b824aa05f Deal with that hx509_prompt.reply is no longer a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:56:27 +00:00
Love Hörnquist Åstrand
bba691f8a8 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 09:26:31 +00:00
Love Hörnquist Åstrand
e0c1c293c5 update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 08:48:56 +00:00
Love Hörnquist Åstrand
40230797a3 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 08:48:55 +00:00
Love Hörnquist Åstrand
8a0179a06a Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:13:03 +00:00
Love Hörnquist Åstrand
2644ec46b0 update .Dd and (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:09:16 +00:00
Love Hörnquist Åstrand
0c4a59b643 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:05:07 +00:00
Love Hörnquist Åstrand
fe0b3a491c Spelling, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:01:18 +00:00
Love Hörnquist Åstrand
fa7b5da860 (cert2epi): don't include subject if its null
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 07:36:27 +00:00
Love Hörnquist Åstrand
92ed76e969 Send over what trust anchors the client have configured.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 21:29:28 +00:00
Love Hörnquist Åstrand
03276c9ead (pk_verify_host): set better error string, only check kdc name/address
when we got a hostname/address passed in the the function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 15:04:42 +00:00
Love Hörnquist Åstrand
e5194fdc60 (pk_verify_host): verify hostname/address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 11:23:35 +00:00
Love Hörnquist Åstrand
25f574426e (_krb5_pk_allow_proxy_certificate); less arguments better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:54:16 +00:00
Love Hörnquist Åstrand
53905171a0 (_krb5_pk_allow_proxy_certificates): expose hx509_verify_set_proxy_certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:41:40 +00:00
Love Hörnquist Åstrand
2894e05a71 Remove a double free introduced in 1.93
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:16:14 +00:00
Love Hörnquist Åstrand
b24395ffde (log_file): reset pointer to freed memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:09:27 +00:00
Love Hörnquist Åstrand
4ba57d49e9 (get_cell_and_realm): reset d->cell to make sure its not refereced
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:06:57 +00:00
Love Hörnquist Åstrand
61b5a1a5df indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:16:36 +00:00
Love Hörnquist Åstrand
4049e76902 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:49:08 +00:00
Love Hörnquist Åstrand
2157835b75 Pass down realm to pk_verify_host so the function can verify the
certificate is from the right realm.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:23:47 +00:00
Love Hörnquist Åstrand
a49278a8b4 Pass down realm to _krb5_pk_rd_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:21:52 +00:00
Love Hörnquist Åstrand
4828d9e4e4 (pk_verify_host): Add begining of finding subjectAltName_otherName
pk-init-san and verifing it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:30:17 +00:00
Love Hörnquist Åstrand
0a1e672d85 reindent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:14:07 +00:00
Love Hörnquist Åstrand
9578393792 Add pkinit_require_eku and pkinit_require_krbtgt_otherName
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:07:51 +00:00
Love Hörnquist Åstrand
313fa917d5 Adapt to change in hx509_cms_create_signed_1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 12:10:16 +00:00
Love Hörnquist Åstrand
e43d859600 Handle diffrences between libhcrypto and libcrypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-20 17:08:46 +00:00
Love Hörnquist Åstrand
c3e1233f63 (krb5_rd_safe): fix argument to krb5_data_zero, handle message size = 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 16:20:03 +00:00