]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Sat, 30 Jan 2016 10:15:13 +0000 (11:15 +0100)]
Revert "Fix out-of-bounds read in gnutls_x509_ext_export_key_usage"
This was not really an out-of-bounds check. Added documentation
to make that clear.
This reverts commit
ffbc9aaea7dcf29c03784d128b83f0682357858d .
Nikos Mavrogiannopoulos [Thu, 28 Jan 2016 12:14:14 +0000 (13:14 +0100)]
certtool: corrected email escaping in texinfo
Nikos Mavrogiannopoulos [Thu, 28 Jan 2016 09:45:17 +0000 (10:45 +0100)]
Replaced select() system call with poll() on POSIX systems
This allows to use the default gnutls functions with file descriptors
over the maximum supported by select.
Nikos Mavrogiannopoulos [Mon, 25 Jan 2016 10:08:21 +0000 (11:08 +0100)]
tests: windows: fixed check-output call
Nikos Mavrogiannopoulos [Fri, 22 Jan 2016 15:34:29 +0000 (16:34 +0100)]
tests: added dummy functions used by CAPI32 implementation
Nikos Mavrogiannopoulos [Fri, 22 Jan 2016 15:33:48 +0000 (16:33 +0100)]
tests: better checking for failure in windows cng check
Nikos Mavrogiannopoulos [Fri, 22 Jan 2016 11:59:47 +0000 (12:59 +0100)]
system-key-win: call CertFreeCertificateContext()
Bjørn Christensen [Fri, 22 Jan 2016 10:52:21 +0000 (11:52 +0100)]
system-key-win: added interface to CAPI, old style crypto api on windows
Nikos Mavrogiannopoulos [Thu, 21 Jan 2016 13:45:56 +0000 (14:45 +0100)]
certtool: corrected texinfo output for krb5_principal
Nikos Mavrogiannopoulos [Thu, 21 Jan 2016 11:58:56 +0000 (12:58 +0100)]
tests: priorities: account for the addition of CHACHA20-POLY1305
Nikos Mavrogiannopoulos [Thu, 21 Jan 2016 11:00:33 +0000 (12:00 +0100)]
CHACHA20_POLY1305 was added to the default priority strings
That is the NORMAL and PERFORMANCE priority strings now will
enable CHACHA20-POLY1305 by default.
Nikos Mavrogiannopoulos [Mon, 18 Jan 2016 17:38:36 +0000 (18:38 +0100)]
gnutls_global_init: log gnutls' version on initialization
Nikos Mavrogiannopoulos [Mon, 18 Jan 2016 14:56:02 +0000 (15:56 +0100)]
doc: corrected typo [ci skip]
Nikos Mavrogiannopoulos [Sat, 16 Jan 2016 19:54:20 +0000 (20:54 +0100)]
README: added trousers to list of dependencies [ci skip]
Nikos Mavrogiannopoulos [Sat, 16 Jan 2016 19:43:42 +0000 (20:43 +0100)]
tests: added check for KRB5Principal output
Resolves #67
Nikos Mavrogiannopoulos [Thu, 14 Jan 2016 16:16:00 +0000 (17:16 +0100)]
README.md -> README-alpha.md
Nikos Mavrogiannopoulos [Thu, 14 Jan 2016 16:09:23 +0000 (17:09 +0100)]
updated copyright info
Nikos Mavrogiannopoulos [Thu, 14 Jan 2016 16:04:54 +0000 (17:04 +0100)]
README: auto-generated from README-install.md
Nikos Mavrogiannopoulos [Thu, 14 Jan 2016 13:50:34 +0000 (14:50 +0100)]
gnutls_int.h: increased MAX_SERVER_NAME_SIZE to 256 bytes
Nikos Mavrogiannopoulos [Wed, 13 Jan 2016 12:14:55 +0000 (13:14 +0100)]
gnutls_pubkey_import_x509_raw: fixed memory leak
Nikos Mavrogiannopoulos [Fri, 8 Jan 2016 15:26:21 +0000 (16:26 +0100)]
tests: added check for the krb5_principal template option
Nikos Mavrogiannopoulos [Mon, 11 Jan 2016 14:11:41 +0000 (15:11 +0100)]
certtool: introduced the krb5_principal template option
Nikos Mavrogiannopoulos [Mon, 11 Jan 2016 14:09:23 +0000 (15:09 +0100)]
x509: introduced GNUTLS_SAN_OTHERNAME_KRB5PRINCIPAL
That allows to print and write KRB5PrincipalName othernames
in subject alternative name.
Nikos Mavrogiannopoulos [Mon, 11 Jan 2016 14:19:24 +0000 (15:19 +0100)]
x509: place newline when printing unsupported othernames
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 15:05:41 +0000 (16:05 +0100)]
x509: moved virtual subject alternative name othername support to virt-san.c
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 13:46:16 +0000 (14:46 +0100)]
gnutls_x509_crt_set_subject_alt_name: documented the version after which GNUTLS_SAN_OTHERNAME_XMPP is available
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 13:45:03 +0000 (14:45 +0100)]
tests: added check for XMPP othername generation
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 13:39:14 +0000 (14:39 +0100)]
certtool: allow writing xmpp_name
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 13:30:56 +0000 (14:30 +0100)]
Allow assigning 'virtual' SAN types via *_set_subject_alt_name()
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 12:47:38 +0000 (13:47 +0100)]
NEWS: document newly added functions
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 07:17:51 +0000 (08:17 +0100)]
alpn: when parsing the list of protocols return at the first mutually common
That resolves an issue where the server wouldn't select the first mutually supported.
Resolves #63
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 07:17:07 +0000 (08:17 +0100)]
tests: mini-alpn: corrected protocol selection order
Nikos Mavrogiannopoulos [Sun, 10 Jan 2016 07:04:29 +0000 (08:04 +0100)]
tests: alpn: enhance the testing of ALPN negotiation
Nikos Mavrogiannopoulos [Sat, 9 Jan 2016 20:42:11 +0000 (21:42 +0100)]
alpn: document how the selected protocol is selected [ci skip]
Nikos Mavrogiannopoulos [Sat, 9 Jan 2016 20:20:00 +0000 (21:20 +0100)]
tests: verify that the selected ALPN protocol is the first advertised
Nikos Mavrogiannopoulos [Fri, 8 Jan 2016 15:52:44 +0000 (16:52 +0100)]
gnutls_aead_cipher_decrypt: removed misleading text
Reported by Fridolin Pokorny.
Nikos Mavrogiannopoulos [Fri, 8 Jan 2016 11:16:29 +0000 (12:16 +0100)]
tests: added check for certtool's othername writing functionality
Nikos Mavrogiannopoulos [Fri, 8 Jan 2016 10:16:58 +0000 (11:16 +0100)]
certtool: added ability to generate othernames via template files
Relates #62
Nikos Mavrogiannopoulos [Fri, 8 Jan 2016 11:05:18 +0000 (12:05 +0100)]
x509: added flags to enable the encoding of othername data
Nikos Mavrogiannopoulos [Fri, 8 Jan 2016 10:05:36 +0000 (11:05 +0100)]
x509: introduced functions to set an othername alternative name
That is, added, gnutls_x509_crt_set_subject_alt_othername,
gnutls_x509_crt_set_issuer_alt_othername, gnutls_x509_crq_set_subject_alt_othername
Relates #62
Nikos Mavrogiannopoulos [Thu, 7 Jan 2016 13:35:59 +0000 (14:35 +0100)]
trust_list_get_issuer_by_dn: fixed check for DN or SPKI
Nikos Mavrogiannopoulos [Thu, 7 Jan 2016 13:02:24 +0000 (14:02 +0100)]
configure: no longer distribute lzip tarballs
Nikos Mavrogiannopoulos [Thu, 7 Jan 2016 13:14:21 +0000 (14:14 +0100)]
symbols.last: don't include internal symbols into exported list
Nikos Mavrogiannopoulos [Tue, 5 Jan 2016 10:21:43 +0000 (11:21 +0100)]
tests: updated to account for cert generation after
2adb9b2bfb31afebbdd9f990e2b74c9a3d4e5c57 fix
Tim Kosse [Mon, 4 Jan 2016 15:40:26 +0000 (16:40 +0100)]
Fix out-of-bounds read in gnutls_x509_ext_export_key_usage
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 18:16:37 +0000 (20:16 +0200)]
.gitlab-ci.yml: optimized build process
That is, in slow asan and valgrind builds don't check the full test suite.
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 12:35:45 +0000 (14:35 +0200)]
gnutls_pkcs11_copy_x509_privkey2: corrected the writing of ECC private key
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 11:38:34 +0000 (13:38 +0200)]
tests: pkcs11-pubkey-import will check both RSA and ECDSA keys
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 11:35:30 +0000 (13:35 +0200)]
gnutls_pkcs11_copy_x509_privkey2: corrected the type of the written object
Previously only RSA objects were correctly written.
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 11:10:37 +0000 (13:10 +0200)]
tests: added ECDSA key in cert-common.h
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 10:20:41 +0000 (12:20 +0200)]
pkcs11: moved default RSA public exponent out of stack
Nikos Mavrogiannopoulos [Thu, 31 Dec 2015 10:17:21 +0000 (12:17 +0200)]
pkcs11: import public keys from any available object
That is, load public keys from the public key object, or
the certificate object if they are present. That affects
non-RSA public keys which do not contain all required fields
on the private key object.
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 23:02:30 +0000 (01:02 +0200)]
session DB: made the magic number depending on gnutls' version
That will make sure that sessions not stored by this version of
gnutls will not be resumed by another (which may be incompatible).
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:46:12 +0000 (00:46 +0200)]
ui.c -> fingerprint.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:45:43 +0000 (00:45 +0200)]
split OCSP functionality from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:39:19 +0000 (00:39 +0200)]
split anon credentials functionality from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:38:31 +0000 (00:38 +0200)]
split psk functionality from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:37:22 +0000 (00:37 +0200)]
split session info functions from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:34:25 +0000 (00:34 +0200)]
split certificate credentials functions from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:32:20 +0000 (00:32 +0200)]
split dh API functions from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 22:28:46 +0000 (00:28 +0200)]
split randomart functionality from ui.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 21:18:32 +0000 (23:18 +0200)]
helper.c -> file.c
Nikos Mavrogiannopoulos [Wed, 30 Dec 2015 09:26:30 +0000 (11:26 +0200)]
certtool: doc update [skip ci]
Andreas Metzler [Sat, 26 Dec 2015 17:24:56 +0000 (18:24 +0100)]
Fix some typos [ci skip]
Nikos Mavrogiannopoulos [Thu, 24 Dec 2015 09:54:21 +0000 (11:54 +0200)]
NEWS: doc update [ci skip]
Nikos Mavrogiannopoulos [Thu, 24 Dec 2015 09:44:00 +0000 (11:44 +0200)]
respect the max-record extension under DTLS
This resolves issue with max-record being negotiated but
ignored. Resolves #61
Nikos Mavrogiannopoulos [Thu, 24 Dec 2015 09:42:58 +0000 (11:42 +0200)]
tests: added check for max-record extension in TLS
Nikos Mavrogiannopoulos [Thu, 24 Dec 2015 09:18:57 +0000 (11:18 +0200)]
tests: check whether the max-record extension is usable with DTLS
Nikos Mavrogiannopoulos [Thu, 24 Dec 2015 09:13:28 +0000 (11:13 +0200)]
dtls: print the MTU in debugging messages
Nikos Mavrogiannopoulos [Tue, 22 Dec 2015 15:14:02 +0000 (17:14 +0200)]
updated documentation on supported algorithms [ci skip]
Nikos Mavrogiannopoulos [Tue, 22 Dec 2015 09:30:52 +0000 (11:30 +0200)]
Added SHA384 to the list of TLS support MAC algorithms
Nikos Mavrogiannopoulos [Mon, 21 Dec 2015 10:46:09 +0000 (12:46 +0200)]
documented the gitlab ci runner tags
Nikos Mavrogiannopoulos [Sun, 20 Dec 2015 09:11:38 +0000 (11:11 +0200)]
tests: added timeout in long-running checks
Nikos Mavrogiannopoulos [Sun, 20 Dec 2015 09:01:48 +0000 (11:01 +0200)]
certtool: eliminated various memory leaks
Nikos Mavrogiannopoulos [Sun, 20 Dec 2015 08:48:27 +0000 (10:48 +0200)]
certtool: prevented memory leak in pkcs8-info cmd
Nikos Mavrogiannopoulos [Sat, 19 Dec 2015 14:58:03 +0000 (16:58 +0200)]
certtool: do not use signal() under win32
Alon Bar-Lev [Fri, 18 Dec 2015 15:34:01 +0000 (17:34 +0200)]
build: configure.ac: manpages cleanups
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Alon Bar-Lev [Fri, 18 Dec 2015 10:14:08 +0000 (12:14 +0200)]
build: allow installing man(1) even with --disable-doc
Currently these man pages are installed only if --enable-doc
is provided, while these are not actually docs, do not require any
special dependency, nor consume large space.
This adds --enable-manpages to enable/disable manpages installation, and
install the man(1) regardless of --disable-doc.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 13:32:25 +0000 (14:32 +0100)]
certtool: ignore sigpipe
This signal was observed under certain cirquimstances
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 13:29:05 +0000 (14:29 +0100)]
certtool: don't close stdout on exit
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 13:24:23 +0000 (14:24 +0100)]
pkcs7: eliminated leak in gnutls_pkcs7_print
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 12:56:31 +0000 (13:56 +0100)]
gnutls_pubkey_import_privkey: document that this operation is not possible in certain keys
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 10:40:59 +0000 (11:40 +0100)]
doc: replace writev with sendmsg in the list of system calls
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 09:23:22 +0000 (10:23 +0100)]
tests: don't run the no-signal test in systems which MSG_NOSIGNAL is not available
Nikos Mavrogiannopoulos [Fri, 18 Dec 2015 09:15:10 +0000 (10:15 +0100)]
Reduce the number of used syscalls by using sendmsg() instead of writev()
We relied on sendmsg() anyway for the MSG_NO_SIGNAL version of the calls,
thus it is a good idea to avoid calling writev() and use sendmsg(). That
way we reduce the number of calls required for seccomp.
Alon Bar-Lev [Thu, 17 Dec 2015 17:57:53 +0000 (19:57 +0200)]
doc: manpages: remove generated tpmtool.1 page
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Alon Bar-Lev [Thu, 17 Dec 2015 17:57:52 +0000 (19:57 +0200)]
.gitignore: add m4/extern-inline.m4
Nikos Mavrogiannopoulos [Thu, 17 Dec 2015 13:19:04 +0000 (14:19 +0100)]
tests: added check to verify that the PKCS#7 embedded data are recovered as expected
Nikos Mavrogiannopoulos [Thu, 17 Dec 2015 13:18:17 +0000 (14:18 +0100)]
certtool: introduced the --p7-show-data option
This option allows printing the embedded data in a PKCS#7 signed
structure.
Nikos Mavrogiannopoulos [Thu, 17 Dec 2015 13:17:23 +0000 (14:17 +0100)]
gnutls_pkcs7_get_embedded_data: added function
This function allows extracting the embedded data from a PKCS#7 signed
structure.
Nikos Mavrogiannopoulos [Wed, 16 Dec 2015 15:13:41 +0000 (16:13 +0100)]
tests: updated pkcs7-gen to account for content-type attribute
Nikos Mavrogiannopoulos [Wed, 16 Dec 2015 13:52:39 +0000 (14:52 +0100)]
tests: check whether the content-type attribute is set if we sign using time
Nikos Mavrogiannopoulos [Wed, 16 Dec 2015 13:28:23 +0000 (14:28 +0100)]
pkcs7: set by default the content type attribute
That is a requirement of rfc5652. Relates #59
Nikos Mavrogiannopoulos [Wed, 16 Dec 2015 13:02:56 +0000 (14:02 +0100)]
pkcs7: use the PK_PKIX1_RSA_OID when writing RSA signature OIDs for PKCS#7 structures
That is because there are implementations which cannot cope with the
normal RSA signature OIDs. Relates #59
Nikos Mavrogiannopoulos [Wed, 16 Dec 2015 09:10:20 +0000 (10:10 +0100)]
pkcs7: Disable the optional fields prior to generating the PKCS#7 structure
This resolves issue with our PKCS#7 structures not being parsed by
MacOSX' tools. Relates #59
Nikos Mavrogiannopoulos [Tue, 15 Dec 2015 21:28:55 +0000 (22:28 +0100)]
certtool: corrected invalid free
Nikos Mavrogiannopoulos [Tue, 15 Dec 2015 21:27:50 +0000 (22:27 +0100)]
certtool: warn if an ECDSA key is marked for encryption
Nikos Mavrogiannopoulos [Tue, 15 Dec 2015 19:36:29 +0000 (20:36 +0100)]
build: fix make distclean by including src/gl only once
Nikos Mavrogiannopoulos [Tue, 15 Dec 2015 12:52:20 +0000 (13:52 +0100)]
make sure gnutls_assert is present at the cases where GNUTLS_E_INTERNAL_ERROR is returned
Gustavo Zacarias [Mon, 14 Dec 2015 18:20:25 +0000 (15:20 -0300)]
configure: really make --disable-crywrap work
The crywrap variable is set regardless of the state of enable_crywrap,
hence --disable-crywrap never works.
Just put the tests for crywrap deps inside the enable_crywrap
conditional.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>