Re: [TLS] new error alerts?

Aaron Zauner <azet@azet.org> Thu, 23 July 2015 20:18 UTC

Return-Path: <azet@azet.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 154361A70E1 for <tls@ietfa.amsl.com>; Thu, 23 Jul 2015 13:18:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vDzMcGAhXE9e for <tls@ietfa.amsl.com>; Thu, 23 Jul 2015 13:18:52 -0700 (PDT)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D2FF1A1B22 for <tls@ietf.org>; Thu, 23 Jul 2015 13:18:52 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so39019852wic.0 for <tls@ietf.org>; Thu, 23 Jul 2015 13:18:51 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=UtnQP2tDRsDem9o42gD1wwG+N+MUKSGZUTmjxrbXv/Y=; b=jojgLLsnZBnH0w8eurxuBsGPtJ9QOjPHdCveRy83aKublbSgbS5x9gs6Mii1xr4xFP G8GN55tgQlE3uFNjlLa3Q56bGkEzYPZb0UNpOa9n6SB58pRlBdRHzem7axlzpAUNGtzL m4EOmJRDXNjCUHNADExxf2Tw8WPaNfdf3SwKeuFO5MUhQYPG+d+9ZiHh2JQxOFDQSzSR AWpIVKR6Q7vz9A9Re75kpvTvEE6EKUzszNVNzjLMYk1Rpb4h/3GqcJ0nV3vQgoc5kKq3 wJVyq7BhHXXtQurmi5KQZNhjtwBfGuPnQ3p9IATCPj6R2YUoaEu+7mj/m6Cy0JkDuWqO 1ySg==
X-Gm-Message-State: ALoCoQmFIDXl4FpiJJVsR1tthmD6vbs+7JlWrGUnIuq8h1Um8+RxX6gmjAoFoNsi7lDk8R9lIGQk
X-Received: by 10.180.105.36 with SMTP id gj4mr93510wib.64.1437682731086; Thu, 23 Jul 2015 13:18:51 -0700 (PDT)
Received: from [200.200.100.37] ([194.228.129.228]) by smtp.gmail.com with ESMTPSA id pd7sm9113086wjb.27.2015.07.23.13.18.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jul 2015 13:18:50 -0700 (PDT)
Message-ID: <55B14C25.3080800@azet.org>
Date: Thu, 23 Jul 2015 22:18:45 +0200
From: Aaron Zauner <azet@azet.org>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Dave Garrett <davemgarrett@gmail.com>
References: <201507222139.46391.davemgarrett@gmail.com> <201507231426.20542.davemgarrett@gmail.com> <55B140FA.4060705@azet.org> <201507231601.13026.davemgarrett@gmail.com>
In-Reply-To: <201507231601.13026.davemgarrett@gmail.com>
X-Enigmail-Version: 1.2.3
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="------------enig13AAF732E43F694564A2E97A"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/HBtjE_1YHPkqUkcC2OIC0f9cgx8>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] new error alerts?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jul 2015 20:18:54 -0000


Dave Garrett wrote:>
> It's wrong, though. If a server rejects a client connection because the server only supports RC4 and the client doesn't, the correct error for the server to return is "insufficient_security". If you invert the meaning, I guess the server has insufficient security, but it's not the same.
> 

Well that was kinda what I was getting at, yea :)

> If we're ok with a complete change, then I'll just go with the "unsupported_X" format as there's already an "unsupported_certificate" and "unsupported_extension".
> 
> I'll stick a commit for this into my ever growing PR #201 in a bit.
> 

Fine with me - didn't want to bikeshed here.

Aaron