<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel">
    <title>gmane.comp.encryption.gpg.gnutls.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3308"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3307"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3306"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3305"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3304"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3303"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3302"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3301"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3300"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3299"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3298"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3297"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3296"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3295"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3294"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3293"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3292"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3291"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3290"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309">
    <title>Re: Bug#507633: libgnutls26: GnuTLS does not know VeriSign any more</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3309</link>
    <description>

[...]

FWIW adding or dropping
http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls26/trunk/debian/patches/20_GNUTLS-SA-2008-3.patch?op=file&amp;rev=0&amp;sc=0
indeed makes

gnutls-cli  -p 443 hbci-pintan-rp.s-hbci.de --x509cafile \
/etc/ssl/certs/ca-certificates.crt

succeed or not succeed in verifying the server certificate. 

openssl s_client -connect  hbci-pintan-rp.s-hbci.de:443 -CApath \
/etc/ssl/certs

also reports "Verify return code: 0 (ok)"
cu andreas
</description>
    <dc:creator>Andreas Metzler</dc:creator>
    <dc:date>2008-12-03T18:19:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3308">
    <title>Re: gnutls-1.6.3 error report</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3308</link>
    <description>

GnuTLS 1.6 is rather old, and we recommend to upgrade to the latest
stable branch 2.6.x.  Please check if you can reproduce the problem with
2.6.x, I suspect it has been fixed already.

/Simon
</description>
    <dc:creator>Simon Josefsson</dc:creator>
    <dc:date>2008-12-03T12:04:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3307">
    <title>gnutls-1.6.3 error report</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3307</link>
    <description>
Doing a rebuild on CentOS 5, of gnutls-1.6.3-1.fc8.src.rpm 
(from Red Hat's Raw Hide archive) yields an error which asks 
that I report it:


===================================
1 of 10 tests failed
Please report to bug-gnutls&lt; at &gt;gnu.org
===================================


==9666== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 
4 from 1)
==9666== malloc/free: in use at exit: 0 bytes in 0 blocks.
==9666== malloc/free: 2 allocs, 2 frees, 157 bytes allocated.
==9666== For counts of detected errors, rerun with: -v
==9666== All heap blocks were freed -- no leaks are possible.
/bin/sh: line 4:  9666 Segmentation fault 
PKCS12FILE=./pkcs12-decode/client.p12 PKCS12PASSWORD=foobar 
valgrind ${dir}$tst
FAIL: openssl
==9671== Memcheck, a memory error detector.
==9671== Copyright (C) 2002-2006, and GNU GPL'd, by Julian 
Seward et al.


This source RPM is in my directory:

/home/herrold/build/libiphone/libiphone-0.1.0

and I have 'snapshotted' versions on all packages, if you need 
further information on the build</description>
    <dc:creator>R P Herrold</dc:creator>
    <dc:date>2008-12-01T23:09:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3306">
    <title>hi I have a problem related to nufw-2.2.17</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3306</link>
    <description>_______________________________________________
Gnutls-devel mailing list
Gnutls-devel&lt; at &gt;gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
</description>
    <dc:creator>ravi sharma</dc:creator>
    <dc:date>2008-12-01T15:35:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3305">
    <title>Re: TLS handshake problems</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3305</link>
    <description>
No. If the connection fails for some reason you should not try to reuse it.


regards,
Nikos
</description>
    <dc:creator>Nikos Mavrogiannopoulos</dc:creator>
    <dc:date>2008-11-29T08:22:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3304">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutls problem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3304</link>
    <description>
Hello Joe,
 I the test case was not correct. The call (from server) to
gnutls_rehandshake will only notify the client about a rehandshake.
After that a call to gnutls_handshake is required. Once I do this the
test case works correctly (i've also committed it).

To debug (1 - gnutls-cli log output from testing using httpd/mod_ssl)
you might need some output from mod_ssl as well. There the server
notifies the client about a rehandshake, the client starts the handshake
by sending client hello and the server replies with an alert.

regards,
Nikos
</description>
    <dc:creator>Nikos Mavrogiannopoulos</dc:creator>
    <dc:date>2008-11-29T08:02:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3303">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutlsproblem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3303</link>
    <description>I've tried this using a git build of GnuTLS, gnutls-cli and a test 
httpd/mod_ssl server configured for per-location client cert auth (i.e. 
it requests a second handshake after the GET request is recevied), and 
it does fail, so I think this is indeed a GnuTLS bug in the handling of 
rehandshakes.

Attached:

1) gnutls-cli log output from testing using httpd/mod_ssl
2) patch to tests/x509self.c which attempts to replicate this test case
3) stdout and stderr output from running (2)



|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_RSA_3DES_EDE_CBC_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_DSS_3DES_EDE_CBC_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_DSS_ARCFOUR_SHA1
|&lt;3&gt;| HSK[0x1a7f3f0]: Keeping ciphersuite: DHE_PSK_SHA_AES_</description>
    <dc:creator>Joe Orton</dc:creator>
    <dc:date>2008-11-28T14:47:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3302">
    <title>Re: TLS handshake problems</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3302</link>
    <description>Hello,

This is not an answer to your TLS problem, but I'd like to highlight
that in Diameter if the TLS handshake fails you don't have to send a
DPR. Here is an extract from draft-ietf-dime-rfc3588bis-14 section 5.6:

"   If the TLS handshake is successful, all further messages
   will be sent via TLS.  If the handshake fails, both ends move to the
   closed state."


I believe this provides you a workaround for your problem, since if the
connection is simply closed, your client will exit the handshake routine.

Best regards,
Sebastien.


Metzler, Richard a écrit :

</description>
    <dc:creator>Sebastien Decugis</dc:creator>
    <dc:date>2008-11-28T01:23:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3301">
    <title>TLS handshake problems</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3301</link>
    <description>_______________________________________________
Gnutls-devel mailing list
Gnutls-devel&lt; at &gt;gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
</description>
    <dc:creator>Metzler, Richard</dc:creator>
    <dc:date>2008-11-27T08:21:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3300">
    <title>Re: Crash in GnuTLS 2.4.1</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3300</link>
    <description>

I don't know.  Maybe ask on the libgcrypt list?

Btw, one idea is to make sure that your call above is invoked before
libgcrypt is initialized.  Maybe your gcry_control call is too late.

/Simon
</description>
    <dc:creator>Simon Josefsson</dc:creator>
    <dc:date>2008-11-26T11:55:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3299">
    <title>Re: Crash in GnuTLS 2.4.1</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3299</link>
    <description>
Hi,


Looking more closely at it, I noticed 

/* The order matters. 
 */

I've fixed the order, we'll see what happens next :-)
Thanks,
</description>
    <dc:creator>Colin Leroy</dc:creator>
    <dc:date>2008-11-26T11:55:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3298">
    <title>Re: Crash in GnuTLS 2.4.1</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3298</link>
    <description>

Looks like a libgcrypt and thread related crash to me.  Is your
application multi-threaded?  Maybe this helps:

http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applicati
ons.html

/Simon

</description>
    <dc:creator>Simon Josefsson</dc:creator>
    <dc:date>2008-11-26T11:46:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3297">
    <title>Re: Crash in GnuTLS 2.4.1</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3297</link>
    <description>
Hi,


Btw, in my application I do have the threads setup with:
gcry_control (GCRYCTL_SET_THREAD_CBS, &amp;gcry_threads_pthread);

But this application also uses a Glib main loop. Should I use
gcry_threads_other instead?

Thanks,
</description>
    <dc:creator>Colin Leroy</dc:creator>
    <dc:date>2008-11-26T11:33:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3296">
    <title>Crash in GnuTLS 2.4.1</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3296</link>
    <description>Hi,

Does such a backtrace ring a bell for someone?

#0  0x00007f9a9a0e7fd5 in raise () from /lib/libc.so.6
(gdb) bt  
#0  0x00007f9a9a0e7fd5 in raise () from /lib/libc.so.6
#1  0x00007f9a9a0e9b43 in abort () from /lib/libc.so.6
#2  0x00007f9a9a0e0d49 in __assert_fail () from /lib/libc.so.6
#3  0x00007f9a9afd191b in _gcry_ath_mutex_lock (lock=0x7f9a9b22ad30) at ath.c:186
#4  0x00007f9a9afdf660 in lock_pool () at random.c:299
#5  0x00007f9a9afe003e in _gcry_fast_random_poll () at random.c:1304
#6  0x00007f9a9afd3686 in _gcry_cipher_open (handle=0x3ecc, algo=16247, mode=6, flags=4294967295)
    at cipher.c:641
#7  0x00007f9a9b6a3ce9 in gc_cipher_open (alg=&lt;value optimized out&gt;, mode=&lt;value optimized out&gt;, 
    outhandle=0x3) at gc-libgcrypt.c:180
#8  0x00007f9a9b682b78 in _gnutls_cipher_init (handle=0x26c1ac8, cipher=&lt;value optimized out&gt;, 
    key=0x26c1a88, iv=0x26c1a68) at gnutls_cipher_int.c:64
#9  0x00007f9a9b68d829 in _gnutls_read_connection_state_init (session=0x26c16e0) at gnutls_constate.c:621
#10 0x0</description>
    <dc:creator>Colin Leroy</dc:creator>
    <dc:date>2008-11-26T11:23:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3295">
    <title>Re: GnuTLS 2.7.2 fails to build with -Wl,--as-needed in LDFLAGS</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3295</link>
    <description>

Thanks, should be fixed by:

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=490aa118b953284c19f908c5fb8f7b19a37989f3

/Simon
</description>
    <dc:creator>Simon Josefsson</dc:creator>
    <dc:date>2008-11-23T15:52:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3294">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutls problem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3294</link>
    <description>
The git version of gnutls-cli (both in main and 2.6 branches) support
this behavior.

regards,
Nikos
</description>
    <dc:creator>Nikos Mavrogiannopoulos</dc:creator>
    <dc:date>2008-11-23T08:02:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3293">
    <title>GnuTLS 2.7.2 fails to build with -Wl,--as-needed in LDFLAGS</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3293</link>
    <description>_______________________________________________
Gnutls-devel mailing list
Gnutls-devel&lt; at &gt;gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
</description>
    <dc:creator>Arfrever Frehtes Taifersar Arahesis</dc:creator>
    <dc:date>2008-11-22T23:18:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3292">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutlsproblem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3292</link>
    <description>
Interesting, thanks for trying that out.  I'm not sure what else neon 
could do to make this work correctly so I think further diagnosis based 
on packet traces will be needed.  I can try to work on that sometime in 
the coming week, with luck.

It might be useful to modify gnutls-cli to call gnutls_rehandshake() in 
the same fashion as my patch to neon, to get some debugging traces from 
GnuTLS, if you wanted to try that.

Regards, Joe
</description>
    <dc:creator>Joe Orton</dc:creator>
    <dc:date>2008-11-22T22:13:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3291">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutlsproblem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3291</link>
    <description>_______________________________________________
Gnutls-devel mailing list
Gnutls-devel&lt; at &gt;gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
</description>
    <dc:creator>Daniel Kahn Gillmor</dc:creator>
    <dc:date>2008-11-22T18:54:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3290">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutlsproblem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3290</link>
    <description>
I guess that's a problem with the Debian package build process?


Err, reading that patch again, it's complete rubbish.  Could you try the 
one below which is hopefully less rubbish?  Thanks a lot for working on 
this!

Index: src/ne_socket.c
===================================================================
--- src/ne_socket.c(revision 1607)
+++ src/ne_socket.c(working copy)
&lt; at &gt;&lt; at &gt; -750,13 +750,18 &lt; at &gt;&lt; at &gt;
 static ssize_t read_gnutls(ne_socket *sock, char *buffer, size_t len)
 {
     ssize_t ret;
+    unsigned reneg = 1; /* number of allowed rehandshakes */
 
     ret = readable_gnutls(sock, sock-&gt;rdtimeout);
     if (ret) return ret;
     
     do {
-        ret = gnutls_record_recv(sock-&gt;ssl, buffer, len);
-    } while (RETRY_GNUTLS(sock, ret));
+        do {
+            ret = gnutls_record_recv(sock-&gt;ssl, buffer, len);
+        } while (RETRY_GNUTLS(sock, ret));
+        
+    } while (ret == GNUTLS_E_REHANDSHAKE &amp;&amp; reneg--
+             &amp;&amp; (ret = gnutls_handshake(sock-&gt;ssl)) == GNUTLS_E_SUCCESS);
 
     if (</description>
    <dc:creator>Joe Orton</dc:creator>
    <dc:date>2008-11-22T08:05:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3289">
    <title>Re: Bug#480041: confirmation that debian #480041 is a gnutlsproblem, and steps to reproduce</title>
    <link>http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3289</link>
    <description>_______________________________________________
Gnutls-devel mailing list
Gnutls-devel&lt; at &gt;gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
</description>
    <dc:creator>Daniel Kahn Gillmor</dc:creator>
    <dc:date>2008-11-22T05:51:05</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.encryption.gpg.gnutls.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.encryption.gpg.gnutls.devel</link>
  </textinput>
</rdf:RDF>
