c52f7bb670
x
Love Hörnquist Åstrand
2006-01-04 20:34:04 +00:00
7dcf3289bb
add a hx509_context where we can store configuration
Love Hörnquist Åstrand
2006-01-04 20:33:31 +00:00
d5e17d6541
pkcs11 is now supported by library
Love Hörnquist Åstrand
2006-01-04 20:31:57 +00:00
0ef14a76b5
fix syntax error.
Love Hörnquist Åstrand
2006-01-04 14:57:06 +00:00
9384a0bba9
x
Love Hörnquist Åstrand
2006-01-04 14:56:26 +00:00
5952012ed9
more paranoid on refcount, set refcounter ealier, reset pointers after free
Love Hörnquist Åstrand
2006-01-04 14:55:50 +00:00
d4c217034c
(struct private_key): remove temporary key data storage, convert directly to a key (match_localkeyid): match certificate and key using localkeyid (match_keys): match certificate and key using _hx509_match_keys (_hx509_collector_collect): rewrite to use match_keys and match_localkeyid
Love Hörnquist Åstrand
2006-01-04 14:54:32 +00:00
998e7c5677
(_hx509_match_keys): function that determins if a private key matches a certificate, used when there is no localkeyid. (*) reset free pointer
Love Hörnquist Åstrand
2006-01-04 14:51:13 +00:00
d88b19a93f
x
Love Hörnquist Åstrand
2006-01-04 08:50:14 +00:00
cfbf5acaf7
Rewrite to use collector and mapping support function.
Love Hörnquist Åstrand
2006-01-04 08:50:00 +00:00
71a46fa08f
(rsa_pkcs1_method): constify
Love Hörnquist Åstrand
2006-01-04 08:23:11 +00:00
03838a117c
drop extra wrapping of p11_init
Love Hörnquist Åstrand
2006-01-04 06:41:58 +00:00
de88a56ec8
x
Love Hörnquist Åstrand
2006-01-04 06:37:15 +00:00
cda5bbd725
(_hx509_private_key_assign_key_file): use function to extra rsa key
Love Hörnquist Åstrand
2006-01-04 06:34:46 +00:00
7c75e73121
Revert previous, refcounter is unsigned, so it can never be negative.
Love Hörnquist Åstrand
2006-01-04 06:33:54 +00:00
e0753bff55
(hx509_cert_ref): more refcount paranoia
Love Hörnquist Åstrand
2006-01-04 06:32:43 +00:00
f2ebc403b0
Implement rsa_private_decrypt and add stubs for public ditto.
Love Hörnquist Åstrand
2006-01-04 06:31:28 +00:00
e54ee75622
x
Love Hörnquist Åstrand
2006-01-04 06:23:31 +00:00
c5f932ca38
Less printf, less memory leaks.
Love Hörnquist Åstrand
2006-01-04 06:23:14 +00:00
24329dc0fc
Implement signing using pkcs11.
Love Hörnquist Åstrand
2006-01-04 06:16:37 +00:00
33038f7586
Partly assign private key, enough to complete collection, but not any crypto functionallity.
Love Hörnquist Åstrand
2006-01-04 03:14:59 +00:00
971cfe76fa
Use hx509_private_key to assign private keys.
Love Hörnquist Åstrand
2006-01-04 03:13:49 +00:00
1c38c798d6
Remove most of the EVP_PKEY code, and use RSA directly, this temporary removes DSA support.
Love Hörnquist Åstrand
2006-01-04 03:03:09 +00:00
e66ec6f703
(print_f): print if there is a friendly name and if there is a private key
Love Hörnquist Åstrand
2006-01-04 03:00:49 +00:00
7531335069
x
Love Hörnquist Åstrand
2006-01-03 16:34:55 +00:00
8412fc32f1
Avoid warning from missing __attribute__((noreturn))
Love Hörnquist Åstrand
2006-01-03 16:34:13 +00:00
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.
Love Hörnquist Åstrand
2006-01-03 16:32:46 +00:00
6791e8dbf7
(_hx509_abort): add newline to output and flush stdout
Love Hörnquist Åstrand
2006-01-03 16:31:14 +00:00
231e28c6f4
libhx509_la_SOURCES += collector.c
Love Hörnquist Åstrand
2006-01-03 16:30:32 +00:00
069cfd602a
forward type declaration of struct hx509_collector.
Love Hörnquist Åstrand
2006-01-03 16:30:03 +00:00
d231839e98
Support functions to collect certificates and private keys and then match them.
Love Hörnquist Åstrand
2006-01-03 16:29:25 +00:00
1348930496
Use the new hx509_collector support functions.
Love Hörnquist Åstrand
2006-01-03 16:28:43 +00:00
93072e953d
Add enough glue to support certificate iteration.
Love Hörnquist Åstrand
2006-01-03 16:28:09 +00:00
0f1d8d383b
Less verbose.
Love Hörnquist Åstrand
2006-01-03 12:19:06 +00:00
b34cfe9fe8
less printf and memory leaks
Love Hörnquist Åstrand
2006-01-03 09:52:56 +00:00
ecfef14d45
(hx509_cert_free): if there is a private key assosited with this cert, free it
Love Hörnquist Åstrand
2006-01-03 09:41:48 +00:00
3f88fe5a90
x
Love Hörnquist Åstrand
2006-01-03 09:28:36 +00:00
106b3af386
Document options to allow select principal or credential cache when doing afslog.
Love Hörnquist Åstrand
2006-01-03 09:28:25 +00:00
44a367881b
Add options to allow select principal or credential cache when doing afslog.
Love Hörnquist Åstrand
2006-01-03 09:27:54 +00:00
82b3cfe33e
x
Love Hörnquist Åstrand
2006-01-03 08:26:38 +00:00
02d27ea231
Use _hx509_abort.
Love Hörnquist Åstrand
2006-01-03 08:26:26 +00:00
fde07b8b17
use _hx509_abort
Love Hörnquist Åstrand
2006-01-03 08:22:09 +00:00
8842cb8601
x
Love Hörnquist Åstrand
2006-01-02 22:14:53 +00:00
d3a083863a
(hx509_name_to_string): don't cut bmpString in half.
Love Hörnquist Åstrand
2006-01-02 22:13:35 +00:00
a0be6bbc6e
(hx509_name_to_string): don't overwrite with 1 byte with bmpString.
Love Hörnquist Åstrand
2006-01-02 22:11:06 +00:00
36a3388bb5
x
Love Hörnquist Åstrand
2006-01-02 15:49:26 +00:00
55b6937629
(parse_certificate): avoid stomping before array
Love Hörnquist Åstrand
2006-01-02 15:49:08 +00:00
34e449f026
Add _hx509_ks_dir_register.
Love Hörnquist Åstrand
2006-01-02 13:20:11 +00:00
b5676f89dc
(libhx509_la_SOURCES): += ks_dir.c
Love Hörnquist Åstrand
2006-01-02 13:19:38 +00:00
2dce0f8401
Remove pkcs11.
Love Hörnquist Åstrand
2006-01-02 13:18:53 +00:00
9d3f7175b2
Remove pcert_pkcs11.
Love Hörnquist Åstrand
2006-01-02 13:18:34 +00:00
13b7a732d1
Factor out certificate parsing code.
Love Hörnquist Åstrand
2006-01-02 13:01:29 +00:00
1159d1e392
Add new keystore that treats all files in a directory a keystore, useful for regression tests.
Love Hörnquist Åstrand
2006-01-02 13:00:41 +00:00
c8784a760b
x
Love Hörnquist Åstrand
2006-01-01 23:18:29 +00:00
d19715413f
ChangeLog 2005
Love Hörnquist Åstrand
2006-01-01 23:18:02 +00:00
6d3861991a
(_kdc_db_fetch): use calloc to allocate the entry, from Andrew Bartlet.
Love Hörnquist Åstrand
2006-01-01 23:17:16 +00:00
acd0a07bf9
x
Love Hörnquist Åstrand
2005-12-28 17:49:37 +00:00
404e9c3ded
Remove DCE support.
Love Hörnquist Åstrand
2005-12-21 16:06:27 +00:00
2b7b3940d4
(doit): move creation of users ticket file to later to avoid seteuid/setuid dance. this breaks DCE, so remove support for it completely.
Love Hörnquist Åstrand
2005-12-21 16:04:34 +00:00
0d9a775c46
x
Love Hörnquist Åstrand
2005-12-21 12:45:29 +00:00
da439731df
Remove dependency on config.h, breaks IRIX build, could depend on libkafs_la_OBJECTS, but that is just asking for trubble.
Love Hörnquist Åstrand
2005-12-21 12:44:50 +00:00
fdd179da74
x
Love Hörnquist Åstrand
2005-12-15 20:27:43 +00:00
5a7da8cf52
(tgs_make_reply): less const on hdb_entry_ex to make samba happy
Love Hörnquist Åstrand
2005-12-15 20:26:31 +00:00
a0976ba6de
Build kdc-private.h.
Love Hörnquist Åstrand
2005-12-15 20:18:05 +00:00
a988db194b
x
Love Hörnquist Åstrand
2005-12-14 12:18:14 +00:00
40386c602d
(tgs_rep2): also print the principal for which the enctype was missing
Love Hörnquist Åstrand
2005-12-14 12:17:58 +00:00
8e35cf338a
x
Love Hörnquist Åstrand
2005-12-14 09:54:14 +00:00
3f69c24549
x
Love Hörnquist Åstrand
2005-12-14 09:44:50 +00:00
a3b5faf72e
Drop ExceptionSpec for now, its not used.
Love Hörnquist Åstrand
2005-12-14 09:44:36 +00:00
5fd4e6325e
x
Love Hörnquist Åstrand
2005-12-13 19:44:55 +00:00
ddddd59d94
Finish up transition from hdb_entry to hdb_entry_ex.
Love Hörnquist Åstrand
2005-12-13 19:44:27 +00:00
83c3fb4698
Finish up transition from hdb_entry with hdb_entry_ex.
Love Hörnquist Åstrand
2005-12-13 19:10:44 +00:00
9d3b4783c9
Default to use the API cache on Mac OS X
Love Hörnquist Åstrand
2005-12-13 15:50:31 +00:00
7b83182c57
x
Love Hörnquist Åstrand
2005-12-13 15:42:56 +00:00
8bd0927d3b
(krb5_cc_set_default_name): use KRB5_DEFAULT_CCNAME.
Love Hörnquist Åstrand
2005-12-13 15:42:36 +00:00
2c7a8bc348
Add KRB5_DEFAULT_CCNAME, pointer to default credential cache.
Love Hörnquist Åstrand
2005-12-13 15:40:50 +00:00
9a258ca7bb
x
Love Hörnquist Åstrand
2005-12-13 14:39:41 +00:00
91026474ad
memset hdb_entry_ex before use
Love Hörnquist Åstrand
2005-12-13 11:54:10 +00:00
50fbd27e73
memset hdb_entry_ex before use
Love Hörnquist Åstrand
2005-12-13 11:46:05 +00:00
b1854aabe6
x
Love Hörnquist Åstrand
2005-12-13 11:34:18 +00:00
3148e9f3b0
(kadm5_s_get_principal): memset hdb_entry_ex before use
Love Hörnquist Åstrand
2005-12-13 11:33:59 +00:00
ddc468168e
x
Love Hörnquist Åstrand
2005-12-12 16:11:56 +00:00
7750a7a56a
Add test_nist and test_nist_pkcs12
Love Hörnquist Åstrand
2005-12-12 15:46:49 +00:00
40fdb06355
Test parse PKCS12 files from NIST.
Love Hörnquist Åstrand
2005-12-12 15:30:40 +00:00
ae852943f4
x
Love Hörnquist Åstrand
2005-12-12 15:16:05 +00:00