[OE-core] [PATCH 0/1] rpm: make install with --nosignature and --nodigest work

Hongxu Jia hongxu.jia at windriver.com
Tue Sep 20 08:15:22 UTC 2016


Boot a target environment with rpm:

1). With option '--nodigest --nosignature', installing package
with bad signature is successful
====== 
root at localhost:~# rpm -ivh hello-bogus.rpm
error: hello-bogus.rpm: Header V4 DSA signature: BAD, key ID 09753bca

======

2). Without option '--nodigest --nosignature', installing package
with bad signature failed
======
root at localhost:~# rpm -ivh --nodigest --nosignature  hello-bogus.rpm
Preparing...                ########################################### [100%]
   1:hello                  ########################################### [100%]
======

BTW: the package with bad signature hello-bogus.rpm in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10308

//Hongxu

The following changes since commit 49a7839e602eac2c43415d9c8f17ad8315fd1da5:

  build-appliance-image: Create image in correct location (2016-09-19 08:58:10 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib hongxu/fix-rpm
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=hongxu/fix-rpm

Hongxu Jia (1):
  rpm: make install with --nosignature and --nodigest work

 ...0001-system.h-query.c-support-nosignature.patch | 75 ++++++++++++++++++++--
 1 file changed, 71 insertions(+), 4 deletions(-)

-- 
2.8.1



More information about the Openembedded-core mailing list