From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel,gmane.comp.encryption.gpg.gnutls.devel Subject: Re: Emacs core TLS support Date: Mon, 27 Sep 2010 16:11:40 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <878wc1vfh3.fsf@lifelogs.com> <87k4v0n0m8.fsf@lifelogs.com> <87wrrvfnc4.fsf@lifelogs.com> <87r5i2d00q.fsf@lifelogs.com> <87zkwqijye.fsf@stupidchicken.com> <878w4actmg.fsf@lifelogs.com> <877hju123h.fsf@stupidchicken.com> <8762yklrdk.fsf@lifelogs.com> <87wrqzhrjv.fsf@lifelogs.com> <87fwxmihyz.fsf@lifelogs.com> <8762ycfhqo.fsf@lifelogs.com> <87d3sf9soo.fsf@lifelogs.com> <87r5gh2fzj.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285597322 25638 80.91.229.12 (27 Sep 2010 14:22:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2010 14:22:02 +0000 (UTC) Cc: gnutls-devel@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 27 16:22:01 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Ead-0002UH-GL for ged-emacs-devel@m.gmane.org; Mon, 27 Sep 2010 16:22:00 +0200 Original-Received: from localhost ([127.0.0.1]:47028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0Eac-0000IW-Hm for ged-emacs-devel@m.gmane.org; Mon, 27 Sep 2010 10:21:58 -0400 Original-Received: from [140.186.70.92] (port=37510 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0EaN-0008Pz-Ef for emacs-devel@gnu.org; Mon, 27 Sep 2010 10:21:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0EQp-0007gJ-58 for emacs-devel@gnu.org; Mon, 27 Sep 2010 10:11:55 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36964) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0EQo-0007fo-Lh for emacs-devel@gnu.org; Mon, 27 Sep 2010 10:11:51 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0EQn-0006Mp-3V for emacs-devel@gnu.org; Mon, 27 Sep 2010 16:11:49 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 16:11:49 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 16:11:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 149 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUrAgFFBwbBiGX34bRg EAyuVi16Lx0XAADAGEqpAAACM0lEQVQ4jW2UTXPbIBCGl5lMdYUMdc9Fo/wAmNyjFHOvEnS2U9he nVz09/susmLH052xhfdhP3hZi2I0mpaTimI1T0OJiblEipVHQ0RqBTkXPBvYO9gDiF1BXI3is4Ah aiL7H+DyHLWyN8CH4OE5GrP/AkJYwauJe855NM02IC2S2XPh5kZFgL4PLqaI+nbUCq3TGcCcSZlH stjcSd/jmsp7Z4RwxcdOA9SQCC/tYrWDIFhVbDwio3n2gwCQuzwhaX7B1xDJ3AeJGFHP7KfWeC9t krGiWpTuY3xrYJJ2yCjp267H3ffeZTcIIU2qbRYrtUI1dDD1AkgCwLCAVg7iuCH3ZASIsmlUo4Ey AHnI0xmQqrWoOGrT7gRGy7KcSJ/ucKcaxNh0Bh2APRBXLscjH38jlxtmAIS8JyZOh8Lf7A9OPK1A UnWkrVz6Ij8UpmOrcYKW5QmKQxbTfcfx1hpyNUjFjCLMf5e3HsJIvAAlQ9ctq9kpPAKcNrD54dg5 avuJhC7LhayeK9+GzBrR3YJFbakavA48e5VuD30JpTYjctYZs2uL3qIoXOwB/yeM7lrxGoRh8m7m uSX8AvzkB+beP3U3QMat1Bz8oVuo/wIe8+tORvFnR3Jj7kKZja3SCIAM+WZzTEfMAyaugU9/5ijT V+c/N2AuIy7RwhUoXQMEdO8OL4b0QvLm+KxRTLd8hIfE6Y0iyAbmESf7FTxjiAiD/gmKhhZofeAd gI2pXgV8iDSvaf4HqqsVIbgJSecAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Hector Zazou & Swara's _In the House of Mirrors_: "Hool Ki Seva" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:8JK45ghcqP30tl2UFtuqqey6MDY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130995 gmane.comp.encryption.gpg.gnutls.devel:4546 Archived-At: Here's the entire trace from the connection: HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_CAMELLIA_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_CAMELLIA_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_CAMELLIA_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_CAMELLIA_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_ARCFOUR_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_ARCFOUR_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_RSA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_RSA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_DSS_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_DSS_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_DSS_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_CAMELLIA_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_CAMELLIA_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_ARCFOUR_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_ARCFOUR_MD5 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_ARCFOUR_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_3DES_EDE_CBC_SHA1 EXT[0x1f927e0]: Sending extension CERT_TYPE HSK[0x1f927e0]: CLIENT HELLO was send [88 bytes] REC[0x1f927e0]: Sending Packet[0] Handshake(22) with length: 88 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Sent Packet[1] Handshake(22) with length: 93 REC[0x1f927e0]: Expected Packet[0] Handshake(22) with length: 1 REC[0x1f927e0]: Received Packet[0] Handshake(22) with length: 74 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Decrypted Packet[0] Handshake(22) with length: 74 HSK[0x1f927e0]: SERVER HELLO was received [74 bytes] HSK[0x1f927e0]: Server's version: 3.1 HSK[0x1f927e0]: SessionID length: 32 HSK[0x1f927e0]: SessionID: f61b04980923171cfe2002e2a955cc198d4910ba1e4ebacbfc69840d8c4a9117 HSK[0x1f927e0]: Selected cipher suite: DHE_RSA_AES_128_CBC_SHA1 ASSERT: gnutls_extensions.c:124 REC[0x1f927e0]: Expected Packet[1] Handshake(22) with length: 1 REC[0x1f927e0]: Received Packet[1] Handshake(22) with length: 822 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Decrypted Packet[1] Handshake(22) with length: 822 HSK[0x1f927e0]: CERTIFICATE was received [822 bytes] REC[0x1f927e0]: Expected Packet[2] Handshake(22) with length: 1 REC[0x1f927e0]: Received Packet[2] Handshake(22) with length: 397 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Decrypted Packet[2] Handshake(22) with length: 397 HSK[0x1f927e0]: SERVER KEY EXCHANGE was received [397 bytes] REC[0x1f927e0]: Expected Packet[3] Handshake(22) with length: 1 REC[0x1f927e0]: Received Packet[3] Handshake(22) with length: 4 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Decrypted Packet[3] Handshake(22) with length: 4 HSK[0x1f927e0]: SERVER HELLO DONE was received [4 bytes] ASSERT: gnutls_handshake.c:1123 HSK[0x1f927e0]: CLIENT KEY EXCHANGE was send [134 bytes] REC[0x1f927e0]: Sending Packet[1] Handshake(22) with length: 134 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Sent Packet[2] Handshake(22) with length: 139 REC[0x1f927e0]: Sent ChangeCipherSpec REC[0x1f927e0]: Sending Packet[2] Change Cipher Spec(20) with length: 1 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: Sent Packet[3] Change Cipher Spec(20) with length: 6 INT: PREMASTER SECRET[128]: b6e5db84294a9a5baaee9bef86ffef5291ddf3c05f89499a8886daf08efa56375c51b18d8d77d0f2eec4c15f45dfefb4c5e0f889f7b657335ac597d38250eda9a2aba41f308679516096b2e66123e6d88ba404f3ce2ffc661fecce32375492c2a40901f395b3589c4bbae52eb6c5c7c760d70b7709baffb937ee1873af205cbc INT: CLIENT RANDOM[32]: 4ca0a5bee2a9c7b97625a749ccc5517991d2aab2e2453a3e0c4f32276c35fcc0 INT: SERVER RANDOM[32]: 4ca0a5bef00fb375c5e1ecc418f64566f621c6dd620161c146650ef50ad9c2ac INT: MASTER SECRET: 408e7621cb6a64815e6c24443d253f1449c74d48eb8be7a24bebe90a886aa1eab4683a3c91123d2ea02c0a8076914503 INT: KEY BLOCK[104]: 7696db01048a00a561eb42326691f07edaa83e3a8b4aee76e0d8aaacd568dcc2 INT: CLIENT WRITE KEY [16]: d8f1e68d677bfea28200e5c6b491f710 INT: SERVER WRITE KEY [16]: 9740dbee6da2a243eb7d35e856c4fa93 HSK[0x1f927e0]: Cipher Suite: DHE_RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Initializing internal [write] cipher sessions HSK[0x1f927e0]: FINISHED was send [16 bytes] REC[0x1f927e0]: Sending Packet[0] Handshake(22) with length: 16 REC[0x1f927e0]: Sent Packet[1] Handshake(22) with length: 277 REC[0x1f927e0]: Expected Packet[4] Change Cipher Spec(20) with length: 1 REC[0x1f927e0]: Received Packet[4] Change Cipher Spec(20) with length: 1 ASSERT: gnutls_cipher.c:204 REC[0x1f927e0]: ChangeCipherSpec Packet was received HSK[0x1f927e0]: Cipher Suite: DHE_RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Initializing internal [read] cipher sessions REC[0x1f927e0]: Expected Packet[0] Handshake(22) with length: 1 REC[0x1f927e0]: Received Packet[0] Handshake(22) with length: 48 REC[0x1f927e0]: Decrypted Packet[0] Handshake(22) with length: 16 HSK[0x1f927e0]: FINISHED was received [16 bytes] HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_CAMELLIA_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_CAMELLIA_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_RSA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_CAMELLIA_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_CAMELLIA_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: DHE_DSS_ARCFOUR_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: DHE_PSK_SHA_ARCFOUR_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_RSA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_RSA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_DSS_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_DSS_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_DSS_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_CAMELLIA_128_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_CAMELLIA_256_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_ARCFOUR_SHA1 HSK[0x1f927e0]: Keeping ciphersuite: RSA_ARCFOUR_MD5 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_3DES_EDE_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: PSK_SHA_ARCFOUR_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_AES_128_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_AES_256_CBC_SHA1 HSK[0x1f927e0]: Removing ciphersuite: SRP_SHA_3DES_EDE_CBC_SHA1 EXT[0x1f927e0]: Sending extension CERT_TYPE HSK[0x1f927e0]: CLIENT HELLO was send [88 bytes] REC[0x1f927e0]: Sending Packet[1] Handshake(22) with length: 88 REC[0x1f927e0]: Sent Packet[2] Handshake(22) with length: 149 REC[0x1f927e0]: Expected Packet[1] Handshake(22) with length: 1 REC[0x1f927e0]: Received Packet[1] Application Data(23) with length: 48 REC[0x1f927e0]: Decrypted Packet[1] Application Data(23) with length: 21 ASSERT: gnutls_record.c:735 ASSERT: gnutls_record.c:1048 ASSERT: gnutls_buffers.c:1032 ASSERT: gnutls_handshake.c:1045 ASSERT: gnutls_handshake.c:2364 -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen