Re: [Acme] S/MIME and ACME: concerns about dual certificates (maybe pull the S/MIME draft back to AC

Benjamin Kaduk <kaduk@mit.edu> Thu, 26 November 2020 03:14 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B57AD3A0E72; Wed, 25 Nov 2020 19:14:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Qj9mCOtGUdsN; Wed, 25 Nov 2020 19:14:23 -0800 (PST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 521473A0E6B; Wed, 25 Nov 2020 19:14:19 -0800 (PST)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 0AQ3ED9O026079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Nov 2020 22:14:18 -0500
Date: Wed, 25 Nov 2020 19:14:12 -0800
From: Benjamin Kaduk <kaduk@mit.edu>
To: Sebastian Nielsen <sebastian=40sebbe.eu@dmarc.ietf.org>
Cc: 'Mailing List' <acme@ietf.org>
Message-ID: <20201126031412.GX39170@kduck.mit.edu>
References: <87y2ixafve.fsf@fifthhorseman.net> <af04860b-9773-c695-6244-d2651b780df1@isode.com> <000201d6bf67$aea56560$0bf03020$@sebbe.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <000201d6bf67$aea56560$0bf03020$@sebbe.eu>
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/V0LhIubXs9EtUVVWWPyn1QRwqJU>
Subject: Re: [Acme] S/MIME and ACME: concerns about dual certificates (maybe pull the S/MIME draft back to AC
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Nov 2020 03:14:25 -0000

Hi Sebastian,

On Fri, Nov 20, 2020 at 07:05:08PM +0100, Sebastian Nielsen wrote:
> The certificates can have different extended key usages, either digital
> signature or encryption - and thus an email client will automatically pick
> the right certificate.
> 
> However, the reason the same key shouldn't be used for both signing and
> encryption, is that in textbook RSA, it exist sheninigans, where a attacker
> could send an snooped encrypted message, to the receiver, but blinded with a
> random number. (multiplied).

While this may be *a* reason, I don't think it's the only reason.  Another
reason that comes up with some regularity is that isolating a given key to
a single usage greatly simplifies formal analysis of the containing
protocol's security properties, as cross-protocol and cross-algorithm
attacks are definitionally out of scope.

Thanks,

Ben