[Rpm-maint] [rpm-software-management/rpm] Improved errors handling. (#1305)

Florian Festi notifications at github.com
Tue Jul 21 09:14:15 UTC 2020


This change "breaks" two test cases which may need adjusting.
```
239: rpmkeys -Kv <corrupted signed> 1                FAILED (rpmsigdig.at:310)
+++ /srv/rpm/rpm-4.16.90/_build/sub/tests/rpmtests.dir/at-groups/239/stderr	2020-07-21 07:50:18.680411000 +0000

@@ -0,0 +1 @@

+warning: pgpPrtParams: The parsing has not consumed the whole stream: pos = 0, remaining = 287warning: pgpPrtParams: The parsing has not consumed the whole stream: pos = 0, remaining = 287

\ No newline at end of file
293: rpm -U <corrupted signed 1>                     FAILED (rpmi.at:257)

+++ /srv/rpm/rpm-4.16.90/_build/sub/tests/rpmtests.dir/at-groups/293/stderr	2020-07-21 07:50:24.356411000 +0000

@@ -1,3 +1,3 @@

-error: /tmp/hello-2.0-1.x86_64-signed.rpm: Header RSA signature: BAD (package tag 268: invalid OpenPGP signature)

+warning: pgpPrtParams: The parsing has not consumed the whole stream: pos = 0, remaining = 287error: /tmp/hello-2.0-1.x86_64-signed.rpm: Header RSA signature: BAD (package tag 268: invalid OpenPGP signature)

 error: /tmp/hello-2.0-1.x86_64-signed.rpm cannot be installed

293: rpm -U <corrupted signed 1>                     FAILED (rpmi.at:257)


```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1305#issuecomment-661737794
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200721/c46bf9be/attachment.html>


More information about the Rpm-maint mailing list