Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id E8CA071633 for ; Fri, 28 Aug 2015 10:11:47 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 28 Aug 2015 03:11:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,424,1437462000"; d="scan'208";a="777387325" Received: from cdevaney-mobl.ger.corp.intel.com (HELO [10.252.11.98]) ([10.252.11.98]) by fmsmga001.fm.intel.com with ESMTP; 28 Aug 2015 03:11:47 -0700 User-Agent: Microsoft-MacOutlook/14.5.4.150722 Date: Fri, 28 Aug 2015 13:11:43 +0300 From: Markus Lehtonen To: Message-ID: Thread-Topic: [OE-core] [PATCH v2 0/4] Sign packages in RPM feeds References: <1440667876-1024-1-git-send-email-markus.lehtonen@linux.intel.com> In-Reply-To: <1440667876-1024-1-git-send-email-markus.lehtonen@linux.intel.com> Mime-version: 1.0 Subject: Re: [PATCH v2 0/4] Sign packages in RPM feeds X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 10:11:49 -0000 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Hi, On 27/08/15 12:31, "Markus Lehtonen" wrote: >Second iteration of my patchset. I tried to address the issues pointed >out by >Mark: >1. The gpg key is not imported to the (temporary) rpm databases used by > createrepo. Instead, createrepo is patched to ignore signature > verification altogether. >2. There is a new optional config variable GPG_BIN which can be used to > define the gpg binary used for signing. >3. The filename of the public keys (published with the package feed and > depoyed into the target rootfs as part of os-release package) is now > postfixed with "-${DISTRO_VERSION}". > >[YOCTO #8134] > >*** BLURB HERE *** > >Markus Lehtonen (4): > createrepo: disable RPM signature validation > package_rpm: support signing of rpm packages > os-release: add the public package-signing key > package_manager: support for signed RPM package feeds > > meta/classes/package_rpm.bbclass | 5 ++ > meta/classes/sign_rpm.bbclass | 60 >++++++++++++++++++++++ > meta/lib/oe/package_manager.py | 40 +++++++++++++++ > meta/recipes-core/os-release/os-release.bb | 11 ++++ > ...dumpMetadata-disable-signature-validation.patch | 31 +++++++++++ > .../createrepo/createrepo_0.4.11.bb | 17 +++--- > 6 files changed, 156 insertions(+), 8 deletions(-) > create mode 100644 meta/classes/sign_rpm.bbclass > create mode 100644 >meta/recipes-support/createrepo/createrepo/dumpMetadata-disable-signature- >validation.patch Please use a slightly updated version of the patchset found here: git://git.openembedded.org/openembedded-core-contrib marquiz/rpmsign http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/rpmsig n I noticed some typos in the commit messages of my v2 patchset (GPG_CMD vs. GPG_BIN). Also, I added a comment header to the sign_rpm.bbclass file. Thanks, Markus