Re: [PATCH v2 gnutls] introduce gnutls_certificate_set_x509_system_trust

On 05/08/2012 04:28 PM, Ludwig Nussel wrote:

> gnutls_certificate_set_x509_system_trust() imports the trusted root CA's
> from a compile time defined location. That way applications don't
> need to know.

Applied, thank you.
Toby Inkster | 8 May 14:43
Picon

[sr #108051] certtool

URL:
  <http://savannah.gnu.org/support/?108051>

                 Summary: certtool
                 Project: GnuTLS
            Submitted by: tobyink
            Submitted on: Tue 08 May 2012 12:43:26 GMT
                Category: Included programs
                Priority: 5 - Normal
                Severity: 1 - Wish
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

I'm trying to port a certificate generation script from OpenSSL to GnuTLS. It
would be useful if certtool supported (via the certtool.cfg file) more types
of subjectAltName.

Currently it supports e-mail addresses, domain names and IP addresses. I need
support for URIs, and it would also be nice to have support for OIDs.

    _______________________________________________________
(Continue reading)

Nitin A Kamble | 7 May 21:20
Picon
Favicon

[patch] fix gnutls build with automake 1.12

Attached patch fixes a build issuw of gnutls with automake 1.12

-- 
Nitin A Kamble
www.yoctoproject.org

Upstream-Status: Pending

This patch fixes following kind of issue with automake 1.12

| automake: warnings are treated as errors
|
/srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am:
warning: 'libgnutls.la': linking libtool libraries using a non-POSIX
|
/srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am:
archiver requires 'AM_PROG_AR' in 'configure.ac'

Signed-Off-By: Nitin A Kamble <nitin.a.kamble <at> intel.com>
2012/05/03

Index: gnutls-2.12.18/configure.ac
===================================================================
--- gnutls-2.12.18.orig/configure.ac
+++ gnutls-2.12.18/configure.ac
@@ -36,6 +36,9 @@ AC_MSG_RESULT([***

 dnl Checks for programs.
(Continue reading)

gnutls 2.12.19

Hello,
 I've just released gnutls 2.12.19. It includes several
bug fixes.

Version 2.12.19 (released 2012-05-05)

** libgnutls: When decoding a PKCS #11 URL the pin-source field
is assumed to be a file that stores the pin. Based on patch
by David Smith.

** libgnutls: Added strict tests in Diffie-Hellman and
SRP key exchange public keys.

** minitasn1: Upgraded to libtasn1 version 2.13 (pre-release).

** API and ABI modifications:
No changes since last version.

Getting the Software
====================

GnuTLS may be downloaded from one of the GNU mirror sites or directly
From <ftp://ftp.gnu.org/gnu/gnutls/≥.  The list of GNU mirrors can be
found at <http://www.gnu.org/prep/ftp.html> and a list of GnuTLS mirrors
can be found at <http://www.gnu.org/software/gnutls/download.html>.

Here are the BZIP2 compressed sources:

  ftp://ftp.gnu.org/gnu/gnutls/gnutls-2.12.19.tar.bz2
  http://ftp.gnu.org/gnu/gnutls/gnutls-2.12.19.tar.bz2
(Continue reading)

Francesco Viscomi | 30 Apr 00:10
Picon

help me pleasssse

Hi,
i'm trying to install GnuTLS but i'm going to get crazy.

in the directory, where i download the package gnutls-3.0.8, i run ./configure
then
run make
and then
as root run make install

everything seems to goes well, but in the directory -usr/local/bin i not find the script libgnutls-config


--
Ing. Viscomi Francesco

_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/gnutls-devel
Bjørn Christensen | 25 Apr 15:19
Picon

[sr #108038] version 3.0.18 for windows 64 bit crashes during initialisation.

URL:
  <http://savannah.gnu.org/support/?108038>

                 Summary: version 3.0.18 for windows 64 bit crashes during
initialisation.   
                 Project: GnuTLS
            Submitted by: cybear
            Submitted on: Wed 25 Apr 2012 13:19:29 GMT
                Category: Extra library
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I have build gnutls version 3.0.18 using nettle version 2.4 and when I call
gnutls_global_init() it calls _gnutls_rnd_init()  and deep down in
--nettle_aes_encrypt() in file aes-encrypt-internal.s:123 I get a segmentation
fault.

If I choose to build libnettle with the option --disable-assembler it works
fine.

I have no clue what is wrong but I am fairly sure it is the assembler code,
probably the calling convention.

I do not know if this is the right place to report this problem.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108038>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Mann Ern Kang | 25 Apr 05:25
Picon

[sr #108037] gnutls_cpuid assembler code follows incorrect calling convention on Windows x64

URL:
  <http://savannah.gnu.org/support/?108037>

                 Summary: gnutls_cpuid assembler code follows incorrect
calling convention on Windows x64
                 Project: GnuTLS
            Submitted by: mannern
            Submitted on: Wed 25 Apr 2012 03:25:56 AM GMT
                Category: Core library
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The gnutls_cpuid function in file lib\accelerated\x86\coff\cpuid-x86-64-coff.s
follows the Linux parameter passing convention instead of the Windows x64 one,
resulting in a crash (access violation) if hardware acceleration is enabled on
a Windows x64 build of gnutls.

Attaching a patch. This is my first time submitting to gnutls so please let me
know if I missed out anything :)

    _______________________________________________________

File Attachments:

-------------------------------------------------------
Date: Wed 25 Apr 2012 03:25:56 AM GMT  Name: cpuid-x86-64-coff.s  Size: 1kB  
By: mannern

<http://savannah.gnu.org/support/download.php?file_id=25725>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108037>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Ludovic Courtès | 23 Apr 00:42
Picon

Incompatibilities between 3.0.8 and 3.0.18

Hello,

While upgrading libchop from GnuTLS 3.0.8 to 3.0.18, I noticed a few
quirks.

First, compat.h lacks:

    typedef gnutls_openpgp_crt_fmt_t gnutls_openpgp_key_fmt_t
      _GNUTLS_GCC_ATTR_DEPRECATED;

Second, when using OpenPGP mutual authentication,
‘gnutls_certificate_get_peers’ (when called on the server side) now
returns a raw certificate, whereas it previously returned a base64
certificate.

This is in agreement with the doc of that function (dated 2008), but
different from what 3.0.8 and earlier did.

I couldn’t find it in NEWS, nor did I find the commit that changes this,
so I thought it may be worth raising it here.

Thanks,
Ludo’.

_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/gnutls-devel

gnutls 3.0.19

Hello,
 I've just released gnutls 3.0.19. This is a bug-fix release on the
current stable branch.

* Version 3.0.19 (released 2012-04-22)

** libgnutls: When decoding a PKCS #11 URL the pin-source field
is assumed to be a file that stores the pin. Based on patch
by David Smith.

** libgnutls: gnutls_record_check_pending() no longer
returns unprocessed data, and thus ensure the non-blocking
of the next call to gnutls_record_recv().

** libgnutls: Added strict tests in Diffie-Hellman and
SRP key exchange public keys.

** libgnutls: in ECDSA and DSA TLS 1.2 authentication be less
strict in hash selection, and allow a stronger hash to
be used than the appropriate, to improve interoperability
with openssl.

** tests: Disabled floating point test, and corrections
in pkcs12 decoding tests.

** API and ABI modifications:
No changes since last version.

Getting the Software
====================

GnuTLS may be downloaded from one of the GNU mirror sites or directly
From <ftp://ftp.gnu.org/gnu/gnutls/≥.  The list of GNU mirrors can be
found at <http://www.gnu.org/prep/ftp.html> and a list of GnuTLS mirrors
can be found at <http://www.gnu.org/software/gnutls/download.html>.

Here are the XZ compressed sources:

  ftp://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.xz
  http://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.xz
  ftp://ftp.gnutls.org/pub/gnutls/gnutls-3.0.19.tar.xz

Here are the LZIP compressed sources:

  ftp://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.lz
  http://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.lz
  ftp://ftp.gnutls.org/pub/gnutls/gnutls-3.0.19.tar.lz

Here are OpenPGP detached signatures signed using key 0x96865171:

  ftp://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.xz.sig
  http://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.xz.sig
  ftp://ftp.gnutls.org/pub/gnutls/gnutls-3.0.19.tar.xz.sig

  ftp://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.lz.sig
  http://ftp.gnu.org/gnu/gnutls/gnutls-3.0.19.tar.lz.sig
  ftp://ftp.gnutls.org/pub/gnutls/gnutls-3.0.19.tar.lz.sig

Note that it has been signed with my openpgp key:
pub   3104R/96865171 2008-05-04 [expires: 2028-04-29]
uid                  Nikos Mavrogiannopoulos <nmav <at> gnutls.org>
uid                  Nikos Mavrogiannopoulos <n.mavrogiannopoulos <at>
gmail.com>
sub   2048R/9013B842 2008-05-04 [expires: 2018-05-02]
sub   2048R/1404A91D 2008-05-04 [expires: 2018-05-02]

regards,
Nikos
Patrick Pelletier | 22 Apr 00:53
Favicon

patch: some more documentation fixes

Here is a commit with some various documentation and comment  
nitpicks.  I've attached the output of "git format-patch" as an  
attachment to this message; I think that worked successfully the last  
time I submitted one of these.

--Patrick


_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/gnutls-devel
Patrick Pelletier | 21 Apr 06:13
Favicon

fast compressors for TLS (was lzip vs. xz)


LZ4, at http://code.google.com/p/lz4/, although I have not tested it
a all, I'd be interested to see its interaction with TLS. The code looks
x86-centric though.

Snappy is another possible option.  (Although at least according to the lz4 benchmarks, snappy doesn't perform quite as well as lz4.)  I mention it because a co-worker of mine is using snappy to compress some real-time data between two machines on the same LAN, and he seems very happy with it.


The license should be compatible, although Snappy might not be a good fit for gnutls, because Snappy is written in C++.  The Snappy page links to an independent Snappy implementation in C, but I can't speak for that one; my coworker is using the C++ version.


I'm afraid I missed the beginning of the conversation.  Are you guys planning on standardizing this new compression method in an RFC?  (i. e. in the 0-63 "standards action" or 64-223 "specification required" compression methods)  Or is this just going to be in the "private use" area (224-255), only for when one gnutls instance is talking to another gnutls instance?  It would be nice to have a standardized, fast compression method implemented by more than one TLS library.  (Compression seems to be rarely used in TLS; I assume because people feel zlib is too slow.)

--Patrick

_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/gnutls-devel

Gmane