https://bugzilla.suse.com/show_bug.cgi?id=1187167
https://bugzilla.suse.com/show_bug.cgi?id=1187167#c47
--- Comment #47 from Michal Suchanek ---
There is another copy of the code searching for certificates
if test %CONFIG_MODULE_SIG = "y"; then
for f in %_sourcedir/*.crt; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g;
s/(.{8}).*/\1/p').crt
if test -e %buildroot/"$cert"; then
continue
fi
mkdir -p %buildroot/etc/uefi/certs
openssl x509 -inform PEM -in "$f" -outform DER -out
%buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
--
You are receiving this mail because:
You are on the CC list for the bug.