[{"id":38585,"web_url":"https://patchwork.libcamera.org/comment/38585/","msgid":"<434acbca-a4ae-4ffa-b7c3-a695a783e22a@ideasonboard.com>","date":"2026-04-13T08:45:28","subject":"Re: [PATCH 2/4] utils: codegen: gen-ipa-pub-key: replace openssl rsa\n\twith openssl pkey","submitter":{"id":216,"url":"https://patchwork.libcamera.org/api/people/216/","name":"Barnabás Pőcze","email":"barnabas.pocze@ideasonboard.com"},"content":"2026. 04. 08. 9:55 keltezéssel, Kate Hsuan írta:\n> The command \"openssl ras\" was replaced with \"openssl pkey\" to cover\n> different key algorithms.\n> \n> Signed-off-by: Kate Hsuan <hpa@redhat.com>\n> ---\n\nReviewed-by: Barnabás Pőcze <barnabas.pocze@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 4F75FBDCBD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 13 Apr 2026 08:45:33 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7241B62E65;\n\tMon, 13 Apr 2026 10:45:32 +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 E404862846\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Apr 2026 10:45:30 +0200 (CEST)","from [192.168.33.49] (185.182.214.8.nat.pool.zt.hu [185.182.214.8])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1FFE14F1;\n\tMon, 13 Apr 2026 10:43:59 +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=\"VUKMEQ+T\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1776069839;\n\tbh=IeOx5+0DCwgF5mOfhsf+yB0jX6+2j/2D1h+AcBOEYtw=;\n\th=Date:Subject:To:References:From:In-Reply-To:From;\n\tb=VUKMEQ+TPa2Xr2r8TA7aBhWYj/0B2Q1xHYHsSRl9zaRzkRf7kMOh05OVCliCGgO0e\n\tNfiqyhzT8AVHmY3vEx46m9IgM462fhEMdfYP1nRbJZMDJIsDTUPbfP+vt/Lplg0Z2j\n\tDDg7rG8a4l1Rz7ttRVtRHAZzJ5CCJAChbfI4no6Q=","Message-ID":"<434acbca-a4ae-4ffa-b7c3-a695a783e22a@ideasonboard.com>","Date":"Mon, 13 Apr 2026 10:45:28 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH 2/4] utils: codegen: gen-ipa-pub-key: replace openssl rsa\n\twith openssl pkey","To":"Kate Hsuan <hpa@redhat.com>, libcamera-devel@lists.libcamera.org","References":"<20260408075540.53309-1-hpa@redhat.com>\n\t<20260408075540.53309-3-hpa@redhat.com>","From":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","Content-Language":"en-US, hu-HU","In-Reply-To":"<20260408075540.53309-3-hpa@redhat.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","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>"}}]