Skip to content

rpm: make install with --nosignature and --nodigest work

Hongxu Jia openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1rpm: make install with --nosignature and --nodigest workmeta/recipes-devtools/rpm/rpm/0001-system.h-query.c-support-nosignature.patch+71 -47 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Boot a target environment with rpm:

1). With option '--nodigest --nosignature', installing package with bad signature is successful
======

root@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@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(-)
Signature · 1 line
2.8.1