public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/AusweisApp2] rawhide: Drop fipshmac/fipscheck
@ 2026-11-20 16:24 Julian Sikorski
  0 siblings, 0 replies; only message in thread
From: Julian Sikorski @ 2026-11-20 16:24 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/AusweisApp2
            Branch : rawhide
            Commit : 84310a4218d4696fafee240275e36bec109d7531
            Author : Julian Sikorski <belegdol@fedoraproject.org>
            Date   : 2026-11-20T17:12:35+01:00
            Stats  : +0/-29 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/AusweisApp2/c/84310a4218d4696fafee240275e36bec109d7531?branch=rawhide

            Log:
            Drop fipshmac/fipscheck

fipscheck was has not been active since October 2020. Additionally, with
CRYPTO_USER_API changes in Fedora 45+, neither can be run without
elevated privileges.

---
diff --git a/AusweisApp2.spec b/AusweisApp2.spec
index 9fbf4ac..1622c6b 100644
--- a/AusweisApp2.spec
+++ b/AusweisApp2.spec
@@ -1,20 +1,3 @@
-# Add generation of HMAC checksums of the final stripped binaries.
-# %%define with lazy expansion is used here intentionally, because
-# this needs to be expanded inside of a higher level macro that
-# gets expanded itself.
-%define __spec_install_post                      \
-%{?__debug_package:%{__debug_install_post}}      \
-%{__arch_install_post}                           \
-%{__os_install_post}                             \
-fipshmac %{buildroot}%{_bindir}/%{newname}          \\\
-  %{buildroot}%{_libexecdir}/%{newname}             \\\
-  %{buildroot}%{_datadir}/%{newname}/openssl.cnf    \
-c="%{buildroot}%{_datadir}/%{newname}/config.json"  \
-if [[ -f ${c} ]]; then                           \
-  fipshmac ${c}                                  \
-fi                                               \
-%{nil}
-
 # Always do out-of-source builds with CMake.
 %{?__cmake_in_source_build:%undefine __cmake_in_source_build}
 
@@ -90,7 +73,6 @@ BuildRequires:    qt5-qtsvg-devel
 BuildRequires:    qt5-qtwebsockets-devel
 %endif
 BuildRequires:    %{_bindir}/sha256sum
-BuildRequires:    %{_bindir}/fipshmac
 
 # Lowercase package name.
 %global lc_name   %{lua:print(string.lower(rpm.expand("%{name}")))}
@@ -117,9 +99,6 @@ Requires:         qt5-qtquickcontrols2%{?_isa}
 # Brainpool ECC
 Requires:         openssl-libs%{?_isa}  >= 3.0.8-2
 
-# Needed for running fipscheck on application startup.
-# Requires:         fipscheck
-
 %if 0%{?qt6_build}
 # Needed for GUI elements to be rendered
 Requires:         qt6-qtimageformats%{?_isa}
@@ -184,12 +163,6 @@ install -pm 0644 %{SOURCE4} LICENSE.en.txt
 # Create the shell wrapper.
 cat << EOF > fedora_%{name}_wrapper.sh
 #!/bin/sh
-# /usr/bin/fipscheck                               \\
-#     %{_bindir}/%{newname}                         \\
-#     %{_libexecdir}/%{newname}                     \\
-#     %{_datadir}/%{newname}/config.json           \\
-#     %{_datadir}/%{newname}/openssl.cnf           \\
-# || exit \$?;
 OPENSSL_CONF=%{_datadir}/%{newname}/openssl.cnf  \\
 %{_libexecdir}/%{newname} "\$@";
 EOF
@@ -274,10 +247,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 %license AUTHORS
 %license LICENSE.en.txt
 %license LICENSE.txt
-%{_bindir}/.%{newname}.hmac
 %{_bindir}/%{newname}
 %{_datadir}/applications/com.governikus.%{lc_name}.desktop
-%{_libexecdir}/.%{newname}.hmac
 %{_libexecdir}/%{newname}
 %{_mandir}/man1/%{newname}.1*
 %{_metainfodir}/com.governikus.%{lc_name}.metainfo.xml

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 16:24 [rpms/AusweisApp2] rawhide: Drop fipshmac/fipscheck Julian Sikorski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox