]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Wed, 26 Mar 2014 08:58:04 +0000 (09:58 +0100)]
fixes for 'medium' level
Nikos Mavrogiannopoulos [Wed, 26 Mar 2014 08:52:43 +0000 (09:52 +0100)]
add a check for invalid DH parameters.
Nikos Mavrogiannopoulos [Wed, 26 Mar 2014 08:45:10 +0000 (09:45 +0100)]
Add checks in tests for the DHE prime and exponent size.
Nikos Mavrogiannopoulos [Wed, 26 Mar 2014 08:36:30 +0000 (09:36 +0100)]
doc update
Nikos Mavrogiannopoulos [Fri, 21 Mar 2014 22:06:37 +0000 (23:06 +0100)]
fixed test to use the correct function names.
Nikos Mavrogiannopoulos [Fri, 21 Mar 2014 21:59:19 +0000 (22:59 +0100)]
Severely simplified hostname matching.
Now only wildcards only the leftmost position of the string are allowed
(followed by at least two components), and are only taken into account
into ascii strings. Non-ascii strings are compared byte-by-byte.
That means that wildcards in the form bar*foo.example.com
are no longer accepted, as well as wildcards of the form *.*.*.example.com.
Nikos Mavrogiannopoulos [Fri, 21 Mar 2014 19:53:35 +0000 (20:53 +0100)]
use commit suffix for functions that return a status code.
Nikos Mavrogiannopoulos [Thu, 20 Mar 2014 11:17:59 +0000 (12:17 +0100)]
Simplifications in the RNG code.
Nikos Mavrogiannopoulos [Thu, 20 Mar 2014 10:28:30 +0000 (11:28 +0100)]
doc update
Nikos Mavrogiannopoulos [Thu, 20 Mar 2014 10:13:13 +0000 (11:13 +0100)]
the longer e-mail caused crash in autogen's manpage generation
Nikos Mavrogiannopoulos [Thu, 20 Mar 2014 09:51:21 +0000 (10:51 +0100)]
renamed some of the newly introduced functions
Nikos Mavrogiannopoulos [Thu, 20 Mar 2014 09:35:14 +0000 (10:35 +0100)]
set the invalid flag when the owner is unexpected.
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 13:44:21 +0000 (14:44 +0100)]
Changed the behaviour in wildcard acceptance in certificates.
Wildcards are only accepted when there are more than two domain components
after the wildcard. This will prevent accepting certificates from CAs
that issued '*.com', or 'www.*'.
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 13:05:40 +0000 (14:05 +0100)]
doc update
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 13:01:09 +0000 (14:01 +0100)]
Added more key usage flags in the test for x509-extensions.
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 12:43:08 +0000 (13:43 +0100)]
x509-extensions test will fail if an unhandled extension is found.
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 12:39:19 +0000 (13:39 +0100)]
ship the gperf file and the generated one.
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 10:37:53 +0000 (11:37 +0100)]
doc update
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 10:37:43 +0000 (11:37 +0100)]
documented the new X.509 extension API
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 10:37:01 +0000 (11:37 +0100)]
Certtool can now write more than a single crl_dist_point.
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 10:36:42 +0000 (11:36 +0100)]
Added unit tests for new API
Nikos Mavrogiannopoulos [Wed, 19 Mar 2014 10:33:12 +0000 (11:33 +0100)]
Added new API to handle X.509 extensions.
This API handles the X.509 extensions in separate,
allowing to parse similarly formatted extensions stored in other
structures. In addition functions that simplify the extraction
of extensions from known structures were added:
- gnutls_x509_crq_get_extension_data2()
- gnutls_x509_crl_get_extension_data2()
- gnutls_x509_crt_get_extension_data2()
The old functions were rewritten to use the new API.
Nikos Mavrogiannopoulos [Fri, 14 Mar 2014 18:26:19 +0000 (19:26 +0100)]
doc update
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 12:32:09 +0000 (13:32 +0100)]
Corrected error checking in _gnutls_x509_ext_gen_proxyCertInfo
Nikos Mavrogiannopoulos [Wed, 12 Mar 2014 09:53:57 +0000 (10:53 +0100)]
doc update
Nikos Mavrogiannopoulos [Wed, 12 Mar 2014 17:35:36 +0000 (18:35 +0100)]
initialize pointer
Luis G.F [Wed, 12 Mar 2014 11:40:30 +0000 (12:40 +0100)]
serv.c Fix memory leak for *crtinfo pointer. The reference is lost if an allocation error occured.
Signed-off-by: Luis G.F <luisgf@luisgf.es>
Nikos Mavrogiannopoulos [Tue, 11 Mar 2014 21:31:58 +0000 (22:31 +0100)]
use the number of seconds as serial in 32-bit systems
Nikos Mavrogiannopoulos [Tue, 11 Mar 2014 21:00:56 +0000 (22:00 +0100)]
Only check PK compatibility in client side but also when using openpgp certs.
Nikos Mavrogiannopoulos [Tue, 11 Mar 2014 20:48:52 +0000 (21:48 +0100)]
corrected initializer
Nikos Mavrogiannopoulos [Tue, 11 Mar 2014 14:57:00 +0000 (15:57 +0100)]
shortend static function names.
Nikos Mavrogiannopoulos [Tue, 11 Mar 2014 14:52:24 +0000 (15:52 +0100)]
verify that the algorithm of the received certificate matches the expected.
Nikos Mavrogiannopoulos [Mon, 10 Mar 2014 12:22:01 +0000 (13:22 +0100)]
doc update
Nikos Mavrogiannopoulos [Mon, 10 Mar 2014 12:09:54 +0000 (13:09 +0100)]
The xssl experimental library was removed.
While the idea of a high level library is nice, there are no resources
to maintain an additional library.
Nikos Mavrogiannopoulos [Sun, 9 Mar 2014 12:40:39 +0000 (13:40 +0100)]
Added option to enable linking with nettle-mini
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 16:38:49 +0000 (17:38 +0100)]
re-enabled certificate verification
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 16:10:48 +0000 (17:10 +0100)]
ciphersuites that utilize SHA256 or SHA384 are only available in TLS 1.0
The SSL 3.0 protocol (rfc6101) uses a variant of HMAC that is only
defined for MD5 and SHA1. Thus if such a ciphersuite is negotiated under
SSL 3.0, it will during MAC initialization.
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 16:04:22 +0000 (17:04 +0100)]
stricter type usage
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 15:43:45 +0000 (16:43 +0100)]
explicit type conversions when needed
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 15:00:39 +0000 (16:00 +0100)]
more fixes due to clang
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 14:46:53 +0000 (15:46 +0100)]
silence some warnings
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 14:42:47 +0000 (15:42 +0100)]
clang warning fixes
Nikos Mavrogiannopoulos [Sat, 8 Mar 2014 14:18:59 +0000 (15:18 +0100)]
removed unused variables.
Kevin Cernekee [Sat, 8 Mar 2014 04:38:29 +0000 (20:38 -0800)]
Fix build failures on autogen'ed docs
autogen needs to be invoked with $(srcdir)/<FOO>-args.def or else it
will not be able to find the input file if GnuTLS is built out of tree,
e.g.
mkdir build
cd build
../configure
make
Also, add missing targets for %-args.h, to avoid this error:
make[2]: Entering directory `/home/user/gnutls/src'
autogen srptool-args.def
autogen psk-args.def
make[2]: *** No rule to make target `ocsptool-args.h', needed by `all'. Stop.
make[2]: Leaving directory `/home/user/gnutls/src'
make[1]: *** [all-recursive] Error 1
For portability's sake we will spell out the rule for each target instead
of using a GNU '%' pattern rule:
https://www.gnu.org/software/make/manual/html_node/Features.html#Features
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Kevin Cernekee [Sat, 8 Mar 2014 04:38:30 +0000 (20:38 -0800)]
Fix build failures involving doc/invoke-*.texi
Several problems were found in this area:
1) Currently, if SRC_DEF_* are undefined, autogen will get invoked with
no input file and it will hang forever waiting for content from stdin:
mv -f enums.texi-tmp enums.texi
mkdir enums
../../doc/scripts/split-texi.pl enums enum < enums.texi
echo stamp_enums > stamp_enums
cd ../src/ && autogen -Tagtexi-cmd.tpl && \
rm -f ../doc/invoke-gnutls-cli.texi && \
../doc/scripts/cleanup-autogen.pl <../src/invoke-gnutls-cli.texi >../doc/invoke-gnutls-cli.texi.tmp && \
mv -f ../doc/invoke-gnutls-cli.texi.tmp ../doc/invoke-gnutls-cli.texi && \
rm -f ../src/invoke-gnutls-cli.texi
<HANG>
Since these documents are @include'd by other documents, it is probably
a good idea to make sure the targets are buildable in case they get
listed as prerequisites.
2) SRC_DEF_* used relative paths which are correct for an in-place build,
but incorrect for an out-of-tree build. They should use something like
$(top_srcdir)/src to resolve the ambiguity.
3) cleanup-autogen.pl was also referenced using a relative pathname,
breaking out-of-tree builds.
4) The non-portable "sed -i" flag was used.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Kevin Cernekee [Sat, 8 Mar 2014 04:38:28 +0000 (20:38 -0800)]
README-alpha: Add gperf dependency for building from git
Without gperf, priority-options.h does not get built and this results
in a compile error.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Kevin Cernekee [Sat, 8 Mar 2014 04:38:27 +0000 (20:38 -0800)]
updated gnulib
This pulls in upstream commit
cb3c90598 (stdint, read-file: fix missing
SIZE_MAX on Android).
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Nikos Mavrogiannopoulos [Fri, 7 Mar 2014 15:26:15 +0000 (16:26 +0100)]
more type separation
Nikos Mavrogiannopoulos [Fri, 7 Mar 2014 13:44:47 +0000 (14:44 +0100)]
use psktool-args
Nikos Mavrogiannopoulos [Fri, 7 Mar 2014 13:42:55 +0000 (14:42 +0100)]
more type separation
Nikos Mavrogiannopoulos [Fri, 7 Mar 2014 13:28:35 +0000 (14:28 +0100)]
separated types for easier verification
Kevin Cernekee [Fri, 7 Mar 2014 06:35:08 +0000 (22:35 -0800)]
Rename psk-args.def to psktool-args.def
Other utilities generate invoke-%.texi from %-args.def, but currently
invoke-psktool.texi is generated from psk-args.def. If we make psktool
conform to the same convention as the other utilities, we can use a
generic pattern to handle all of them the same way.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Kevin Cernekee [Fri, 7 Mar 2014 06:35:07 +0000 (22:35 -0800)]
doc: Fix enums.texi failure on out-of-tree builds
enums.texi is a generated file so we should not look for it in $(srcdir).
When we do, chaos ensues:
mv -f enums.texi-tmp enums.texi
mkdir enums
../../doc/scripts/split-texi.pl enums enum < ../../doc/enums.texi
/bin/bash: ../../doc/enums.texi: No such file or directory
make[4]: *** [stamp_enums] Error 1
make[4]: Leaving directory `/home/user/gnutls/build/doc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/gnutls/build/doc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/gnutls/build/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/gnutls/build'
make: *** [all] Error 2
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 18:22:29 +0000 (19:22 +0100)]
Ensure failure when no base64 data have been read. Suggested by Ramkumar Chinchani.
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 18:15:41 +0000 (19:15 +0100)]
xssl compilation fix; patch by Colin Leroy
Jason Spafford [Thu, 6 Mar 2014 00:55:29 +0000 (16:55 -0800)]
Fixed checking the length of a null string
in cdk_strlist_add, it would check the strlen of the
'string' parameter before it checked if the parameter was
null.
Signed-off-by Jason Spafford nullprogrammer@gmail.com
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 18:08:46 +0000 (19:08 +0100)]
Added symbol check prior to release (after discussion with Andreas Metzler)
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 18:01:56 +0000 (19:01 +0100)]
updated doc
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 17:37:09 +0000 (18:37 +0100)]
updated build-aux files
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 17:36:42 +0000 (18:36 +0100)]
removed no-split as it causes issues in pdf building
Nikos Mavrogiannopoulos [Thu, 6 Mar 2014 17:33:31 +0000 (18:33 +0100)]
removed all networking code from libgl
Nick Alcock [Wed, 5 Mar 2014 00:56:43 +0000 (00:56 +0000)]
Overridewq AUTOGEN under --enable-local-libopts only if autogen is not needed.
After commit
6addbc3 , specifying --enable-local-libopts unconditionally
replaces the autogen-erated files with their distributed copies, and
substitutes AUTOGEN to false.
The assumption here is that if --enable-local-libopts is not specified,
autogen cannot be installed, and that the distributed copies necessarily
exist. Neither assumption is always correct. e.g. someone building a
32-bit copy of GnuTLS from git with a copy of autogen on their system
will have a 64-bit copy of libopts, and a working /usr/bin/autogen,
but not a 32-bit libopts. Since building autogen depends on Guile,
this is a rather heavyweight pile of gear to require. (You can force
a successful build in this case, but it requires providing
AUTOGEN=/usr/bin/autogen to make(1), which is distinctly inelegant.)
So fix things so that if any of the distributed copies do not exist, we
do not substitute AUTOGEN, so as to let any copy of autogen that configure
found on the system do its job if necessary, while not forcing the user
to link against the copy of libopts which came with that autogen.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Wed, 5 Mar 2014 13:46:19 +0000 (14:46 +0100)]
session tickets can be disabled
Nikos Mavrogiannopoulos [Wed, 5 Mar 2014 13:36:28 +0000 (14:36 +0100)]
increased code disabled from disable-ocsp and disable-openpgp options
Nikos Mavrogiannopoulos [Mon, 17 Feb 2014 15:16:38 +0000 (16:16 +0100)]
NEW_PADDING has been removed.
This extension did not get accepted by IETF so it is
now being removed. The gnutls_range API is kept in case
length hiding is implemented in a different way at some
point.
Ludovic Courtès [Tue, 4 Mar 2014 23:22:46 +0000 (00:22 +0100)]
doc: Add indices to the gnutls-guile manual.
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 19:06:33 +0000 (20:06 +0100)]
re-introduced rsa-export configure option
This broke backwards compatibility. Reported by Andreas Metzler.
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 15:12:29 +0000 (16:12 +0100)]
examples include both gnulibs
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 15:08:01 +0000 (16:08 +0100)]
Added getpass in src/gl
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 15:07:50 +0000 (16:07 +0100)]
removed getpass from gl/
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 15:05:14 +0000 (16:05 +0100)]
more gl updates
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:35:15 +0000 (12:35 +0100)]
changes for new gnulib in src/
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:24:56 +0000 (12:24 +0100)]
corrent error print in win32
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:23:03 +0000 (12:23 +0100)]
Changes to account for the reduced included gnulib
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:14:12 +0000 (12:14 +0100)]
added missing declaration
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:13:31 +0000 (12:13 +0100)]
removed any dependencies to gnulib network stuff
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:04:29 +0000 (12:04 +0100)]
avoid gnulib's insistence to replace strerror
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:11:30 +0000 (12:11 +0100)]
All socket options were moved to src/gl
Nikos Mavrogiannopoulos [Tue, 4 Mar 2014 11:00:56 +0000 (12:00 +0100)]
removed unused gnulib crap
Nikos Mavrogiannopoulos [Mon, 3 Mar 2014 10:41:46 +0000 (11:41 +0100)]
fixed more memory leaks in crywrap
Nikos Mavrogiannopoulos [Mon, 3 Mar 2014 10:36:16 +0000 (11:36 +0100)]
addressed memory leak in crywrap.c
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 22:30:33 +0000 (23:30 +0100)]
check the blacklist for certificates provided in gnutls_x509_trust_list_verify_named_crt().
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 22:14:52 +0000 (23:14 +0100)]
corrected configure option.
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 22:12:40 +0000 (23:12 +0100)]
rsa-export is no more
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 22:11:41 +0000 (23:11 +0100)]
updated option for TPM
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 09:37:35 +0000 (10:37 +0100)]
updated
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 09:37:05 +0000 (10:37 +0100)]
replace select() on windows
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 09:36:45 +0000 (10:36 +0100)]
print message before failing when the pull timeout function isn't replaced.
Nikos Mavrogiannopoulos [Sun, 2 Mar 2014 08:51:59 +0000 (09:51 +0100)]
Added NULL PSK ciphersuites with SHA1; suggested by Manuel Pégourié-Gonnard.
Nikos Mavrogiannopoulos [Sat, 1 Mar 2014 19:13:18 +0000 (20:13 +0100)]
updated gnulib
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:45:57 +0000 (19:45 +0100)]
Allow all ciphersuites in SSL3.0 when they are available in TLS1.0
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:38:22 +0000 (19:38 +0100)]
The default priority is reset to NORMAL
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:37:39 +0000 (19:37 +0100)]
Revert "the default priorities are reset to be NORMAL."
This reverts commit
9c07f75676b6b70da10e99c409b0cb7dbc245463 .
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:36:47 +0000 (19:36 +0100)]
mention SHA384 as MAC option
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:35:13 +0000 (19:35 +0100)]
documented the defaults
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:34:00 +0000 (19:34 +0100)]
the default priorities are reset to be NORMAL.
Reported by Manuel Pégourié-Gonnard.
Nikos Mavrogiannopoulos [Fri, 28 Feb 2014 18:31:16 +0000 (19:31 +0100)]
Add required priorities
Nikos Mavrogiannopoulos [Thu, 27 Feb 2014 15:49:24 +0000 (16:49 +0100)]
Preinitialize values; suggested by Sebastian Krahmer and Tomas Hoger.
Nikos Mavrogiannopoulos [Thu, 27 Feb 2014 07:35:16 +0000 (08:35 +0100)]
added doc on is_issuer() checks
Nikos Mavrogiannopoulos [Wed, 26 Feb 2014 12:44:27 +0000 (13:44 +0100)]
removed not trusted message; reported by Michel Briand.