Re: [openpgp] To bind or not to bind

Justus Winter <justus@sequoia-pgp.org> Sun, 24 March 2024 11:11 UTC

Return-Path: <justus@sequoia-pgp.org>
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 C89D3C14F602 for <openpgp@ietfa.amsl.com>; Sun, 24 Mar 2024 04:11:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 (4096-bit key) header.d=sequoia-pgp.org
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 7iAcRFyj0C2c for <openpgp@ietfa.amsl.com>; Sun, 24 Mar 2024 04:10:56 -0700 (PDT)
Received: from harrington.uberspace.de (harrington.uberspace.de [185.26.156.85]) (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 41B6BC14F601 for <openpgp@ietf.org>; Sun, 24 Mar 2024 04:10:55 -0700 (PDT)
Received: (qmail 2245 invoked by uid 500); 24 Mar 2024 11:10:53 -0000
Authentication-Results: harrington.uberspace.de; auth=pass (plain)
Received: from unknown (HELO unkown) (::1) by harrington.uberspace.de (Haraka/3.0.1) with ESMTPSA; Sun, 24 Mar 2024 12:10:52 +0100
From: Justus Winter <justus@sequoia-pgp.org>
To: Nickolay Olshevsky <o.nickolay@gmail.com>, openpgp@ietf.org
In-Reply-To: <4a7b954a-2e84-440f-9f3c-7fd1e4ebd697@gmail.com>
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> <4a7b954a-2e84-440f-9f3c-7fd1e4ebd697@gmail.com>
Date: Sun, 24 Mar 2024 12:10:49 +0100
Message-ID: <871q7zj35y.fsf@europ.lan>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Rspamd-Bar: -----
X-Rspamd-Report: BAYES_HAM(-2.90409) SIGNED_PGP(-2) MIME_GOOD(-0.2)
X-Rspamd-Score: -5.10409
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sequoia-pgp.org; s=uberspace; h=from:to:subject:date; bh=vBAxzKqHvFGhRgHglhxuTmnTGGV+TSibB5I4DjNQ+GY=; b=N+Mys1lPnFiUACVBoFqEX5ocFK0kw1V5mw+E9R675JSSqvNXiWlYDj+X0oktxAJyYi1ShoXCcR tgH+4rDhaPvdvC/56WtOohTmg4lp2OGoJfIcwQDRpX6uWBy/k16DaqRUiZO8t8ynJ6XtTcJMeDbm mvIQa0a0HvVXtTSGne/8/rpPbQ/kI0jDWq9qci22ioOq0su6Qnu05L2zwbuEc08GyLBfgvQAqCC9 c6MQPjiJhrJXN6nbGQkOBtufjCMst1J9dgG6Vu+5OBIrcFwXvk/JF0/7hhnTRo/e+enImgxhq8yh IS/uQD5mcbw7rQ8UTF4CGxEd9ei95E0f4jFTiNYVx1s2pUxxg0Hhs8FQGQ/GINgSZxG5VKyjM8tJ 4qiyo5isMR/UyZzOvZXV549oHU4jzJaGaiDzMbscXVHHrCuu9LSulvvBtYAcsy+WjI7fC8FZsbaN 7zk8zFFSTOxJcoXwobWmZxWj4kb4Y5m6qmf/6PlUAwtotUW6YYbva6ymCBHTUK6JEnKDH09cVkLX XO45kmVzJCYZAgh/V2ntCykDF6JxrS7ZF9NbGqAXemxJVs1Y7G0XBOCoA4emqaUbHtnuZod0xrSr DrvN/VO2s+dgsu02i0FTKAT70AreYD4P3Zq5iKrp4/AlW5K2+YG9cNxj18zxSceCsKerItoRNOw5 o=
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/lZ3Yte5hDsCGZUlqD2E3bkCJmQo>
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 11:11:00 -0000

Hi Nickolay :)

Nickolay Olshevsky <o.nickolay@gmail.com> writes:

> 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.

Sorry, the point I was trying to make (with a pinch of humor) was that
if your library is not forward-compatible unless the downstream consumer
opts in, your library is not forward-compatible.  Please make your
library forward-compatible.

Best,
Justus