Re: [openpgp] Ed25519 and digest choices (issue 31)

Wiktor Kwapisiewicz <wiktor@metacode.biz> Tue, 25 May 2021 07:37 UTC

Return-Path: <wiktor@metacode.biz>
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 8BEDC3A194C for <openpgp@ietfa.amsl.com>; Tue, 25 May 2021 00:37:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=metacode.biz
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 7-scq-S9H5R7 for <openpgp@ietfa.amsl.com>; Tue, 25 May 2021 00:37:19 -0700 (PDT)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 40F6C3A198F for <openpgp@ietf.org>; Tue, 25 May 2021 00:37:14 -0700 (PDT)
Received: by mail-wm1-x336.google.com with SMTP id y184-20020a1ce1c10000b02901769b409001so12240350wmg.3 for <openpgp@ietf.org>; Tue, 25 May 2021 00:37:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metacode.biz; s=2017; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Zhr4Y0B1zpykQXLY0PvdY6RhKP01gKwufIB76Nr4eUk=; b=HvyxEoiGDgJEhIvhO+jShads3fur7zkhKe7EzTpjm5uq3z1tf3nyKhEAEWdgLa0IQ4 avfVg3hQ6sz874dfgSAJxJWWq1jixUvHIqoatlNpsk+F6Hj3iKvVQmC5oJXKNuKJjMB1 B5fKxgPwskB61kCC9UhQjyg/TBOwpo+qQ0THx3LqjcNMcnvRuUnYIqJsYv2x2CJNBZJf JDqMQwsyQwmsAGoPSy6SNUl0mV7hiRm1tut8x5jmRHVt3Y4v6PqGQX4zmYU74jr44wFE pK1WtYg3gKHA0b2Xd0ClONarBsTrG1630Axy83e5z8VKxzHj/l/AJBLtKmJxojdpKwd2 X99Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Zhr4Y0B1zpykQXLY0PvdY6RhKP01gKwufIB76Nr4eUk=; b=IIYzR38YdB5qdTPNlnOwNKJuCZZii6Yepp9hgZY3IcQHR6WzKtqoOZvOTA7Y/cdZd/ lXAtoOowJyylTkLVuxPBUxiI4boob++FR+Gvi1/a+zOkpGuGqEQKST+AZfIiHiM6VigR NVQCNJSiyGRyqaz3VJ7GHskbOFrUgqBHPd2NyGubB3VIw5H81oNOLYEGxFjxEh3v9WkZ OaU2G5XNgwI1QX0TxZ57TOvRTPpCAjoTkjcbxv1hnsPTR9DS1HZgVHvv83i9luzckQRh n2EpIGt8D/9SoFK4uCvbfohuF2SggjucoUenC3c+9ZAVJ4HQ+lDSSGlhs+wDFOnkMzm5 g2/A==
X-Gm-Message-State: AOAM533YkDNz6ty4DZCZHF7vhhVLxQ6jYImPWqS3KVdNYjxr8K8SNu0M xBH9Bz9RFtXHK/e+0nJV1gbyuvfcEUhCTw==
X-Google-Smtp-Source: ABdhPJzxPjkI3WPK35zXYQYS4Zfo1DUjfha9zI8U8j4CvPlMywy5PfmIdgTbdXsfdUkiHa4/A2Yc7g==
X-Received: by 2002:a1c:7909:: with SMTP id l9mr2597434wme.129.1621928231901; Tue, 25 May 2021 00:37:11 -0700 (PDT)
Received: from tungsten (public-gprs408557.centertel.pl. [37.47.227.46]) by smtp.gmail.com with ESMTPSA id d14sm8615853wra.5.2021.05.25.00.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 00:37:09 -0700 (PDT)
From: Wiktor Kwapisiewicz <wiktor@metacode.biz>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: openpgp@ietf.org
In-Reply-To: <878s48dlkn.fsf@fifthhorseman.net>
References: <878s48dlkn.fsf@fifthhorseman.net>
Date: Tue, 25 May 2021 09:37:22 +0200
Message-ID: <8735ubs1ql.fsf@tungsten.i-did-not-set--mail-host-address--so-tickle-me>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/XGLRWsL_RW-vnAkPqauP3q42bD8>
Subject: Re: [openpgp] Ed25519 and digest choices (issue 31)
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 May 2021 07:37:30 -0000

Hi Daniel,
> Either way, it seems that we need to clarify the standard.

I agree. I've been working on a specific use case (decryption and
validation of messages when public parts of the key are unavailable) and
the amount of cryptographic agility here is, in my opinion, unwarranted.

>From what I can see SHA-256 is the most prevalent hash for ed25519
signed messages now but I see no problem in SHOULD'ing SHA-512 to align
with existing standards.

Kind regards,
Wiktor