]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Sat, 14 Jul 2012 08:42:25 +0000 (10:42 +0200)]
Allow generation of system and user keys.
Nikos Mavrogiannopoulos [Sat, 14 Jul 2012 08:38:27 +0000 (10:38 +0200)]
Allow handling of user and system keys.
Nikos Mavrogiannopoulos [Sat, 14 Jul 2012 08:11:49 +0000 (10:11 +0200)]
minor fixes in TPM code
Nikos Mavrogiannopoulos [Sat, 14 Jul 2012 07:56:52 +0000 (09:56 +0200)]
Enabled the generation of signing keys.
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 19:16:07 +0000 (21:16 +0200)]
Added functions that import any kind of URL into abstract public and private keys.
Added:
gnutls_pubkey_import_url()
gnutls_privkey_import_url()
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 16:02:13 +0000 (18:02 +0200)]
When verifying a certificate chain make sure it is chain.
If the chain is interrupted (wrong) at some point then truncate,
only try to verify the correct part. Patch by David Woodhouse.
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 15:36:19 +0000 (17:36 +0200)]
Allow gnutls-cli to be used with tpmkey urls
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 15:22:06 +0000 (17:22 +0200)]
Added flag to disable the use of callbacks in TPM keys.
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 15:09:55 +0000 (17:09 +0200)]
Added ability to request PIN from a TPM URL. It uses the PKCS11 PIN function.
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:48:34 +0000 (13:48 +0200)]
corrected function call
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:47:43 +0000 (13:47 +0200)]
Added gnutls_pkcs11_advset_pin_function and gnutls_pkcs11_advset_token_function
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:36:59 +0000 (13:36 +0200)]
doc fix
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:34:32 +0000 (13:34 +0200)]
do not list parent in URL.
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:33:08 +0000 (13:33 +0200)]
Allow tpmkey: urls in set_key_file()
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:19:27 +0000 (13:19 +0200)]
Added support for legacy key
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:12:34 +0000 (13:12 +0200)]
documented updates
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:12:23 +0000 (13:12 +0200)]
pubkey option can now accept a url
Nikos Mavrogiannopoulos [Fri, 13 Jul 2012 11:12:05 +0000 (13:12 +0200)]
small fixes in TPM support
Nikos Mavrogiannopoulos [Thu, 12 Jul 2012 16:35:49 +0000 (18:35 +0200)]
internal functions marked as static
Nikos Mavrogiannopoulos [Wed, 11 Jul 2012 23:03:21 +0000 (01:03 +0200)]
Added functions to handle TPM stored keys.
Not everything is on working state.
Nikos Mavrogiannopoulos [Wed, 11 Jul 2012 21:47:58 +0000 (23:47 +0200)]
Allow importing a public key from UUID
Nikos Mavrogiannopoulos [Wed, 11 Jul 2012 21:34:57 +0000 (23:34 +0200)]
Added the option to register a key
Nikos Mavrogiannopoulos [Wed, 11 Jul 2012 19:32:06 +0000 (21:32 +0200)]
Added option to load a TPM key from an UUID (untested)
Nikos Mavrogiannopoulos [Sun, 8 Jul 2012 20:24:33 +0000 (22:24 +0200)]
Common handling of error codes.
Nikos Mavrogiannopoulos [Sun, 8 Jul 2012 19:39:31 +0000 (21:39 +0200)]
combined TPM initialization.
Nikos Mavrogiannopoulos [Sun, 8 Jul 2012 19:04:23 +0000 (21:04 +0200)]
TPM key generation allows for arbitrary RSA key bits, but quantizes them to the minimum allowed value that is larger than input.
Nikos Mavrogiannopoulos [Sun, 8 Jul 2012 12:08:38 +0000 (14:08 +0200)]
Added functionality to extract the pubkey key from a TPM key.
Added new function gnutls_pubkey_import_tpm_raw(). tpmtool can now
print the pubkey key from a TPM key.
Nikos Mavrogiannopoulos [Sun, 8 Jul 2012 11:13:40 +0000 (13:13 +0200)]
simplified base64 encoding/decoding functions by using a datum.
Nikos Mavrogiannopoulos [Fri, 6 Jul 2012 20:34:35 +0000 (22:34 +0200)]
no url in tpmtool
Nikos Mavrogiannopoulos [Fri, 6 Jul 2012 20:27:38 +0000 (22:27 +0200)]
Added tpmtool.
It is a tool to generate TPM private keys. In addition
gnutls_tpm_privkey_generate() was added.
Nikos Mavrogiannopoulos [Fri, 6 Jul 2012 17:29:35 +0000 (19:29 +0200)]
no tpm test
Nikos Mavrogiannopoulos [Fri, 6 Jul 2012 17:28:03 +0000 (19:28 +0200)]
distinguish password errors and use the internal octet string decoding functions.
Nikos Mavrogiannopoulos [Wed, 4 Jul 2012 20:53:00 +0000 (22:53 +0200)]
Added initial support for TPM keys.
Nikos Mavrogiannopoulos [Wed, 4 Jul 2012 15:49:51 +0000 (17:49 +0200)]
A deinit function implies GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE. Based on patch by David Woodhouse.
Nikos Mavrogiannopoulos [Tue, 3 Jul 2012 18:42:33 +0000 (20:42 +0200)]
Added gnutls_privkey_import_ext2()
This function allows to specify a deinitialization function.
Nikos Mavrogiannopoulos [Mon, 2 Jul 2012 17:50:03 +0000 (19:50 +0200)]
gnutls_x509_privkey_import_openssl() works only with PEM files.
Nikos Mavrogiannopoulos [Mon, 2 Jul 2012 17:48:35 +0000 (19:48 +0200)]
comment put in context
Nikos Mavrogiannopoulos [Mon, 2 Jul 2012 17:46:36 +0000 (19:46 +0200)]
Check for PEM headers before DEK-Info.
Nikos Mavrogiannopoulos [Mon, 2 Jul 2012 11:35:12 +0000 (13:35 +0200)]
Handle EC DER keys.
Nikos Mavrogiannopoulos [Mon, 2 Jul 2012 17:41:46 +0000 (19:41 +0200)]
Added test application that tests GNUTLS_E_LARGE_PACKET and modifies the MTU size during handshake.
Nikos Mavrogiannopoulos [Sat, 30 Jun 2012 16:54:13 +0000 (18:54 +0200)]
added missing function
David Woodhouse [Fri, 29 Jun 2012 23:07:49 +0000 (00:07 +0100)]
Return GNUTLS_E_LARGE_PACKET instead of truncating when sending DTLS record
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 23:47:26 +0000 (01:47 +0200)]
fix
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 23:46:19 +0000 (01:46 +0200)]
no need to check for DTLS
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 23:44:39 +0000 (01:44 +0200)]
no need for _gnutls prefix.
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 23:42:14 +0000 (01:42 +0200)]
only block ciphers need 1 byte padding.
David Woodhouse [Fri, 29 Jun 2012 21:08:24 +0000 (22:08 +0100)]
Fix documentation for gnutls_dtls_set_mtu()
It *isn't* the interface MTU, it's the transport MTU.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 23:00:28 +0000 (01:00 +0200)]
sign fixes
David Woodhouse [Fri, 29 Jun 2012 20:14:25 +0000 (21:14 +0100)]
Add gnutls_dtls_set_data_mtu()
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 22:35:56 +0000 (00:35 +0200)]
gnutls_dtls_get_data_mtu() is more precise. Based on patch by David Woodhouse.
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 14:40:30 +0000 (16:40 +0200)]
cleaned up errno handling.
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 14:36:03 +0000 (16:36 +0200)]
Added Camellia-192-CBC algorithm identifier.
Based on patch by David Woodhouse.
Nikos Mavrogiannopoulos [Fri, 29 Jun 2012 14:27:30 +0000 (16:27 +0200)]
Included more algorithms in openssl privkey decryption.
Nikos Mavrogiannopoulos [Thu, 28 Jun 2012 21:25:31 +0000 (23:25 +0200)]
Added functions gnutls_x509_privkey_import2 and gnutls_x509_privkey_import_openssl.
The former imports keys in arbitrary formats and the latter imports openssl keys (unfinished).
Nikos Mavrogiannopoulos [Thu, 28 Jun 2012 19:55:10 +0000 (21:55 +0200)]
doc fixes
Nikos Mavrogiannopoulos [Thu, 28 Jun 2012 19:49:20 +0000 (21:49 +0200)]
document the gnutls_pcert_st
Nikos Mavrogiannopoulos [Thu, 28 Jun 2012 19:44:25 +0000 (21:44 +0200)]
use new functions.
Nikos Mavrogiannopoulos [Thu, 28 Jun 2012 19:27:21 +0000 (21:27 +0200)]
doc fix
Nikos Mavrogiannopoulos [Thu, 28 Jun 2012 19:21:33 +0000 (21:21 +0200)]
Return GNUTLS_E_LARGE_PACKET when errno is EMSGSIZE
Nikos Mavrogiannopoulos [Mon, 25 Jun 2012 22:11:05 +0000 (00:11 +0200)]
added missing file
Nikos Mavrogiannopoulos [Mon, 25 Jun 2012 19:15:52 +0000 (21:15 +0200)]
Splitted Lucas' contribution to allow incorporation.
Nikos Mavrogiannopoulos [Mon, 25 Jun 2012 17:39:43 +0000 (19:39 +0200)]
Dot require load-privkey for to-p12
Nikos Mavrogiannopoulos [Sun, 24 Jun 2012 18:56:43 +0000 (20:56 +0200)]
document limitations
Nikos Mavrogiannopoulos [Sun, 24 Jun 2012 18:30:59 +0000 (20:30 +0200)]
Updated Lucas' patch
Nikos Mavrogiannopoulos [Sun, 24 Jun 2012 18:25:45 +0000 (20:25 +0200)]
updated doc
Lucas Fisher [Sat, 23 Jun 2012 21:50:52 +0000 (17:50 -0400)]
Certtool exports multiple keys in PKCS12 file
Update certtool to export multiple keys in a PKCS12 file so multiple
certificate/key pairs may be included in one file.
- Add load_privkey_list() so that --load-privkey loads multiple keys
- Change generate_pkcs12() to add multiple keys to the PKCS12 file
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Thu, 21 Jun 2012 20:20:44 +0000 (22:20 +0200)]
updated versions
Nikos Mavrogiannopoulos [Thu, 21 Jun 2012 20:09:16 +0000 (22:09 +0200)]
Added functions to directly load a private key.
They allow loading a data buffer into a gnutls_privkey_t without
going through cumbersome convertions.
Nikos Mavrogiannopoulos [Thu, 21 Jun 2012 19:24:16 +0000 (21:24 +0200)]
Added gnutls_load_file().
Nikos Mavrogiannopoulos [Thu, 21 Jun 2012 18:57:38 +0000 (20:57 +0200)]
Use the label when looking for a certificate or private key in PKCS #11.
Patch by David Woodhouse.
Nikos Mavrogiannopoulos [Wed, 20 Jun 2012 17:55:04 +0000 (19:55 +0200)]
moved symbol
Diego Elio Pettenò [Fri, 15 Jun 2012 19:19:12 +0000 (12:19 -0700)]
build: make sure to declare the generated source files as BUILT_SOURCES
This allows proper building when using parallel make on a multi-core
system.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 18 Jun 2012 22:38:57 +0000 (00:38 +0200)]
correct comparison of sent data in dtls-stress.
Nikos Mavrogiannopoulos [Sun, 10 Jun 2012 19:33:47 +0000 (21:33 +0200)]
small fix
Simon Josefsson [Mon, 11 Jun 2012 10:45:49 +0000 (12:45 +0200)]
Update to libtasn1 2.13.
Nikos Mavrogiannopoulos [Sun, 10 Jun 2012 10:31:33 +0000 (12:31 +0200)]
removed old news entry
Nikos Mavrogiannopoulos [Sun, 10 Jun 2012 10:31:23 +0000 (12:31 +0200)]
updated TODO
Nikos Mavrogiannopoulos [Sun, 10 Jun 2012 00:25:13 +0000 (02:25 +0200)]
Added flag GNUTLS_PKCS12_SP_INCLUDE_SELF_SIGNED for gnutls_pkcs12_simple_parse().
Nikos Mavrogiannopoulos [Sun, 10 Jun 2012 00:15:05 +0000 (02:15 +0200)]
deinitialize extra certs if they are empty.
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 13:42:45 +0000 (15:42 +0200)]
Revert "documented pin_callback expectations."
This reverts commit
2576a9d933e4f29f69a7182faa9c4210eeec8fee .
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 13:41:30 +0000 (15:41 +0200)]
added author of code.
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 12:12:44 +0000 (14:12 +0200)]
more files to ignore
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 12:10:44 +0000 (14:10 +0200)]
In tokens that allow multiple sessions make the private key session persistent.
This prevents asking for PIN on every private key operation.
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 09:56:24 +0000 (11:56 +0200)]
When generating a pkcs12 structure with multiple certificates set a friendly name only on the first one.
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 09:48:26 +0000 (11:48 +0200)]
removed entry which was included in 3.0.20
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 09:48:02 +0000 (11:48 +0200)]
Fixed leaks in PKCS #8 decoding
Nikos Mavrogiannopoulos [Sat, 9 Jun 2012 09:02:07 +0000 (11:02 +0200)]
Changed prototype for gnutls_pkcs12_simple_parse() to simplify chain building.
Nikos Mavrogiannopoulos [Fri, 8 Jun 2012 07:20:32 +0000 (09:20 +0200)]
documented pin_callback expectations.
Nikos Mavrogiannopoulos [Thu, 7 Jun 2012 20:20:26 +0000 (22:20 +0200)]
removed unused functions.
Nikos Mavrogiannopoulos [Thu, 7 Jun 2012 20:17:16 +0000 (22:17 +0200)]
simplified check for win32
Nikos Mavrogiannopoulos [Thu, 7 Jun 2012 20:13:32 +0000 (22:13 +0200)]
Print the fingerprint only in the first certificate in the chain.
Nikos Mavrogiannopoulos [Thu, 7 Jun 2012 20:05:56 +0000 (22:05 +0200)]
GNUTLS_E_ENCRYPTED_STRUCTURE is no more.
Nikos Mavrogiannopoulos [Thu, 7 Jun 2012 16:12:59 +0000 (18:12 +0200)]
Added support for an old version of the DTLS protocol
used by openconnect vpn client for compatibility with Cisco's AnyConnect
SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols
as it has issues.
Nikos Mavrogiannopoulos [Wed, 6 Jun 2012 19:17:13 +0000 (21:17 +0200)]
corrected function name
Nikos Mavrogiannopoulos [Wed, 6 Jun 2012 19:11:48 +0000 (21:11 +0200)]
Options --benchmark-tls was split to --benchmark-tls-kx
Nikos Mavrogiannopoulos [Wed, 6 Jun 2012 19:04:51 +0000 (21:04 +0200)]
Added keys of equivalent security levels.
Mark Brand [Wed, 6 Jun 2012 08:09:48 +0000 (10:09 +0200)]
add missing include wincrypt.h
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Tue, 5 Jun 2012 21:00:59 +0000 (23:00 +0200)]
mention retrieve_function2
Nikos Mavrogiannopoulos [Tue, 5 Jun 2012 20:41:24 +0000 (22:41 +0200)]
corrected invalid char
Nikos Mavrogiannopoulos [Tue, 5 Jun 2012 18:36:33 +0000 (20:36 +0200)]
updates in latex build