Backport open SSL patch for bugged Fedora
I was asking on the Matrix chat why I couldn't run the pmboostrap on Fedora, and somebody said this needs backporting? -->!2465 (merged)
Installed packages
Name : pmbootstrap
Epoch : 0
Version : 2.3.1
Release : 3.fc41
Architecture : noarch
Installed size : 1.5 Mi
(007492) [23:16:16] NOTE: The failed command's output is above the ^^^ line in the log file: /home/biggaz/.local/var/pmbootstrap/log.txt
(007492) [23:16:16] ERROR: Failed to validate signature of apk.static. Either openssl is not installed, or the download failed. Run 'pmbootstrap zap -hc' to delete the download and try again.
(007492) [23:16:16] See also: <https://postmarketos.org/troubleshooting>
(007492) [23:16:16] Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pmb/chroot/apk_static.py", line 88, in verify_signature
pmb.helpers.run.user(args, ["openssl", "dgst", "-sha1", "-verify",
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sigkey_path, "-signature", files[
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"sig"]["temp_path"],
^^^^^^^^^^^^^^^^^^^^
files["apk"]["temp_path"]])
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/run.py", line 32, in user
return pmb.helpers.run_core.core(args, msg, cmd, working_dir, output,
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
output_return, check, sudo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 384, in core
check_return_code(args, code, log_message)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 242, in check_return_code
raise RuntimeError(f"Command failed (exit code {str(code)}): " +
log_message)
RuntimeError: Command failed (exit code 1): % openssl dgst -sha1 -verify /usr/lib/python3.13/site-packages/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapkotato17sig /tmp/pmbootstrapqmhn_2hdapk