Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upNew templates fails to install on R3.2 - UnknownSignatureType #4100
Comments
marmarek
added
bug
C: templates
labels
Jul 17, 2018
marmarek
added this to the Release 3.2 updates milestone
Jul 17, 2018
marmarek
self-assigned this
Jul 17, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 17, 2018
Member
[user@dom0 ~]$ rpm --verbose -K qubes-template-whonix-gw-14-4.0.1-201807121854.noarch.rpm
qubes-template-whonix-gw-14-4.0.1-201807121854.noarch.rpm:
Header V4 RSA/SHA256 Signature, key ID 0c8231bf: OK
Header SHA1 digest: OK (330b84cd1d416c0963a2d8ec5dcb5c862edd24cc)
Verify signature: BAD PARAMETERS (273 0x5a6997d45907 1 (nil) (nil))
V4 RSA/SHA256 Signature, key ID 0c8231bf: OK
MD5 digest: OK (ea23ba88a53c0e006aca46d31e5ee103)
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Looks like I need to revert to sha1 for R3.2 packages... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 17, 2018
Member
But, xen-4.6.6-43.fc23.x86_64.rpm works just fine, and do use SHA256:
[user@dom0 ~]$ rpm -vK /var/lib/qubes/updates/rpm/xen-4.6.6-43.fc23.x86_64.rpm
/var/lib/qubes/updates/rpm/xen-4.6.6-43.fc23.x86_64.rpm:
Header V4 RSA/SHA256 Signature, key ID 03fa5082: OK
Header SHA1 digest: OK (7e7867f8300d476d95e76580a402a926dea8a23f)
V4 RSA/SHA256 Signature, key ID 03fa5082: OK
MD5 digest: OK (5a5cf2a7fd4c45c401bc9c85fc11aadc)
|
But,
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 18, 2018
Member
Ok, it isn't about signature digest, but header/payload digest. Full details using rpm 4.14 (as compared in 4.13 in 3.2's dom0):
qubes-template-whonix-gw-14-4.0.1-201807121854.noarch.rpm:
Header V4 RSA/SHA256 Signature, key ID 0c8231bf: OK
Header SHA1 digest: OK
Header SHA256 digest: OK
Payload SHA256 digest: OK
V4 RSA/SHA256 Signature, key ID 0c8231bf: OK
MD5 digest: OK
|
Ok, it isn't about signature digest, but header/payload digest. Full details using rpm 4.14 (as compared in 4.13 in 3.2's dom0):
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jul 18, 2018
Member
I also was hit by this but I assumed transmission errors. Changed UpdateVM. Glad the root cause has been found!
Workaround available?
Template rebuild required after fixing this one?
|
I also was hit by this but I assumed transmission errors. Changed UpdateVM. Glad the root cause has been found! Workaround available? Template rebuild required after fixing this one? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 18, 2018
Member
Workaround available?
It looks like I'll need to downgrade rpm-build in that VM - there is no option to force old format (without SHA256 header).
Template rebuild required after fixing this one?
Yes.
It looks like I'll need to downgrade rpm-build in that VM - there is no option to force old format (without SHA256 header).
Yes. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 18, 2018
Member
Ok, should be good now. Rebuild R3.2 templates when you consider appropriate.
|
Ok, should be good now. Rebuild R3.2 templates when you consider appropriate. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Templates rebuild. Testing in progress. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Works for me. Closeable. |
marmarek commentedJul 17, 2018
•
edited
Edited 1 time
-
marmarek
edited Jul 17, 2018 (most recent)
-
marmarek
created Jul 17, 2018
Qubes OS version:
R3.2
Affected component(s):
template builder
Steps to reproduce the behavior:
sudo qubes-dom0-update --enablerepo=qubes-templates-community-testing qubes-template-whonix-gw-14Expected behavior:
Install Whonix Gateway 14 template.
Actual behavior:
/cc @adrelanos