From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=172.105.7.114 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796479272; b=L/x7O5JPA5kJIzC9fc11NzFuolQfQqgA1x5ND2w+K+uDGIgkG4iVgnwDU97x9TEJST6A 2WcdR3tDDUEixfgPyyD7H1Ev7DQsMHtB6AYMOgtI59Olgzjkj0ss/ko2q1UUf3jpBc8Ar CfJOYZ9dIZQp3cU6j0Hycy91rNRvfMLldCzNfykfYM1z9vNoVOWt+YhAmosoyQy9lw6Zv 26ba81MZRacdIckXiyMWYXzIVSGSso7oWTLjDCYGt3sWvJFvoPVQYoCuqDZe3TEJEkySR PUUvos6MsD2hShTF3fvZlRSeZ9oTGqOcvdXqYTqHwnVsHNzmmtDtd7b4F8CXavi8GpA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796479272; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; bh=NaLuSPYxu8pmsurxsV2+rpFs/qi9FFjIMT9SKM6iVHU=; b=HHUKYH0cTCaj03dhjXlGkPGnMc1c94oMhA4sAlxjrsG+f3zjoNZTFNjdgEW4ke64EgtA oxLWIPDjhVfWi4pfJyQnaRsJiwFng5TdXoEqpTvTYMpMHuCxoDCWAh0R0q5G9buMRYmLI /luO+9kKcjZ/g+vldrAGX0U2374DlEtA1doYtY8eUCai7e7v5Vy6GPg2XBrXETnrwIhy/ xuZLWGJYbpi+2SVw615vjiXD5JtYqLM4plJSt2zoo6s+w2H6s57uyJDKXsxuHR5K6fW3N /kVOwtUQ9qJkJnBj5hwtREd5mZ+0yZ9tZnfj69ufC4AP3Jdp6hNu26uE9M3XlNHOaEw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=crustytoothpaste.net; spf=pass smtp.mailfrom=crustytoothpaste.net; dkim=pass header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=Amu3rtRQ; arc=none smtp.remote-ip=172.105.7.114 Received: from complex.crustytoothpaste.net (complex.crustytoothpaste.net [172.105.7.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAB32606A322 for ; Sat, 5 Dec 2026 14:01:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CAB32606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crustytoothpaste.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crustytoothpaste.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (3072-bit key, unprotected) header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=Amu3rtRQ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net; s=default; t=1796479265; bh=idsmSywaNcPGf8+TkCBbI3uqjbKv30r+GwGk1kIq1ZA=; h=Date:From:To:Cc:Subject:References:Content-Type: Content-Disposition:In-Reply-To:From:Reply-To:Subject:Date:To:CC: Resent-Date:Resent-From:Resent-To:Resent-Cc:In-Reply-To:References: Content-Type:Content-Disposition; b=Amu3rtRQZghrOYNrdeWUAb5SaxL3sFWK9mpisx5qZXuqzbSeiooU3B3/3D2ujBM9g oTzlPjAZ0mWTjH6a9/C69j7FonsuN5p/zoMSk8b4hEe4F3jOtiNUUqRqD/UGkm3jUi 0iWqaniz5on6RND5iXc3iT+vEsk9sVysEAgp4DCK90eA3qar9D419P0RJZy/v4S5WF d78ilnF9ZsPSRJrUAUFGUWdyqqTTW52lZB8/5vPzXMf32cROCVdLgAYF72wBZAzlvX sxLRH2FDcxILtY4pRJ0X2Ookc+VtUaMS7bxgri57FHJV1NsU1BT6NWJWnEjYmtWje+ a0MxcQGzdihd3N8ilxdUh9RJE50AcigncOeVJ9G60bb+L94CljVRVSoN8STVz0wabS ocoMYocZ1X5rwyWRVn/n9SGMGUcZzeTuEc4qQioIBrzqJWE5kLBugMKktWupqHNfV1 LQRyWNTH9DcGk3lM3vx9PhfHOKcZ3FcJM7U33ouWs4wrg1Vx5jO Received: from fruit.crustytoothpaste.net (unknown [IPv6:2607:f2c0:f00f:f901:a8f7:1c7e:929e:c640]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by complex.crustytoothpaste.net (Postfix) with ESMTPSA id 429A9200AF; Sat, 5 Dec 2026 14:01:05 +0000 (UTC) Date: Sat, 5 Dec 2026 14:01:04 +0000 From: "brian m. carlson" To: =?utf-8?B?8J2VjfCdlZbwnZWd8J2VoPCdlZTwnZWa8J2Vl/CdlarwnZWW8J2Vow==?= Cc: git@vger.kernel.org Subject: Re: Seqouia-SQZ for OpenPGP operations? Message-ID: Mail-Followup-To: "brian m. carlson" , =?utf-8?B?8J2VjfCdlZbwnZWd8J2VoPCdlZTwnZWa8J2Vl/Cdlao=?= =?utf-8?B?8J2VlvCdlaM=?= , git@vger.kernel.org References: <61fe3cf6-dee9-41a7-a081-648859f2df03@velocifyer.com> X-Mailing-List: git@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iJG6OMBiaIcAYKKh" Content-Disposition: inline In-Reply-To: <61fe3cf6-dee9-41a7-a081-648859f2df03@velocifyer.com> User-Agent: Mutt/2.4.1 (2026-07-04) --iJG6OMBiaIcAYKKh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2026-12-05 at 13:19:51, =F0=9D=95=8D=F0=9D=95=96=F0=9D=95=9D=F0=9D=95=A0= =F0=9D=95=94=F0=9D=95=9A=F0=9D=95=97=F0=9D=95=AA=F0=9D=95=96=F0=9D=95=A3 wr= ote: > Currently git uses GnuPG for PGP operations. However, GnuPG implements > LibrePGP instead of the IETF standardized OpenPGP, and refuses to read the > newest v6 OpenPGP keys, including keys with RFC 9980 Post Quantum > Cryptography. I believe this has changed in the latest version, but I'm aware of the situation since I was a member of the IETF OpenPGP Working Group. > Most distros patch LibrePGP out of GnuPG, but it still usually only > implements OpenPGP v4 rather than the latest v6. >=20 > While GnuPG 2.5.23 has **partial** support for reading (not generating) R= FC > 9580 v6 Keys and RFC 9980 PQC keys, most distros are skipping 2.5 as it > changes the default key generation mode to LibrePGP, and the "FreePG" > patches to remove LibrePGP are not out yet. > LibrePGP has many [0] documented weaknesses compared to OpenPGP v6. Again, I'm aware of the LibrePGP weaknesses. > Therefore, I suggest that OpenPGP operations are moved to the newer libra= ry > Sequoia sqz. The Sequoia sq CLI is powered by the Sequoia sqz library as = of > a few months ago. >=20 > For now, users can use the Sequoia reimplementation of gpg > (sequoia-chameleon-gnupg, aka gpg-sq) by running=C2=A0git config --global > gpg.program gpg-sq , assuming that it is installed It's not quite that easy. First, we have some interfaces that parse the raw GnuPG --status-fd output and we rely on that to do things like parse validation statuses. In addition, we expose it publicly through the `--raw` option and that's the only way for people to effectively build policy around things like hash algorithms or specific keys in verification. Sequoia also salts every message[0] and that produces non-deterministic results in our testsuite, causing widespread failures[1]. That makes it much more difficult for us to do things like verify bit-for-bit interoperability of commits that are converted between SHA-1 and SHA-256. I've requested that the chameleon support deterministic signatures at least for a test mode in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1137357, but until that happens, there won't be any support for gpg-sq in the Git testsuite. It does certainly work fine to sign and verify existing commits and I do in fact do that using Debian's packages to make gpg-sq the default gpg, but I have to force gpg-g10code to run tests. So for those reasons, I don't think we're going to prefer sq as our implementation. Users can use gpg-sq without a problem unless they're running tests and many distros provide a way to make that the default /usr/bin/gpg. [0] I'm aware v6 requires it, but it salts even v4 messages and there's no way to disable this. [1] I have an unpublished branch that fixes many of the issues in the testsuite, but I won't be sending any of it up until it's complete. --=20 brian m. carlson (they/them) Toronto, Ontario, CA Speaking for myself only --iJG6OMBiaIcAYKKh Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- wr0EABYKAG8FgmsUGR8JEHwMSWKIh6KBRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z LnNlcXVvaWEtcGdwLm9yZ2oXNnaXfiW3eNWmZabNvW/dIBi63KrBi882T8OOE9zr FiEECCzmip28ZfuD0cORfAxJYoiHooEAAMcxAQCO4WXgY5YRVqVy4gg7ImFfPoqs LJOIYu6oZU6Ye0JhAwEAtoyQUDBB0UHmdgTCRBdsVeStUzSHbaCF+0XfbC71rAw= =UC4v -----END PGP SIGNATURE----- --iJG6OMBiaIcAYKKh--