]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Sat, 7 Oct 2017 08:06:09 +0000 (10:06 +0200)]
doc: improve documentation on provable private keys
Resolves #301
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 7 Oct 2017 07:44:54 +0000 (09:44 +0200)]
doc: enhanced text on PKCS#7 and public keys
Resolves #302
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 1 Oct 2017 10:20:18 +0000 (12:20 +0200)]
tests: check whether key IDs with SHA512 are corrected calculated
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 1 Oct 2017 10:18:54 +0000 (12:18 +0200)]
certtool: allow using SHA512 for key IDs
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 1 Oct 2017 10:17:26 +0000 (12:17 +0200)]
_gnutls_get_key_id: introduce flag GNUTLS_KEYID_USE_SHA512
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 1 Oct 2017 10:14:11 +0000 (12:14 +0200)]
tests: check fingerprint generation with SHA512
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 1 Oct 2017 10:12:25 +0000 (12:12 +0200)]
certtool: allow using --fingerprint with sha384 or sha512
Resolves #295
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Andreas Metzler [Wed, 27 Sep 2017 17:21:59 +0000 (19:21 +0200)]
Modernize gtk-doc support
Update gtk-doc.make, m4/gtk-doc.m4 and doc/reference/Makefile.am from
gtk-doc git head (that is 1.26 +
c08cc78562c59082fc83b55b58747177510b7a70 ).
Disable gtkdoc-check.
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Rowan Thorpe [Wed, 27 Sep 2017 18:41:43 +0000 (21:41 +0300)]
Fix autoreconf invocation to actually run autopoint
Signed-off-by: Rowan Thorpe <rowan@rowanthorpe.com>
Nikos Mavrogiannopoulos [Mon, 25 Sep 2017 14:57:31 +0000 (16:57 +0200)]
CONTRIBUTING.md: added some text on introducing new APIs [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sun, 24 Sep 2017 08:52:08 +0000 (10:52 +0200)]
tests: re-purposed client_dsa_key test to match new behavior of the library
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sun, 24 Sep 2017 08:47:05 +0000 (10:47 +0200)]
tests: update TLS 1.2 tests to account for RSA-PSS client signatures
On commit
de4f55b4dcf4bbe8f788e1f8f5bd59cd596f7d36 :
"signature: on client side, refuse to negotiate non-enabled signature schemes"
the behavior of allowing a client to utilize disabled for the session
signatures, and thus the negotiated signatures now match the ones
in the session's priority string.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 06:37:50 +0000 (08:37 +0200)]
signature: on client side, refuse to negotiate non-enabled signature schemes
That amends/reverts commit
6aa8c390b08a25b18c0799fbd42bd0eec703fae4 :
"On client side allow signing with the signature algorithm of our cert"
Previously, when we initially disabled DSA, we allowed client certificates
which can do DSA-SHA1 to be utilized to ease migration from these certificates.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 15 Sep 2017 07:53:01 +0000 (09:53 +0200)]
_gnutls_epoch_gc: ensure there are no stray epochs after gc
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 15 Sep 2017 07:29:30 +0000 (09:29 +0200)]
constate: simplified allocation of epochs
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 15 Sep 2017 06:26:22 +0000 (08:26 +0200)]
_gnutls_epoch_get(): simplified use
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sun, 24 Sep 2017 15:42:01 +0000 (17:42 +0200)]
gnutls_x509_crt/q_set_spki: always initialize the spki structure
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:17:21 +0000 (11:17 +0200)]
gnutls-cli: always initialize the inline commands struct
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:13:31 +0000 (11:13 +0200)]
gnutls-cli-debug: eliminated memory leaks
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:11:27 +0000 (11:11 +0200)]
ocsptool: eliminate memory leaks
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:09:00 +0000 (11:09 +0200)]
certtool: use assert to protect var access
The code correctly uses the variables, but the assert ensures
that static analyzers follow the intended paths too.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:06:53 +0000 (11:06 +0200)]
srptool: removed unused variables
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:06:24 +0000 (11:06 +0200)]
psktool: remove unused variables
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:05:18 +0000 (11:05 +0200)]
gnutls-cli: fix memory leak
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 09:04:21 +0000 (11:04 +0200)]
tools: eliminated dead assignments
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 08:59:58 +0000 (10:59 +0200)]
ocsptool: check chain size on verification
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Tue, 19 Sep 2017 09:08:19 +0000 (11:08 +0200)]
.gitlab-ci.yml: use static analyzer and Werror build in src
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 06:29:17 +0000 (08:29 +0200)]
tests: enhanced resumption checks with same and different SNI
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 06:19:21 +0000 (08:19 +0200)]
server name: refuse to resume a session which server name doesn't match
That is, follow the RFC6066 requirement that server:
"MUST NOT accept the request to resume the session if the
server_name extension contains a different name."
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 23 Sep 2017 08:47:15 +0000 (10:47 +0200)]
gnutls-cli: eliminate few memory leaks
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Thomas Klute [Thu, 21 Sep 2017 09:00:33 +0000 (11:00 +0200)]
tests: New test for SNI parsing during cache-based session resumption
Signed-off-by: Thomas Klute <thomas2.klute@uni-dortmund.de>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Thomas Klute [Thu, 21 Sep 2017 08:45:05 +0000 (10:45 +0200)]
Ensure the SNI extension is parsed during cache-based resumption
This patch changes the parse_type of the SNI extension to
GNUTLS_EXT_MANDATORY to ensure it is parsed during every handshake.
With SNI previously classified as GNUTLS_EXT_APPLICATION, GnuTLS
servers ignored the SNI extension when resuming a TLS session from
cache, because "application" level extensions are skipped during
resumption. As a result, gnutls_server_name_get() always returned
GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE when called on the resumed
session, breaking virtual server systems.
According to RFC 6066, Section 3 the SNI extension must be parsed on
session resumption if implemented at all:
"A server that implements this extension MUST NOT accept the request
to resume the session if the server_name extension contains a
different name."
This change allows applications using GnuTLS to match SNI data on
resumed sessions.
Signed-off-by: Thomas Klute <thomas2.klute@uni-dortmund.de>
Dmitry Eremin-Solenikov [Mon, 18 Sep 2017 14:06:15 +0000 (17:06 +0300)]
tests: explicitly check for gnutls.pc in pkgconfig.sh
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 18 Sep 2017 10:33:53 +0000 (13:33 +0300)]
test: use proper library name in pkgconfig.sh error message
If there is a -R flag in p11-kit-1.pc file, pkgconfig.sh test will still
reference libidn2.pc, rather than proper source of the message. Also
move the test for library flags before updating PKG_CONFIG_PATH.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Mon, 18 Sep 2017 10:32:40 +0000 (13:32 +0300)]
tests: use libidn2 in pkgconfig.sh
Since
abe6a12b9766219163f99d7807a0b07fbe5f590c GnuTLS does not support
libidn1. Switch pkgconfig.sh test to use libidn2.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tim Rühsen [Tue, 19 Sep 2017 18:36:22 +0000 (20:36 +0200)]
parse-datetime: Fix buffer overflow
Nikos Mavrogiannopoulos [Mon, 18 Sep 2017 13:35:32 +0000 (15:35 +0200)]
tlsfuzzer: document the reason of failure of few fragmentation tests
It seems that gnutls does not accept records carrying handshake messages
that contain less bytes than necessary to recover the handshake header.
The TLS protocol allows that option, and other implementations seem to
accept that fragmentation.
Relates #272
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sat, 16 Sep 2017 16:21:36 +0000 (18:21 +0200)]
parse_handshake_header: removed duplicate check
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 16 Sep 2017 12:03:54 +0000 (14:03 +0200)]
ecdh: return more appropriate error code on empty packet
This makes tlsfuzzer's test-x25519 detect the right error
code on empty message. Previously this issue was masked by our
refusal to accept 1-byte sized fragments.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 15 Sep 2017 14:34:02 +0000 (16:34 +0200)]
parse_handshake_header: allow 1-byte sized fragments
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 15 Sep 2017 14:21:02 +0000 (16:21 +0200)]
tests: added reproducer for DTLS infinite loop
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Tim Rühsen [Mon, 18 Sep 2017 18:55:25 +0000 (20:55 +0200)]
pkcs11/get_key_algo_type(): Always initialize bits variable
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Tim Rühsen [Mon, 18 Sep 2017 18:53:23 +0000 (20:53 +0200)]
tests/base64-raw: Remove unused variable
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Tim Rühsen [Mon, 18 Sep 2017 13:54:19 +0000 (15:54 +0200)]
gnutls.h: Remove redundant function declarations
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Nikos Mavrogiannopoulos [Thu, 14 Sep 2017 09:56:27 +0000 (11:56 +0200)]
x509: removed debugging code [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 27 Jun 2017 11:58:58 +0000 (13:58 +0200)]
tests: modified the MD5 signature algorithm negotiation tests
Since GnuTLS can no longer negotiate MD5, we utilize a byte stream
of a connection which advertises MD5, and we make sure we detect the
right error code for the rejection of MD5 signature.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 27 Jun 2017 06:42:10 +0000 (08:42 +0200)]
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Tue, 27 Jun 2017 06:36:01 +0000 (08:36 +0200)]
tlsfuzzer: no longer include tests involving SHA224 signatures
We no longer support them.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 26 Jun 2017 13:04:32 +0000 (15:04 +0200)]
algorithms/sign: removed TLS identifiers for legacy algorithms
That is, for the MD5-using algorithms, as well as for the DSA2
signature algorithms that were never really used with TLS 1.2.
Kept DSA-SHA1 in order to be used by TLS 1.2 and legacy applications.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 26 Jun 2017 13:02:47 +0000 (15:02 +0200)]
algorithms/sign: legacy signature algorithms were moved toward the end of the list
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 26 Jun 2017 12:58:17 +0000 (14:58 +0200)]
algorithms/sign: no longer enable SHA224 hash in signatures
TLS 1.3 requires that SHA224 MUST NOT be used, and given the
fact that SHA224 was never widespread used in TLS 1.2, there
is no reason to keep these algorithms at all.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 8 Sep 2017 14:19:38 +0000 (16:19 +0200)]
tlsfuzzer: added large client hello tests
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 8 Sep 2017 13:16:55 +0000 (15:16 +0200)]
win32: removed no longer used subdir
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 8 Sep 2017 12:01:09 +0000 (14:01 +0200)]
.gitlab-ci.yml: added warning cppcheck checks
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 14:54:24 +0000 (16:54 +0200)]
.gitlab-ci.yml: removed initialization step
That is, combine syntax-check with the static analyzers run. That
provides more parallelism per build and reduces the overall time
spent on a successful run.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 14:20:01 +0000 (16:20 +0200)]
doc: added README on FreeBSD CI setup
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 14:21:44 +0000 (16:21 +0200)]
.gitlab-ci.yml: added FreeBSD build
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 15:05:57 +0000 (17:05 +0200)]
tests: ip-utils: added include for FreeBSD compilation
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 12:12:20 +0000 (14:12 +0200)]
.gitlab-ci.yml: enable more cppcheck tests
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 8 Sep 2017 10:15:47 +0000 (12:15 +0200)]
tests: updated tlsfuzzer to reduce rsa-pss failures
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 13:51:57 +0000 (15:51 +0200)]
crq: doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 07:31:30 +0000 (09:31 +0200)]
tests: added unit test for gnutls_x509_crq_sign
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 07:11:06 +0000 (09:11 +0200)]
tests: added verification checks into crl_apis
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 07:10:20 +0000 (09:10 +0200)]
gnutls_x509_crl_verify: check next update field for presence
If not present do not attempt to utilize its value.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 06:33:24 +0000 (08:33 +0200)]
tests: added verification check into crt_apis
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 06:30:13 +0000 (08:30 +0200)]
tests: added unit test for gnutls_x509_crt_sign
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 06:24:41 +0000 (08:24 +0200)]
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 07:23:28 +0000 (09:23 +0200)]
gnutls_x509_crq_sign: undeprecate
After the updates of the function semantics, it is no longer
needed to deprecate it.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 07:13:54 +0000 (09:13 +0200)]
gnutls_x509_crl_sign: undeprecate
After the updates of the function semantics, it is no longer
needed to deprecate it.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 07:21:16 +0000 (09:21 +0200)]
gnutls_x509_crq_sign: no longer sign with SHA1
Modify the behavior of the functions to sign with an appropriate
to the public key hash algorithm. That although it modifies the
semantics of the functions, it allows them to be useful even after
SHA1 is considered insecure.
In addition to that, the functions which accept a hash algorithm, will
accept a null hash, which instructs the function to select a
reasonable choice.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 06:21:47 +0000 (08:21 +0200)]
gnutls_x509_*_sign: no longer sign with SHA1
Modify the behavior of the functions to sign with an appropriate
to the public key hash algorithm. That although it modifies the
semantics of the functions, it allows them to be useful even after
SHA1 is considered insecure.
In addition to that, the functions which accept a hash algorithm, will
accept a null hash, which instructs the function to select a
reasonable choice.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 06:12:05 +0000 (08:12 +0200)]
doc: document the change of gnutls_x509_crt_sign
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 8 Sep 2017 06:31:42 +0000 (08:31 +0200)]
tests: tolerate leaks in opensc-pkcs11 when present
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 7 Sep 2017 06:08:12 +0000 (08:08 +0200)]
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 6 Sep 2017 12:51:59 +0000 (14:51 +0200)]
tests: added reproducer for safe renegotiation failure with openssl
Relates #259
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 6 Sep 2017 13:11:00 +0000 (15:11 +0200)]
handshake: check SCSVs prior to resuming a session
This ensures that extensions which are also available as SCSVs
are parsed prior to resuming a session. This resolves an issue
with openssl sending SCSV instead of an extension for the safe
renegotiation.
Relates #259
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Thomas Klausner [Wed, 6 Sep 2017 17:16:30 +0000 (19:16 +0200)]
Use $(LIBDL) instead of hardcoding -ldl.
Nikos Mavrogiannopoulos [Wed, 6 Sep 2017 12:34:20 +0000 (14:34 +0200)]
cmocka: require 1.0.1
This prevents failures in test suite due to insufficient cmocka
library version.
Resolves #268
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Wed, 6 Sep 2017 07:46:05 +0000 (09:46 +0200)]
tlslite-ng: updated to latest version
This addresses issues with RSA-PSS signing.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Avinash Sonawane [Thu, 31 Aug 2017 12:35:04 +0000 (18:05 +0530)]
cli-debug-args.def: Fix typo
Signed-off-by: Avinash Sonawane <rootkea@gmail.com>
Nikos Mavrogiannopoulos [Tue, 29 Aug 2017 13:38:49 +0000 (15:38 +0200)]
latex: handle the deprecated function mark [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Tue, 29 Aug 2017 11:56:58 +0000 (13:56 +0200)]
.gitlab-ci.yml: give more specific name to windows job artifacts [ci skip]
This allows a more descriptive name to any downloaded artifacts.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Mon, 28 Aug 2017 13:16:58 +0000 (15:16 +0200)]
tools: removed re-using PIN message when in non-verbose mode
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 28 Aug 2017 10:57:38 +0000 (12:57 +0200)]
p11tool: print public or private key algorithm
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 28 Aug 2017 12:20:36 +0000 (14:20 +0200)]
gnutls_pkcs11_privkey_generate3: doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Sat, 26 Aug 2017 15:27:09 +0000 (17:27 +0200)]
tests: check whether generated private keys are marked private
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 26 Aug 2017 15:16:26 +0000 (17:16 +0200)]
tests: added unit test of p11tool with --set-pin
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 26 Aug 2017 15:02:28 +0000 (17:02 +0200)]
tests: check whether generated or copied keys are marked as sensitive
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 13:58:14 +0000 (15:58 +0200)]
updated auto-generated files
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 13:56:49 +0000 (15:56 +0200)]
p11tool: allow obtaining PIN from command line on operations
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 12:49:33 +0000 (14:49 +0200)]
certtool: eliminate global use of default_dig
Use instead the cinfo->hash field which is already used
by p11tool.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 10:01:37 +0000 (12:01 +0200)]
tests: krb5-test: disable valgrind mem leak checks for negative checks
Resolves #192
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 09:47:28 +0000 (11:47 +0200)]
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 09:41:47 +0000 (11:41 +0200)]
tests: check whether p11tool signing with RSA-PSS works
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 08:53:51 +0000 (10:53 +0200)]
p11tool: allow signing with RSA-PSS and specifying an explicit hash
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 08:41:27 +0000 (10:41 +0200)]
sign_params_to_flags: moved to certtool-common.c
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 08:33:27 +0000 (10:33 +0200)]
certtool: hash_to_id moved to certtool-common.c
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Andreas Metzler [Sat, 26 Aug 2017 15:49:28 +0000 (17:49 +0200)]
Fix some typos [ci skip]
occurence -> occurrence
sucessful -> successful
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Tom Vrancken [Fri, 25 Aug 2017 17:54:58 +0000 (19:54 +0200)]
Fixed segmentation faults caused by accessing NULL pointers during mutex operations. This bug was triggered while setting priorities.
Signed-off-by: Tom Vrancken <email@tomvrancken.nl>
Nikos Mavrogiannopoulos [Fri, 25 Aug 2017 14:15:24 +0000 (16:15 +0200)]
p11tool: explicitly mark generated keys as sensitive
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>