Re: [openpgp] To bind or not to bind

Nickolay Olshevsky <o.nickolay@gmail.com> Sun, 24 March 2024 10:17 UTC

Return-Path: <o.nickolay@gmail.com>
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 2A526C15198F for <openpgp@ietfa.amsl.com>; Sun, 24 Mar 2024 03:17:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kUrOztTGses6 for <openpgp@ietfa.amsl.com>; Sun, 24 Mar 2024 03:17:17 -0700 (PDT)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63C72C151552 for <openpgp@ietf.org>; Sun, 24 Mar 2024 03:17:17 -0700 (PDT)
Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a44ad785a44so391269766b.3 for <openpgp@ietf.org>; Sun, 24 Mar 2024 03:17:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711275435; x=1711880235; darn=ietf.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HP+psIhDXj8E2auFzkTUASDE4TeVP4Bp0A2rywPyT7Q=; b=GbN91W7MO7V4Se3nNtE7Z46tFeHbbCNUwLLKXuns/UEQJCXJmavcC3OL9oIzPid4+z gOqnP3FQ9bqSNSeN0PP/x04kGFXyGi8ATy/WL6xNJbYIogLYWqRxBzfc2kQaPnjjDqhK p9Ce4RDy1+hgOs6PPC8fMq2X2uDazeAc505mN1NyBLgyt6W1n84aLxC/xWtdWLtH4ZYV RFj9/JmJ1lT0jtSZa2JINmqmCAThAtwbDjPE66iEgSQjAohAlXMU9ISTpoWM5z67sQoi Rdg2CMcpSoc/d7uRxC2VXrngAYQDBL4h17KzO/FsTjlK3zqdFv60w5L31J0iuWH/RHMd OJcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711275435; x=1711880235; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HP+psIhDXj8E2auFzkTUASDE4TeVP4Bp0A2rywPyT7Q=; b=eSSiP8hqD3KJp/r2Yw7b3xXoG1TceSfLm0s2vZNOyQctVVB9lDkVkzhDU7yHSvaprv FiAap5EwHtK8GdlrxcIHxXLLeSLX0YDfsCu/5aD30aUUUrZlrPuPT5XtmOcFxSPuZ/HW M1VWBdCezD9h+WFRyKM2/BhE2/uTxLgNYUBIuT0UIzz63jOUAFA9CgEv8Pkm2z1yvGD0 q8CogEw8UTZFKO3NKaNNxxJI9iu0Eyb2N16UiqsqvFYE1B9CjyjXDSKo+DQuA/AfxFrx AdHhCr8XbY7jm+KxO1klkvxroENiH01cy4graWenLkX2vZ69Exx6MOIroCOtR3VllYF5 lMZQ==
X-Gm-Message-State: AOJu0YxNMByXTDdZRasxJjB2OsKxj+V1DBKsXVRi7xi1x1SQnoZ9amdc GjhOqNwLoQAdv1Buj3z/aUZGn22PPjSGit1AVr1+6Y8OkBakTCql+QvMgn+T
X-Google-Smtp-Source: AGHT+IHFGW6aoTOmRRPkXwxeXmYY/BE6Vl/Sy4iCr/9FwAYIWTbwPGfYV5OyNLIz/t+ZiQ8aHfjHug==
X-Received: by 2002:a17:906:a452:b0:a47:1ebb:d8e8 with SMTP id cb18-20020a170906a45200b00a471ebbd8e8mr2751243ejb.2.1711275434860; Sun, 24 Mar 2024 03:17:14 -0700 (PDT)
Received: from [192.168.88.164] ([46.229.60.139]) by smtp.gmail.com with ESMTPSA id b12-20020a17090630cc00b00a47342b53a4sm1814186ejb.191.2024.03.24.03.17.14 for <openpgp@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Mar 2024 03:17:14 -0700 (PDT)
Message-ID: <4a7b954a-2e84-440f-9f3c-7fd1e4ebd697@gmail.com>
Date: Sun, 24 Mar 2024 12:17:13 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: openpgp@ietf.org
References: <EGivTgyfjNm_TAvhds1OPA2c0O6LP9lFnkwWHHKLJY8ReJOgtDh3tnYsCSR8yrrBLbpeehtUgIJEhynae8L3daRimNiGO7BAb3cVvC66q-4=@wussler.it> <87a5mqi0xi.fsf@europ.lan> <WKKpi2FW6r9Pftm6kgrVNtXvOXa2U9kz9R0wqlGYuPDl9nRkrcvVM3a2cfviolf1XN83lhPh2KxfzXb2A6d8HeQ4qdKYNd8LlqbtC1cRgCM=@wussler.it> <mUg-9v4FTMUYeDGa3AimMKuJI7Zy5ycxfEpfHN64enr0BP85qK6-Pt3lcgD-VzUfNLBMy2DLha7k_cmP8YXu2c_yMj68sVsPecwOpsiRItA=@wussler.it> <874jcwikie.fsf@europ.lan> <82300a06-fd34-47f5-a3db-26b99d87794e@kuix.de>
From: Nickolay Olshevsky <o.nickolay@gmail.com>
Autocrypt: addr=o.nickolay@gmail.com; keydata= xm8EXrEsexMFK4EEACIDAwQqzVDrNPoyfcq4glxNmTEa0OCh1pmY/CcnrJb/bd9Cqi5eCOjF rTHjdY7SMXH5KQlrcQJwjiuyecr8S+GzUnKbE7fYjrg0YjhXr9SzA0xQ7rN1EanYl0lK6m21 zCjitOjNKU5pY2tvbGF5IE9sc2hldnNreSA8by5uaWNrb2xheUBnbWFpbC5jb20+wrkEExMJ AEECGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4ACGQEWIQRGfUTJeA+FOnu7NUq4LmkIQ+XE IwUCYrGmagUJB8Lg7wAKCRC4LmkIQ+XEI0iYAX0Ys7QcBnSCRI4OXE3AIBXafwO7oV+0NDxL eokgj1Ij2A9AbAVS4fo1eH0AMhg7ZioBgJDBYDIFljrGDWnmPZ8QSqfr79BPwInndqPbrrxH 0NiqzttaxqxXQkhoGfRUIhQcM85zBF6xLHsSBSuBBAAiAwMEHRW8a30kMl2MaIulUJfAM1wM AmmUnSRIcbR2dbjzqz4FNl6kLlvy0zXdtW6fiiWtX9LKUuazQPV9q4tSkkSlPOzKVsx3eE4X 3HjUD6ZDN13dd3Gd72km/4gV7LolU7g5AwEJCMKeBBgTCQAmAhsMFiEERn1EyXgPhTp7uzVK uC5pCEPlxCMFAmKxposFCQfC4RAACgkQuC5pCEPlxCOonQGAzzZukeMuAgLmkP9lUvH0JAfQ ENuwDmGF5kHAhAsYYMeQarg1CtOsosCjYusjLZZYAYDUOpI5VGATb3JTm38FdjUWb8QwlEym r1YeKy3FePmtNF2jXmIcIwqwhj1p39xdFGc=
In-Reply-To: <82300a06-fd34-47f5-a3db-26b99d87794e@kuix.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/D3q08sGOulw_sVpKRct3fL6eZ8c>
Subject: Re: [openpgp] To bind or not to bind
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 24 Mar 2024 10:17:21 -0000

I'm quite surprised that using public library API in a described in 
documentation way could be called 'weird trick' or 'bug'.

Here is a quote from the docs for the rnp_import_keys() function:

  * @param flags see RNP_LOAD_SAVE_* constants. If 
RNP_LOAD_SAVE_PERMISSIVE is specified
  *              then import process will skip unrecognized or bad 
keys/signatures instead of
  *              failing the whole operation.


On 24.03.2024 09:30, Kai Engert wrote:
> On 24.03.24 00:41, Justus Winter wrote:
>>> - rnp, that AFAIK mostly affects Thunderbird. Given that Kai seems 
>>> to be fairly supportive of v4, it's in his interest adding that flag 
>>> to the packaged build.
>>
>> And then we tell every downstream consumer of RNP that they must use
>> this one weird trick when importing certificates or RNP will choke on
>> PQC-enabled v4 keys?  That doesn't seem viable to me.
>
> Well, my hope is that RNP will fix the bug and would support v4-pqc keys.
>
> The trick is currently necessary for tolerance, because it doesn't 
> support it yet.
>
> Kai
>
>
>
> _______________________________________________
> openpgp mailing list
> openpgp@ietf.org
> https://www.ietf.org/mailman/listinfo/openpgp

-- 
   Best regards,
   Nickolay Olshevsky
   o.nickolay@gmail.com