[openpgp] Re: WG: BSI view on KEM combiners
"D. J. Bernstein" <djb@cr.yp.to> Sun, 08 September 2024 10:15 UTC
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D29C6C14F749 for <openpgp@ietfa.amsl.com>; Sun, 8 Sep 2024 03:15:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XSnqKfb_kZX3 for <openpgp@ietfa.amsl.com>; Sun, 8 Sep 2024 03:15:54 -0700 (PDT)
Received: from salsa.cs.uic.edu (salsa.cs.uic.edu [131.193.32.108]) by ietfa.amsl.com (Postfix) with SMTP id 6E244C14F713 for <openpgp@ietf.org>; Sun, 8 Sep 2024 03:15:54 -0700 (PDT)
Received: (qmail 13780 invoked by uid 1010); 8 Sep 2024 10:15:53 -0000
Received: from unknown (unknown) by unknown with QMTP; 8 Sep 2024 10:15:53 -0000
Received: (qmail 303093 invoked by uid 1000); 8 Sep 2024 10:15:16 -0000
Date: Sun, 08 Sep 2024 10:15:16 -0000
Message-ID: <20240908101516.303091.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: openpgp@ietf.org
In-Reply-To: <5F1A73F3-B786-41C3-862A-F3A854B96F1A@nohats.ca>
Message-ID-Hash: LIX2WRUJBOB6UY2QPANL4QEHFXGBKG7V
X-Message-ID-Hash: LIX2WRUJBOB6UY2QPANL4QEHFXGBKG7V
X-MailFrom: djb-dsn2-1406711340.7506@cr.yp.to
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-openpgp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [openpgp] Re: WG: BSI view on KEM combiners
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/mMusn0Ekedodw-6FYceIUZf6lI0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Owner: <mailto:openpgp-owner@ietf.org>
List-Post: <mailto:openpgp@ietf.org>
List-Subscribe: <mailto:openpgp-join@ietf.org>
List-Unsubscribe: <mailto:openpgp-leave@ietf.org>
Paul Wouters writes: > A few months delay against an as-of-yet > theoretical quantum attack to ensure we got things right would be worth it to > avoid wasting years of time of wrongly deployed data ending up being > vulnerable. This sounds very wrong to me from a security perspective. Sure, years of risk would outweigh months of risk if the risks had the same probability and impact; but let's look at what the actual risks are in this case. There's tons of data being sent today that needs long-term confidentiality: clients talking to lawyers, patients talking to doctors, whistleblowers talking to journalists, etc. Attackers are recording everything they can in the hopes of decrypting it later: https://www.forbes.com/sites/andygreenberg/2013/06/20/leaked-nsa-doc-says-it-can-collect-and-keep-your-encrypted-data-as-long-as-it-takes-to-crack-it/ If the encryption mechanisms we're using are breakable _later_ then we're already failing _today_ to provide security: i.e., the starting point is that we've already gotten encryption wrong and are giving user data away to attackers. Of course, we won't be absolutely sure that a quantum computer is breaking RSA-2048 etc. until we've seen public demos; but waiting until we're sure is not sensible risk management. The upgrades from ECC to PQ+ECC (OpenSSH in April 2022, Google's ALTS announcement in November 2022, etc.) are at least _trying_ to solve the security problem here, whereas delaying means exacerbating the security problem. On the flip side, how do you imagine these upgrades from ECC to PQ+ECC making security _worse_? Sure, there could be a program-partitioning disaster such as a buffer overflow in the PQ software---which is why we use tools such as valgrind and check path coverage. Or someone could massively screw up the final hashing, which is why we check the hashing carefully. The risks here are understood and controlled, while there's nothing we can do to stop attackers from building a quantum computer. To be clear, upgrading from ECC to PQ+ECC won't necessarily make security better. We've seen many breaks of PQ proposals; for how often this happens, see https://cr.yp.to/papers.html#qrcsp. But holding off on deployment for this reason makes no sense---it's tantamount to choosing a _definitely_ broken PQ proposal. > > Are you suggesting that we now adopt draft-connolly-cfrg-xwing-kem, an > > individual draft? > That draft will be adopted in CFRG. Evidence? ---D. J. Bernstein
- [openpgp] WG: BSI view on KEM combiners Ehlen, Stephan
- [openpgp] BSI view on KEM combiners Kris Kwiatkowski
- [openpgp] Re: WG: BSI view on KEM combiners D. J. Bernstein
- [openpgp] Re: WG: BSI view on KEM combiners D. J. Bernstein
- [openpgp] Re: WG: BSI view on KEM combiners D. J. Bernstein
- [openpgp] Re: WG: BSI view on KEM combiners Daniel Huigens
- [openpgp] Re: WG: BSI view on KEM combiners Ehlen, Stephan
- [openpgp] Re: WG: BSI view on KEM combiners Daniel Huigens
- [openpgp] Re: WG: BSI view on KEM combiners Ehlen, Stephan
- [openpgp] Re: WG: BSI view on KEM combiners Daniel Huigens
- [openpgp] Re: WG: BSI view on KEM combiners Falko Strenzke
- [openpgp] Re: WG: BSI view on KEM combiners Daniel Huigens
- [openpgp] Re: WG: BSI view on KEM combiners Falko Strenzke
- [openpgp] Re: WG: BSI view on KEM combiners Daniel Huigens
- [openpgp] Re: WG: BSI view on KEM combiners Paul Wouters
- [openpgp] Re: WG: BSI view on KEM combiners Paul Wouters
- [openpgp] Re: WG: BSI view on KEM combiners Paul Wouters
- [openpgp] Re: WG: BSI view on KEM combiners Falko Strenzke
- [openpgp] Re: WG: BSI view on KEM combiners Paul Wouters
- [openpgp] Re: WG: BSI view on KEM combiners Phillip Hallam-Baker
- [openpgp] Re: WG: BSI view on KEM combiners Phillip Hallam-Baker
- [openpgp] Re: WG: BSI view on KEM combiners Phillip Hallam-Baker