From patchwork Fri Jun 21 17:57:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 1950915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=r0unH+SO; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::33c; helo=mail-ot1-x33c.google.com; envelope-from=swupdate+bncbcn5n5njz4bbbruc26zqmgqecm5fv2i@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-ot1-x33c.google.com (mail-ot1-x33c.google.com [IPv6:2607:f8b0:4864:20::33c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W5QL86XjLz20X8 for ; Sat, 22 Jun 2024 04:07:11 +1000 (AEST) Received: by mail-ot1-x33c.google.com with SMTP id 46e09a7af769-6f97f7481e4sf2473219a34.0 for ; Fri, 21 Jun 2024 11:07:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718993224; cv=pass; d=google.com; s=arc-20160816; b=0Mbv3zldo2KrVvybwGkiKs/g5uL3LC2+lYAiHWOVL9+V+WA7FlHSTa8qsLBS8Y6POG 1QfbikV9hyA+N+khClw7pIoktwoEw5Z4g9NPSZg8OpaIImQhe61AJCOW9wKf0Jq6SyyN Y8E8HLkuUbhestpvbWH4nuR+cFOEnkba99EeYV5ORPy/o0Y5kmcYPiyUzePG+uZz7+CY NLPYCleiGhxjLc4cDAxoDvB3Gx0R0MXy8sqvidzpOdm6/eH9roy6hrpmx6qJgjPCM1/+ JB7SQLzeQvRTB5d83O/GQId8Kyd50kATwvCBfTlkQydAWZOdLBiuOQLXfbmegP+7RCqh +7DA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=jX3odGNTQW3vTO6A4fmP24vBycP8XGiHTWkz/b9vRwg=; fh=qV16FWrxGdxacotmhcvReKpAL6l4T8SlEpRfEmnY0LA=; b=zhiPOolCQmEMM472aPI89/xkUVgJyRVDLI0wUWMunuzxkpcz9AyPHiqPWqGVQyBRAn wUarWKylW5TJkFgzBS7KrMAFYIZeuLDzgmV33h56vRZ8g3Pt+3bCZKfDRmOTmY1KAvVk LKy7cfcfG9/X1uaCjOy7CBBWNFDP4oZPOyNuTKLkt0Ad+kBkXEjSpfsXI84GaC35bfmS iCl8XIg6OkBgsULX0dFNrLWI1egP/4+rKnPEPmdYP/GxFowaGhORgexDukaXmd4sgHBZ P4cnvL4Psg3rtBWdi7IN0CZR3pzVPU6MqgGxW0iMbIQJc+T1AX5oId+c8LTuLyCxIsJz z8og==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=YnYbb0qv; spf=none (google.com: debian.org does not designate permitted sender hosts) smtp.mailfrom=bage@debian.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718993224; x=1719598024; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=jX3odGNTQW3vTO6A4fmP24vBycP8XGiHTWkz/b9vRwg=; b=r0unH+SOWtXNmXchCBFsg3ACE2yvgzZotJzX8jWFlSXJM/+mvftI09L5cLGlIE32n/ xAUKaXZfEgXsMaXe5p3QGECgfh1mSTm2fi8XpNMeKbCxv+v4FaVarp04XkYsjds6wMq3 7Dur/U8KK3d7Zqh3PMZoC78yyvEuHCSlAqZeKtlyfRRyVCBJUpr8wMUfTghPWXjoWfZV Oh2xand//I3i/I8Nr4akKYkl1YkH05/D6Q0JOccigKGzZ0QLPLuv320x8nnOxr0PXcyE lyfDWrtmd60TY77eZWXvpDbcQaJKs7vSuoV21KgdvbfnD15URedPb/30LQGVdgAsG6rf Wzuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718993224; x=1719598024; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=jX3odGNTQW3vTO6A4fmP24vBycP8XGiHTWkz/b9vRwg=; b=XTe4DX2GOnrAhdaqMLxnTekAw0kxd1ebDoSKZX7lmEfBHzGYHe9c3XqWLlrwHxGjjn 6Cv9gVZeykIVTgsS3FiXgCFs1siZS0aD8zQSvYMZT0V842205Pq2Vc9zVOuTKtIkXDQZ yVYsNV5k+QwfmlN/YJFgYDkoMYk/EaQWktzMi/IkpWAeLG16jAz+2gyEFMJDTZxWL8/V ID63xP/4NX6hgdob6R7WcEtRrB7x84esNPXngi9R4J7cPGCPtXGkFqGDNdhv3+hENCaW GEs7mNg4S811iUjxk6vL318qVm+x8c5ff6OBTuwdcrwBLlqW0Q+3sKz0nn7ztS0GFWl2 pOvw== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCV4rfS+rFdyjccz9ilVsXs4yNMUkYNURpDWbgMoEcKYRFNHYRjSJpF2pc4lgtB03DYsGmMuyagUNE1WE37+Cg0m+iYmLLAO4GXnt3lqZw== X-Gm-Message-State: AOJu0Yyv/nWG+9/yj7cAVruWISbsWiTqVUFGz9aFRTHdJSqySK4AB1gE g3xMetBsDAIlQ1y3x3z9yQba/gAQfh0FiAxJ75CD+MLqtorPbdtT X-Google-Smtp-Source: AGHT+IHky/BNr4LC9qfMxXvVcgoYz2IChztzpRhXUhcxZzcNyHgMzHF732PmDJ6S3Zi1Gbn5zNZ4hQ== X-Received: by 2002:a05:6830:138f:b0:6f9:60e7:e2a7 with SMTP id 46e09a7af769-70074112553mr9902592a34.17.1718993224090; Fri, 21 Jun 2024 11:07:04 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6214:3981:b0:6b5:a3b:a77 with SMTP id 6a1803df08f44-6b50ff41d02ls40286376d6.0.-pod-prod-09-us; Fri, 21 Jun 2024 11:07:02 -0700 (PDT) X-Received: by 2002:a05:6214:418e:b0:6b5:1622:79d6 with SMTP id 6a1803df08f44-6b516227b6fmr2781796d6.8.1718993222535; Fri, 21 Jun 2024 11:07:02 -0700 (PDT) Received: by 2002:a05:620a:8125:b0:795:5019:cf52 with SMTP id af79cd13be357-79bce03a577ms85a; Fri, 21 Jun 2024 10:57:29 -0700 (PDT) X-Received: by 2002:a05:6512:2e3:b0:52c:dbd9:45e7 with SMTP id 2adb3069b0e04-52cdbd946cbmr718507e87.57.1718992647808; Fri, 21 Jun 2024 10:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718992647; cv=none; d=google.com; s=arc-20160816; b=VTHFrIvp6UMbKs7rasaNC+2sSeBHSHp4zEFuePk6qx3x9Rw+ndiVpkV7FFoKFlsy9r nHESC5/P38xfWbS95be4t3+r37poICOGmeHIKKFXjNE7D1H1brpKejHYh1OEvwNYzfeQ ICeRxvnoDo4eojkiOULkzecfhgcvm6B01+BRcE8wt7JRGBwgFtFnHUGLa+sHB0JVNNkP CbCpgICU/CvAZQjfGN4Kha6ZdK6sVOsJc9YKEPr5xWr1VE2rUW1pVOFtwEvjQQbJ8FP1 Jl+SNvOZbrMSAgr99Zm1XTllIjzb4sivsf4jrA2AORWKZuhEESJdlipOyQD5iXiCi2cI e+Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=T49lsxfuYdDxICpQu7oqwfp8VUcJnHet8Q0YYVY+fWk=; fh=SFxTw2b8Ua4x6rX/X3nCP9DI7uKEJI/JZJzSqwai/LQ=; b=Ay8L3SIUpVcR3Pxqlc2cfpnp+upcb1sLDyorOt+TCXRaa0AhG7oa4EVvkzU1gO90Os 1d1d79Mza5sY6OqRIjokTsAlV5h3NBKYz8g5jzfJXmIFhIhIp+VVI3j5B5npB4YOIbI8 S5h0z2eeJ4uwBJSIcdkWPPeSlgsm+bFdQC+MzdtAz6i3+3yjYBs885Y7xSQvXVO7/gcs Alth8wnuaj6jXA+7roBP8DH2f+/Z3waJGTe9twD15DggwmNDaMUkTMA6+daGhJIsFSVY f0Y/0kkzML8NZfMAN7m7A6TOny3Ewragaw9Mc6bjVkX/zAPOlTQK/KN2Ta5o+gzYZH/j CgGA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=YnYbb0qv; spf=none (google.com: debian.org does not designate permitted sender hosts) smtp.mailfrom=bage@debian.org Received: from stravinsky.debian.org (stravinsky.debian.org. [2001:41b8:202:deb::311:108]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-52cd63bdbfesi39506e87.4.2024.06.21.10.57.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 10:57:27 -0700 (PDT) Received-SPF: none (google.com: debian.org does not designate permitted sender hosts) client-ip=2001:41b8:202:deb::311:108; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1sKiVq-00Fv5f-H8; Fri, 21 Jun 2024 17:57:27 +0000 From: Bastian Germann To: swupdate@googlegroups.com Cc: Bastian Germann Subject: [swupdate] [PATCH 0/1] Add support for asymmetric decryption Date: Fri, 21 Jun 2024 19:57:20 +0200 Message-ID: <20240621175723.32684-1-bage@debian.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Debian-User: bage X-Original-Sender: bage@debian.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=YnYbb0qv; spf=none (google.com: debian.org does not designate permitted sender hosts) smtp.mailfrom=bage@debian.org Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , This is an add-on to Michael's patch series that is available at https://patchwork.ozlabs.org/project/swupdate/list/?series=390573 I have noticed that patch series recently and would like to suggest to use PKCS#7 instead of CMS because that will make it easy to extend the feature to support wolfSSL. This is compile-tested only. Bastian Germann (1): Use PKCS#7 for asymmetric decryption corelib/swupdate_cms_decrypt.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)