[pkix] RFC8410 / RFC8037 incompatibility

Anders Rundgren <anders.rundgren.net@gmail.com> Fri, 28 August 2020 15:00 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92FCB3A0C52 for <pkix@ietfa.amsl.com>; Fri, 28 Aug 2020 08:00:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, 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=gmail.com
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 WhRB7m2BXvZ0 for <pkix@ietfa.amsl.com>; Fri, 28 Aug 2020 08:00:24 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 421353A0C57 for <pkix@ietf.org>; Fri, 28 Aug 2020 08:00:24 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id x9so1196891wmi.2 for <pkix@ietf.org>; Fri, 28 Aug 2020 08:00:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=pZN3Z8TU8+iRA6MJtjO70QMLo9CezyBuASsStqwCm00=; b=fZ2BgO/qB1hiD4JS/jlkpC1i103yI18rlsHrZcgmghAKr7no4FO6ujz0pKMmcbccWt jRgbbP1b8aLzEqozWD+9wvmfdEZaWJrs+cboGC+REkzKDKrLHdxgiBj1XjLPRhedswas d426IsbzTYS6fZjYbMRLJeXDK7gAZ9J/OWnxLUWRrjhvGwe7sIB3JQutP4czdxhzFP0N LLpNgLKQkB3uxghieRISNVtBFqdegZtztQ1z+EifbulxVIl0sPbndQy/FGXoXjgTpobh Zq6Fxzd3je17Iu0QdQAzw4zdgIk+7nCd3YlPxRcReCupOCip6ItGvY9oc6AdubZRad6k 1+qA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pZN3Z8TU8+iRA6MJtjO70QMLo9CezyBuASsStqwCm00=; b=YqADyHlDyiH1HhnfTbjgMxtBHpUoJByfzZ+rpW5QGgk3tk0zuhB4HkJy4au1jlSFHG JugVk/Dkb/1a08llVaR0WUUuFfCwOX9I3w6Fk/V9S32UgdrKR3JsQtPeDgo62MivyaYJ IhaNZx9mW4fWUIRrvZzylesAYClgI13jyBNjSNnToBuumq4V7FkizhdY5/NKaayXhg42 3/81NB2dLZ0u9eYbfMhkNHXWFcXQCF/n5Ayl4KGtksNugu1GDl6S5zh5wHuatvOcMgPE 8B8/23aQADdVcjvtjNG2k1DU82wc+84yB3IgcVeJzKZ+/CFFrxYDxnga4tYbz3ubssVY mCGg==
X-Gm-Message-State: AOAM5317WvVPg1mFYTZW2SRa1lz7/kBEkkDnAMT0WQ1aIRpfiUoR1qug rIklIIaezLiT0kc7lqxZYpm+G0tZUrk=
X-Google-Smtp-Source: ABdhPJwd7mjNHD1UsP9cpOVcMPzWlhJx4jIRZPEvPlJ023jSmVpcDzV9D4++sPjOwLp58qQecxbTrA==
X-Received: by 2002:a05:600c:2246:: with SMTP id a6mr2075895wmm.71.1598626822256; Fri, 28 Aug 2020 08:00:22 -0700 (PDT)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id 124sm2807722wmd.31.2020.08.28.08.00.21 for <pkix@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Aug 2020 08:00:21 -0700 (PDT)
References: <6b0c0d16-d421-f516-9b21-d94492d72075@gmail.com>
To: "pkix@ietf.org" <pkix@ietf.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Forwarded-Message-Id: <6b0c0d16-d421-f516-9b21-d94492d72075@gmail.com>
Message-ID: <b9a3b61f-b987-58e4-53f8-853b8d2ab265@gmail.com>
Date: Fri, 28 Aug 2020 17:00:20 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <6b0c0d16-d421-f516-9b21-d94492d72075@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/9rEy0e3cLjBKEX2c0ZB3KRab2v0>
Subject: [pkix] RFC8410 / RFC8037 incompatibility
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2020 15:00:27 -0000

Hi Crypto Experts,

Please pardon my ignorance regarding curve25519, but I ran into problems [*] trying to recreate the sample certificate:
https://tools.ietf.org/html/rfc8410#section-10.2

Reading
https://tools.ietf.org/html/rfc8037#section-3.2
indicates that signing using an ECDH key MUST NOT be doable as well.

Personally I don't see any use of a self-signed encryption certificate so maybe this is just a bad example...kind of edge case.

Regards,
Anders

*] java.security.InvalidKeyException: cannot identify EdDSA private key