From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6CaMANzUXGBoVwAAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 19:22:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aNXQN9vUXGDHfwAAB5/wlQ (envelope-from ) for ; Thu, 25 Mar 2021 18:22:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2A81526470 for ; Thu, 25 Mar 2021 19:22:19 +0100 (CET) Received: from localhost ([::1]:46202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPUca-0005QT-WD for larch@yhetil.org; Thu, 25 Mar 2021 14:22:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPUYU-0002au-Ao for bug-guix@gnu.org; Thu, 25 Mar 2021 14:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPUYT-0001hu-OO for bug-guix@gnu.org; Thu, 25 Mar 2021 14:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPUYT-0007B7-KL for bug-guix@gnu.org; Thu, 25 Mar 2021 14:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47222: Serious bug in Nettle's ecdsa_verify Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Mar 2021 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47222 X-GNU-PR-Package: guix X-GNU-PR-Keywords: security To: Niels =?UTF-8?Q?M=C3=B6ller?= Received: via spool by 47222-submit@debbugs.gnu.org id=B47222.161669622327521 (code B ref 47222); Thu, 25 Mar 2021 18:18:01 +0000 Received: (at 47222) by debbugs.gnu.org; 25 Mar 2021 18:17:03 +0000 Received: from localhost ([127.0.0.1]:39542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPUXX-00079p-H8 for submit@debbugs.gnu.org; Thu, 25 Mar 2021 14:17:03 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPUXS-00078a-S9 for 47222@debbugs.gnu.org; Thu, 25 Mar 2021 14:16:59 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C8C475C0113; Thu, 25 Mar 2021 14:16:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 25 Mar 2021 14:16:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=AN1LW834OhL8VIPJTaXi4scuasgP1RLEcQ3fJ1P8ocE=; b=Hq6C7wd9C9V8 njEh6EdalO03lTQ76Qh6Ubao53KTz3wQu4+60hyh9V+l6808DLvd1uVznf40W5En h/4rQ2buniYcwonukR/+GKA0zudj5K1a4pp4Dk86BSTxVpgCN9DzvZ8+uP7rkF2h imt4rp+ZBJ10ddsmpeU5QyEZNf9yIAU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=AN1LW834OhL8VIPJTaXi4scuasgP1RLEcQ3fJ1P8o cE=; b=SXsQxVdA0ksax5DraVxpNcOdw/GqKB8LmYgaFsBLxwogQpq9zNAwb5CIy qExErJVzjDC5YOi0vseJTyuVALybg3aSqHoZYSeJ/W+c367NMNytdfnoJHmuIY+3 6avP9xu988imN7HQZwNkSH1yZipxOxl0yVQkD4MIYprYmQimE9KYf8RAd3jRHLKv tBdUYPdRd1wflU+7AkN4o11diRiRBT2Io3hxouFkemKnMGk+lVLl0qADTjRMI5Iu 7/jBmzI2N+7iv2hEijIr2U9OtWzIiVcpvETtnktV2F+JwvdFtYfw6n2nqjFvKxSH Z/xmsvfW1kwgVth7QdEO7f0UjHTBQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehtddgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefnvgho ucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrg htthgvrhhnpeegjeeggeehtddugfffuddtvdfffeffjeekffffveffheegvddvuedtffek jeejjeenucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghm vg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id BC893108005F; Thu, 25 Mar 2021 14:16:51 -0400 (EDT) Date: Thu, 25 Mar 2021 14:16:50 -0400 From: Leo Famulari Message-ID: References: <875z1kl24h.fsf@netris.org> <87h7kzblxk.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47222@debbugs.gnu.org, nettle-bugs@lists.lysator.liu.se Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616696539; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AN1LW834OhL8VIPJTaXi4scuasgP1RLEcQ3fJ1P8ocE=; b=flq9qRsspOfGJDvEeE9PJKnquGbRKp50BG1HYsaV3GgUCklWcdHiXiKwWfCcBf8GpWmzUe dPNdIBrvMHFnbclK1JZFN9+LPWshzVOQxQsDkOEankIjj95uJSaxFrYsLiiX4ukzlyi1ma +tQEJKBawBkQi6oBGBsBa5wTt3x8esqHaFRvlhuKKqsUZ9zzC1hEbL+48h9Ya21mTPf/Fb EumFlGGGyOOURmJuSNAABCVBHSm4f3lYYK984wmikEiGsvTNJZ2hViIXZZIcOxlMEBubqz V8KrblBHRIONANJnhFe7KbVbRarTMHHBQuFyq9wYfV9ECtEXlfZs5e6QY5bHkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616696539; a=rsa-sha256; cv=none; b=obCM0OH+jJ5MnwUiHgw9VCTvRWWZWmjWYZHqAFgWAoHFm3r/DT/80RCs3lqwTKKfrocrhh kUzHa2miZJVKb6oWMwSUgUgXQ4pC9mKKDP3g9Zozwi5TrIqW+UovT+euwjtqZM1TxRb30P w6bR4GUGxwfIRHpESyZZU0CfnBPpOqCLCwhSv9prM2qe2IjOg//9476Ue4GNPQLUG4Ftux CgB8WpCXE8fZKPJB8p806epEiJca4ROqwfpeY1RAx5gJLRuwUSlHt2xDDuCdSPrbKa+ttN Em9ibDeCezgspUT7bAJyfcR5HNJJKeK+aP1ys4LRjFe7j7tomEIxRQto6hxeig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=Hq6C7wd9; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=SXsQxVdA; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=Hq6C7wd9; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=SXsQxVdA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 2A81526470 X-Spam-Score: -1.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: 46y9Ln9bJlUE On Thu, Mar 25, 2021 at 05:21:40PM +0100, Niels Möller wrote: > Changes to gostdsa and ed448 will not apply, since those curves didn't > exist in nettle-3.5. Changes to ed25519 might not apply cleanly, due to > refactoring when adding ed448. Okay. > > I’m asking because in Guix, the easiest way for us to deploy the fixes > > on the ‘master’ branch would be by “grafting” a new Nettle variant > > ABI-compatible with 3.5.1, which is the one packages currently depend on. > > I still recommend upgrading to the latest version. There were an abi > break in 3.6 (so you'd need to recompile lots of guix packages), but no > incompatible changes to the (source level) api. Unfortunately, non-ABI compatible upgrades of nettle cannot be done quickly in Guix. As you point out, we'd have to recompile over >10000 packages, and then we'd have to fix any breakage that might occur from the upgrade. We will have to try to cherry-pick the bug fix patches.