[{"id":39078,"web_url":"https://patchwork.libcamera.org/comment/39078/","msgid":"<20260615144259.GC2849765@killaraus.ideasonboard.com>","date":"2026-06-15T14:42:59","subject":"Re: [PATCH v3 2/4] utils: codegen: gen-ipa-pub-key: replace openssl\n\trsa with openssl pkey","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Kate,\n\nThank you for the patch.\n\nOn Tue, May 19, 2026 at 11:00:18AM +0800, Kate Hsuan wrote:\n> The command \"openssl ras\" was replaced with \"openssl pkey\" to cover\n> different key algorithms.\n> \n> Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n> Signed-off-by: Kate Hsuan <hpa@redhat.com>\n\nI checked when openssl-pkey got introduced, and it seems to have been\nthere forever.\n\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\n> ---\n>  utils/codegen/gen-ipa-pub-key.py | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/utils/codegen/gen-ipa-pub-key.py b/utils/codegen/gen-ipa-pub-key.py\n> index dc3e7d5f..9854c0c2 100755\n> --- a/utils/codegen/gen-ipa-pub-key.py\n> +++ b/utils/codegen/gen-ipa-pub-key.py\n> @@ -21,7 +21,7 @@ def main(argv):\n>      output = argv[3]\n>  \n>      try:\n> -        ret = subprocess.run(['openssl', 'rsa', '-pubout', '-in', priv_key,\n> +        ret = subprocess.run(['openssl', 'pkey', '-pubout', '-in', priv_key,\n>                                '-outform', 'DER'],\n>                               stdout=subprocess.PIPE)\n>      except FileNotFoundError:","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 20B44C324C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 15 Jun 2026 14:43:12 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DCFAF623EA;\n\tMon, 15 Jun 2026 16:43:10 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3B181623E1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 15 Jun 2026 16:43:09 +0200 (CEST)","from killaraus.ideasonboard.com\n\t(2001-14ba-70f3-e800--a06.rev.dnainternet.fi\n\t[IPv6:2001:14ba:70f3:e800::a06])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1E406241;\n\tMon, 15 Jun 2026 16:42:29 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"YEbEvfT0\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1781534549;\n\tbh=wtvc6mkKARQ3YLb8qkryH9yHDLSWh+x/ofzT3OY/sN0=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=YEbEvfT05p7m2N/+UPa73I78Q8qjUmXgZq0s5T+j/Nr+v6G4zqVYzQE+3LdtILBPX\n\tYWdt+idvNkhXuNiPyhv+Ko2+zoekxF4oxuqLaxS7JgaQzkssWL70CLUMdGiXaajX3d\n\tx0wiYUEMtUU/1Z0dqE5XN0KYRCB4st9mWn4kpNPI=","Date":"Mon, 15 Jun 2026 17:42:59 +0300","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Kate Hsuan <hpa@redhat.com>","Cc":"libcamera-devel@lists.libcamera.org, =?utf-8?b?QmFybmFiw6FzIFDFkWN6?=\n\t=?utf-8?q?e?= <barnabas.pocze@ideasonboard.com>, Kieran Bingham\n\t<kieran.bingham@ideasonboard.com>","Subject":"Re: [PATCH v3 2/4] utils: codegen: gen-ipa-pub-key: replace openssl\n\trsa with openssl pkey","Message-ID":"<20260615144259.GC2849765@killaraus.ideasonboard.com>","References":"<20260519030020.408693-1-hpa@redhat.com>\n\t<20260519030020.408693-3-hpa@redhat.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20260519030020.408693-3-hpa@redhat.com>","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]