Commit Graph

15896 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e66ec6f703 (print_f): print if there is a friendly name and if there is a private key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 03:00:49 +00:00
Love Hörnquist Åstrand
7531335069 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:34:55 +00:00
Love Hörnquist Åstrand
8412fc32f1 Avoid warning from missing __attribute__((noreturn))
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:34:13 +00:00
Love Hörnquist Åstrand
3580639950 (_hx509_lock_unlock_certs): return unlock certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:33:30 +00:00
Love Hörnquist Åstrand
5d2485dd68 (_hx509_private_key_assign_ptr): new function, exposes EVP_PKEY
(_hx509_private_key_assign_key_file): remember to free private key if
there is one.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:32:46 +00:00
Love Hörnquist Åstrand
6791e8dbf7 (_hx509_abort): add newline to output and flush stdout
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:31:14 +00:00
Love Hörnquist Åstrand
231e28c6f4 libhx509_la_SOURCES += collector.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:30:32 +00:00
Love Hörnquist Åstrand
069cfd602a forward type declaration of struct hx509_collector.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:30:03 +00:00
Love Hörnquist Åstrand
d231839e98 Support functions to collect certificates and private keys and then match them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:29:25 +00:00
Love Hörnquist Åstrand
1348930496 Use the new hx509_collector support functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:28:43 +00:00
Love Hörnquist Åstrand
93072e953d Add enough glue to support certificate iteration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:28:09 +00:00
Love Hörnquist Åstrand
0f1d8d383b Less verbose.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 12:19:06 +00:00
Love Hörnquist Åstrand
b34cfe9fe8 less printf and memory leaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 09:52:56 +00:00
Love Hörnquist Åstrand
ecfef14d45 (hx509_cert_free): if there is a private key assosited with this cert, free it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 09:41:48 +00:00
Love Hörnquist Åstrand
3f88fe5a90 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 09:28:36 +00:00
Love Hörnquist Åstrand
106b3af386 Document options to allow select principal or credential cache when
doing afslog.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 09:28:25 +00:00
Love Hörnquist Åstrand
44a367881b Add options to allow select principal or credential cache when doing afslog.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 09:27:54 +00:00
Love Hörnquist Åstrand
82b3cfe33e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:26:38 +00:00
Love Hörnquist Åstrand
02d27ea231 Use _hx509_abort.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:26:26 +00:00
Love Hörnquist Åstrand
fde07b8b17 use _hx509_abort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:22:09 +00:00
Love Hörnquist Åstrand
8842cb8601 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:14:53 +00:00
Love Hörnquist Åstrand
d3a083863a (hx509_name_to_string): don't cut bmpString in half.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:13:35 +00:00
Love Hörnquist Åstrand
a0be6bbc6e (hx509_name_to_string): don't overwrite with 1 byte with bmpString.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:11:06 +00:00
Love Hörnquist Åstrand
36a3388bb5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:49:26 +00:00
Love Hörnquist Åstrand
55b6937629 (parse_certificate): avoid stomping before array
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:49:08 +00:00
Love Hörnquist Åstrand
6fd2be56ae (oidtostring): avoid leaking memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:48:24 +00:00
Love Hörnquist Åstrand
34e449f026 Add _hx509_ks_dir_register.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:20:11 +00:00
Love Hörnquist Åstrand
b5676f89dc (libhx509_la_SOURCES): += ks_dir.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:19:38 +00:00
Love Hörnquist Åstrand
2dce0f8401 Remove pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:53 +00:00
Love Hörnquist Åstrand
9d3f7175b2 Remove pcert_pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:34 +00:00
Love Hörnquist Åstrand
13b7a732d1 Factor out certificate parsing code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:01:29 +00:00
Love Hörnquist Åstrand
1159d1e392 Add new keystore that treats all files in a directory a keystore,
useful for regression tests.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:00:41 +00:00
Love Hörnquist Åstrand
c8784a760b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-01 23:18:29 +00:00
Love Hörnquist Åstrand
d19715413f ChangeLog 2005
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-01 23:18:02 +00:00
Love Hörnquist Åstrand
6d3861991a (_kdc_db_fetch): use calloc to allocate the entry, from Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-01 23:17:16 +00:00
Love Hörnquist Åstrand
acd0a07bf9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-28 17:49:37 +00:00
Love Hörnquist Åstrand
404e9c3ded Remove DCE support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 16:06:27 +00:00
Love Hörnquist Åstrand
2b7b3940d4 (doit): move creation of users ticket file to later to avoid
seteuid/setuid dance. this breaks DCE, so remove support for it
completely.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 16:04:34 +00:00
Love Hörnquist Åstrand
0d9a775c46 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 12:45:29 +00:00
Love Hörnquist Åstrand
da439731df Remove dependency on config.h, breaks IRIX build, could depend on
libkafs_la_OBJECTS, but that is just asking for trubble.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 12:44:50 +00:00
Love Hörnquist Åstrand
fdd179da74 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-15 20:27:43 +00:00
Love Hörnquist Åstrand
5a7da8cf52 (tgs_make_reply): less const on hdb_entry_ex to make samba happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-15 20:26:31 +00:00
Love Hörnquist Åstrand
a0976ba6de Build kdc-private.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-15 20:18:05 +00:00
Love Hörnquist Åstrand
a988db194b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 12:18:14 +00:00
Love Hörnquist Åstrand
40386c602d (tgs_rep2): also print the principal for which the enctype was missing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 12:17:58 +00:00
Love Hörnquist Åstrand
8e35cf338a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:54:14 +00:00
Love Hörnquist Åstrand
3f69c24549 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:50 +00:00
Love Hörnquist Åstrand
a3b5faf72e Drop ExceptionSpec for now, its not used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:36 +00:00
Love Hörnquist Åstrand
5fd4e6325e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 19:44:55 +00:00
Love Hörnquist Åstrand
ddddd59d94 Finish up transition from hdb_entry to hdb_entry_ex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 19:44:27 +00:00