|
|
|
@ -0,0 +1,616 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 7;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
%global srcname keylime
|
|
|
|
|
%global policy_version 38.1.0
|
|
|
|
|
|
|
|
|
|
# Package is actually noarch, but it has an optional dependency that is
|
|
|
|
|
# arch-specific.
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%global with_selinux 1
|
|
|
|
|
%global selinuxtype targeted
|
|
|
|
|
|
|
|
|
|
Name: keylime
|
|
|
|
|
Version: 7.9.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Open source TPM software for Bootstrapping and Maintaining Trust
|
|
|
|
|
|
|
|
|
|
URL: https://github.com/keylime/keylime
|
|
|
|
|
Source0: https://github.com/keylime/keylime/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
|
Source1: %{srcname}.sysusers
|
|
|
|
|
# The selinux policy for keylime is distributed via this repo: https://github.com/RedHat-SP-Security/keylime-selinux
|
|
|
|
|
Source2: https://github.com/RedHat-SP-Security/%{name}-selinux/archive/v%{policy_version}/keylime-selinux-%{policy_version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# Restore the create_allowlist.sh script
|
|
|
|
|
# https://issues.redhat.com/browse/RHEL-32637
|
|
|
|
|
Patch1: 0001-Restore-create-allowlist.patch
|
|
|
|
|
# Use TLS for the revocation notification webhook
|
|
|
|
|
# Take into account CA certificates added by configuration file
|
|
|
|
|
# Include the system installed CA certificates
|
|
|
|
|
# https://issues.redhat.com/browse/RHEL-49601
|
|
|
|
|
# https://issues.redhat.com/browse/RHEL-51279
|
|
|
|
|
# https://issues.redhat.com/browse/RHEL-51321
|
|
|
|
|
Patch2: 0002-Use-TLS-on-revocation-webhook.patch
|
|
|
|
|
|
|
|
|
|
# Main program: Apache-2.0
|
|
|
|
|
# Icons: MIT
|
|
|
|
|
License: Apache-2.0 AND MIT
|
|
|
|
|
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
BuildRequires: swig
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-dbus
|
|
|
|
|
BuildRequires: python3-jinja2
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
|
|
|
|
|
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
|
|
Requires: %{srcname}-base = %{version}-%{release}
|
|
|
|
|
Requires: %{srcname}-verifier = %{version}-%{release}
|
|
|
|
|
Requires: %{srcname}-registrar = %{version}-%{release}
|
|
|
|
|
Requires: %{srcname}-tenant = %{version}-%{release}
|
|
|
|
|
Requires: %{srcname}-tools = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# webapp was removed upstream in release 6.4.2.
|
|
|
|
|
Obsoletes: %{srcname}-webapp < 6.4.2
|
|
|
|
|
|
|
|
|
|
# python agent was removed upstream in release 7.0.0.
|
|
|
|
|
Obsoletes: python3-%{srcname}-agent < 7.0.0
|
|
|
|
|
|
|
|
|
|
# Agent.
|
|
|
|
|
Requires: keylime-agent
|
|
|
|
|
Suggests: %{srcname}-agent-rust
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
|
%description
|
|
|
|
|
Keylime is a TPM based highly scalable remote boot attestation
|
|
|
|
|
and runtime integrity measurement solution.
|
|
|
|
|
|
|
|
|
|
%package base
|
|
|
|
|
Summary: The base package contains the default configuration
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
Requires(pre): python3-jinja2
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
Requires: procps-ng
|
|
|
|
|
Requires: tpm2-tss
|
|
|
|
|
Requires: openssl
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_selinux}
|
|
|
|
|
# This ensures that the *-selinux package and all it’s dependencies are not pulled
|
|
|
|
|
# into containers and other systems that do not use SELinux
|
|
|
|
|
Recommends: (%{srcname}-selinux if selinux-policy-%{selinuxtype})
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch %efi
|
|
|
|
|
Requires: efivar-libs
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description base
|
|
|
|
|
The base package contains the Keylime default configuration
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
|
Summary: The Python Keylime module
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
Requires: %{srcname}-base = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
|
|
|
|
|
Requires: python3-tornado
|
|
|
|
|
Requires: python3-sqlalchemy
|
|
|
|
|
Requires: python3-alembic
|
|
|
|
|
Requires: python3-cryptography
|
|
|
|
|
Requires: python3-pyyaml
|
|
|
|
|
Requires: python3-packaging
|
|
|
|
|
Requires: python3-requests
|
|
|
|
|
Requires: python3-gpg
|
|
|
|
|
Requires: python3-lark-parser
|
|
|
|
|
Requires: python3-pyasn1
|
|
|
|
|
Requires: python3-pyasn1-modules
|
|
|
|
|
Requires: python3-jsonschema
|
|
|
|
|
Requires: python3-typing-extensions
|
|
|
|
|
Requires: tpm2-tools
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
|
The python3-keylime module implements the functionality used
|
|
|
|
|
by Keylime components.
|
|
|
|
|
|
|
|
|
|
%package verifier
|
|
|
|
|
Summary: The Python Keylime Verifier component
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
Requires: %{srcname}-base = %{version}-%{release}
|
|
|
|
|
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description verifier
|
|
|
|
|
The Keylime Verifier continuously verifies the integrity state
|
|
|
|
|
of the machine that the agent is running on.
|
|
|
|
|
|
|
|
|
|
%package registrar
|
|
|
|
|
Summary: The Keylime Registrar component
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
Requires: %{srcname}-base = %{version}-%{release}
|
|
|
|
|
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description registrar
|
|
|
|
|
The Keylime Registrar is a database of all agents registered
|
|
|
|
|
with Keylime and hosts the public keys of the TPM vendors.
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_selinux}
|
|
|
|
|
# SELinux subpackage
|
|
|
|
|
%package selinux
|
|
|
|
|
Summary: keylime SELinux policy
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: selinux-policy-%{selinuxtype}
|
|
|
|
|
Requires(post): selinux-policy-%{selinuxtype}
|
|
|
|
|
BuildRequires: selinux-policy-devel
|
|
|
|
|
%{?selinux_requires}
|
|
|
|
|
|
|
|
|
|
%description selinux
|
|
|
|
|
Custom SELinux policy module
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package tenant
|
|
|
|
|
Summary: The Python Keylime Tenant
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
Requires: %{srcname}-base = %{version}-%{release}
|
|
|
|
|
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tenant
|
|
|
|
|
The Keylime Tenant can be used to provision a Keylime Agent.
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Keylime tools
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
# Conflicts with the monolithic versions of the package, before the split.
|
|
|
|
|
Conflicts: keylime < 6.3.0-3
|
|
|
|
|
|
|
|
|
|
Requires: %{srcname}-base = %{version}-%{release}
|
|
|
|
|
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
The keylime tools package includes miscelaneous tools.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -S git -n %{srcname}-%{version} -a2
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_selinux}
|
|
|
|
|
# SELinux policy (originally from selinux-policy-contrib)
|
|
|
|
|
# this policy module will override the production module
|
|
|
|
|
|
|
|
|
|
make -f %{_datadir}/selinux/devel/Makefile %{srcname}.pp
|
|
|
|
|
bzip2 -9 %{srcname}.pp
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
mkdir -p %{buildroot}/%{_sharedstatedir}/%{srcname}
|
|
|
|
|
mkdir -p --mode=0700 %{buildroot}/%{_rundir}/%{srcname}
|
|
|
|
|
|
|
|
|
|
mkdir -p --mode=0700 %{buildroot}/%{_sysconfdir}/%{srcname}/
|
|
|
|
|
for comp in "verifier" "tenant" "registrar" "ca" "logging"; do
|
|
|
|
|
mkdir -p --mode=0700 %{buildroot}/%{_sysconfdir}/%{srcname}/${comp}.conf.d
|
|
|
|
|
install -Dpm 400 config/${comp}.conf %{buildroot}/%{_sysconfdir}/%{srcname}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Ship some scripts.
|
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/%{srcname}/scripts
|
|
|
|
|
for s in create_mb_refstate \
|
|
|
|
|
ek-openssl-verify; do
|
|
|
|
|
install -Dpm 755 scripts/${s} \
|
|
|
|
|
%{buildroot}/%{_datadir}/%{srcname}/scripts/${s}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# To keep the same functionality as in RHEL-9, install create_runtime_policy.sh
|
|
|
|
|
# as create_allowlist.sh in RHEL-10
|
|
|
|
|
# The convert_runtime_policy.py script to convert allowlist and excludelist into
|
|
|
|
|
# runtime policy is not called anymore.
|
|
|
|
|
# See: https://issues.redhat.com/browse/RHEL-11866
|
|
|
|
|
install -Dpm 755 scripts/create_runtime_policy.sh \
|
|
|
|
|
%{buildroot}/%{_datadir}/%{srcname}/scripts/create_allowlist.sh
|
|
|
|
|
|
|
|
|
|
# Ship configuration templates.
|
|
|
|
|
cp -r ./templates %{buildroot}%{_datadir}/%{srcname}/templates/
|
|
|
|
|
|
|
|
|
|
mkdir -p --mode=0755 %{buildroot}/%{_bindir}
|
|
|
|
|
install -Dpm 755 ./keylime/cmd/convert_config.py %{buildroot}/%{_bindir}/keylime_upgrade_config
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_selinux}
|
|
|
|
|
install -D -m 0644 %{srcname}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{srcname}.pp.bz2
|
|
|
|
|
install -D -p -m 0644 keylime-selinux-%{policy_version}/%{srcname}.if %{buildroot}%{_datadir}/selinux/devel/include/distributed/%{srcname}.if
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
install -Dpm 644 ./services/%{srcname}_verifier.service \
|
|
|
|
|
%{buildroot}%{_unitdir}/%{srcname}_verifier.service
|
|
|
|
|
|
|
|
|
|
install -Dpm 644 ./services/%{srcname}_registrar.service \
|
|
|
|
|
%{buildroot}%{_unitdir}/%{srcname}_registrar.service
|
|
|
|
|
|
|
|
|
|
cp -r ./tpm_cert_store %{buildroot}%{_sharedstatedir}/%{srcname}/
|
|
|
|
|
|
|
|
|
|
install -p -d %{buildroot}/%{_tmpfilesdir}
|
|
|
|
|
cat > %{buildroot}/%{_tmpfilesdir}/%{srcname}.conf << EOF
|
|
|
|
|
d %{_rundir}/%{srcname} 0700 %{srcname} %{srcname} -
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{srcname}.conf
|
|
|
|
|
|
|
|
|
|
%pre base
|
|
|
|
|
%sysusers_create_compat %{SOURCE1}
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%post base
|
|
|
|
|
/usr/bin/keylime_upgrade_config --component ca --component logging >/dev/null
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%posttrans base
|
|
|
|
|
if [ -d %{_sysconfdir}/%{srcname} ]; then
|
|
|
|
|
chmod 500 %{_sysconfdir}/%{srcname}
|
|
|
|
|
chown -R %{srcname}:%{srcname} %{_sysconfdir}/%{srcname}
|
|
|
|
|
|
|
|
|
|
for comp in "verifier" "tenant" "registrar" "ca" "logging"; do
|
|
|
|
|
[ -d %{_sysconfdir}/%{srcname}/${comp}.conf.d ] && \
|
|
|
|
|
chmod 500 %{_sysconfdir}/%{srcname}/${comp}.conf.d
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
[ -d %{_sharedstatedir}/%{srcname} ] && \
|
|
|
|
|
chown -R %{srcname} %{_sharedstatedir}/%{srcname}/
|
|
|
|
|
|
|
|
|
|
[ -d %{_sharedstatedir}/%{srcname}/tpm_cert_store ] && \
|
|
|
|
|
chmod 400 %{_sharedstatedir}/%{srcname}/tpm_cert_store/*.pem && \
|
|
|
|
|
chmod 500 %{_sharedstatedir}/%{srcname}/tpm_cert_store/
|
|
|
|
|
|
|
|
|
|
[ -d %{_localstatedir}/log/%{srcname} ] && \
|
|
|
|
|
chown -R %{srcname} %{_localstatedir}/log/%{srcname}/
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%post verifier
|
|
|
|
|
/usr/bin/keylime_upgrade_config --component verifier >/dev/null
|
|
|
|
|
%systemd_post %{srcname}_verifier.service
|
|
|
|
|
|
|
|
|
|
%post registrar
|
|
|
|
|
/usr/bin/keylime_upgrade_config --component registrar >/dev/null
|
|
|
|
|
%systemd_post %{srcname}_registrar.service
|
|
|
|
|
|
|
|
|
|
%post tenant
|
|
|
|
|
/usr/bin/keylime_upgrade_config --component tenant >/dev/null
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_selinux}
|
|
|
|
|
# SELinux contexts are saved so that only affected files can be
|
|
|
|
|
# relabeled after the policy module installation
|
|
|
|
|
%pre selinux
|
|
|
|
|
%selinux_relabel_pre -s %{selinuxtype}
|
|
|
|
|
|
|
|
|
|
%post selinux
|
|
|
|
|
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{srcname}.pp.bz2
|
|
|
|
|
%selinux_relabel_post -s %{selinuxtype}
|
|
|
|
|
|
|
|
|
|
if [ "$1" -le "1" ]; then # First install
|
|
|
|
|
# The services need to be restarted for the custom label to be
|
|
|
|
|
# applied in case they where already present in the system,
|
|
|
|
|
# restart fails silently in case they where not.
|
|
|
|
|
for svc in registrar verifier; do
|
|
|
|
|
[ -f "%{_unitdir}/%{srcname}_${svc}".service ] && \
|
|
|
|
|
%systemd_postun_with_restart "%{srcname}_${svc}".service
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%postun selinux
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
%selinux_modules_uninstall -s %{selinuxtype} %{srcname}
|
|
|
|
|
%selinux_relabel_post -s %{selinuxtype}
|
|
|
|
|
fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%preun verifier
|
|
|
|
|
%systemd_preun %{srcname}_verifier.service
|
|
|
|
|
|
|
|
|
|
%preun registrar
|
|
|
|
|
%systemd_preun %{srcname}_registrar.service
|
|
|
|
|
|
|
|
|
|
%preun tenant
|
|
|
|
|
%systemd_preun %{srcname}_registrar.service
|
|
|
|
|
|
|
|
|
|
%postun verifier
|
|
|
|
|
%systemd_postun_with_restart %{srcname}_verifier.service
|
|
|
|
|
|
|
|
|
|
%postun registrar
|
|
|
|
|
%systemd_postun_with_restart %{srcname}_registrar.service
|
|
|
|
|
|
|
|
|
|
%files verifier
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%attr(500,%{srcname},%{srcname}) %dir %{_sysconfdir}/%{srcname}/verifier.conf.d
|
|
|
|
|
%config(noreplace) %verify(not md5 size mode mtime) %attr(400,%{srcname},%{srcname}) %{_sysconfdir}/%{srcname}/verifier.conf
|
|
|
|
|
%{_bindir}/%{srcname}_verifier
|
|
|
|
|
%{_bindir}/%{srcname}_ca
|
|
|
|
|
%{_unitdir}/keylime_verifier.service
|
|
|
|
|
|
|
|
|
|
%files registrar
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%attr(500,%{srcname},%{srcname}) %dir %{_sysconfdir}/%{srcname}/registrar.conf.d
|
|
|
|
|
%config(noreplace) %verify(not md5 size mode mtime) %attr(400,%{srcname},%{srcname}) %{_sysconfdir}/%{srcname}/registrar.conf
|
|
|
|
|
%{_bindir}/%{srcname}_registrar
|
|
|
|
|
%{_unitdir}/keylime_registrar.service
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_selinux}
|
|
|
|
|
%files selinux
|
|
|
|
|
%{_datadir}/selinux/packages/%{selinuxtype}/%{srcname}.pp.*
|
|
|
|
|
%{_datadir}/selinux/devel/include/distributed/%{srcname}.if
|
|
|
|
|
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{srcname}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files tenant
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%attr(500,%{srcname},%{srcname}) %dir %{_sysconfdir}/%{srcname}/tenant.conf.d
|
|
|
|
|
%config(noreplace) %verify(not md5 size mode mtime) %attr(400,%{srcname},%{srcname}) %{_sysconfdir}/%{srcname}/tenant.conf
|
|
|
|
|
%{_bindir}/%{srcname}_tenant
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
|
|
%{python3_sitelib}/%{srcname}
|
|
|
|
|
%{_datadir}/%{srcname}/scripts/create_mb_refstate
|
|
|
|
|
%{_bindir}/keylime_attest
|
|
|
|
|
%{_bindir}/keylime_convert_runtime_policy
|
|
|
|
|
%{_bindir}/keylime_create_policy
|
|
|
|
|
%{_bindir}/keylime_sign_runtime_policy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/%{srcname}_userdata_encrypt
|
|
|
|
|
|
|
|
|
|
%files base
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%attr(500,%{srcname},%{srcname}) %dir %{_sysconfdir}/%{srcname}/{ca,logging}.conf.d
|
|
|
|
|
%config(noreplace) %verify(not md5 size mode mtime) %attr(400,%{srcname},%{srcname}) %{_sysconfdir}/%{srcname}/ca.conf
|
|
|
|
|
%config(noreplace) %verify(not md5 size mode mtime) %attr(400,%{srcname},%{srcname}) %{_sysconfdir}/%{srcname}/logging.conf
|
|
|
|
|
%attr(700,%{srcname},%{srcname}) %dir %{_rundir}/%{srcname}
|
|
|
|
|
%attr(700,%{srcname},%{srcname}) %dir %{_sharedstatedir}/%{srcname}
|
|
|
|
|
%attr(500,%{srcname},%{srcname}) %dir %{_sharedstatedir}/%{srcname}/tpm_cert_store
|
|
|
|
|
%attr(400,%{srcname},%{srcname}) %{_sharedstatedir}/%{srcname}/tpm_cert_store/*.pem
|
|
|
|
|
%{_tmpfilesdir}/%{srcname}.conf
|
|
|
|
|
%{_sysusersdir}/%{srcname}.conf
|
|
|
|
|
%{_datadir}/%{srcname}/scripts/create_allowlist.sh
|
|
|
|
|
%{_datadir}/%{srcname}/scripts/ek-openssl-verify
|
|
|
|
|
%{_datadir}/%{srcname}/templates
|
|
|
|
|
%{_bindir}/keylime_upgrade_config
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 7.9.0-7
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Mon Aug 19 2024 Anderson Toshiyuki Sasaki <ansasaki@redhat.com> - 7.9.0-7
|
|
|
|
|
- Use TLS on revocation notification webhook
|
|
|
|
|
- Include system installed CA certificates when verifying webhook server
|
|
|
|
|
certificate
|
|
|
|
|
- Include the CA certificates added via configuration file option
|
|
|
|
|
'trusted_server_ca'
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2024 Anderson Toshiyuki Sasaki <ansasaki@redhat.com> - 7.9.0-6
|
|
|
|
|
- Restore create_allowlist.sh to be the same as in RHEL-9
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Karel Srot <ksrot@redhat.com> - 7.9.0-5
|
|
|
|
|
- Add rhel-10 gating.yaml
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 7.9.0-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 09 2024 Karel Srot <ksrot@redhat.com> - 7.9.0-3
|
|
|
|
|
- tests: Update CI test plan for C10S
|
|
|
|
|
|
|
|
|
|
* Mon Feb 12 2024 Sergio Correia <scorreia@redhat.com> - 7.9.0-2
|
|
|
|
|
- Fixes for rawhide
|
|
|
|
|
|
|
|
|
|
* Tue Jan 30 2024 Sergio Correia <scorreia@redhat.com> - 7.9.0-1
|
|
|
|
|
- Updating for Keylime release v7.9.0
|
|
|
|
|
- Migrated license to SPDX
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 05 2023 Sergio Correia <scorreia@redhat.com> - 7.8.0-1
|
|
|
|
|
- Updating for Keylime release v7.8.0
|
|
|
|
|
|
|
|
|
|
* Thu Nov 02 2023 Sergio Correia <scorreia@redhat.com> - 7.7.0-1
|
|
|
|
|
- Updating for Keylime release v7.7.0
|
|
|
|
|
|
|
|
|
|
* Thu Aug 24 2023 Sergio Correia <scorreia@redhat.com> - 7.5.0-1
|
|
|
|
|
- Updating for Keylime release v7.5.0
|
|
|
|
|
|
|
|
|
|
* Mon Jul 31 2023 Sergio Correia <scorreia@redhat.com> - 7.3.0-1
|
|
|
|
|
- Updating for Keylime release v7.3.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.5-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 7.2.5-3
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Tue Jun 06 2023 Sergio Correia <scorreia@redhat.com> - 7.2.5-2
|
|
|
|
|
- Update test plan
|
|
|
|
|
|
|
|
|
|
* Mon Jun 05 2023 Sergio Correia <scorreia@redhat.com> - 7.2.5-1
|
|
|
|
|
- Updating for Keylime release v7.2.5
|
|
|
|
|
|
|
|
|
|
* Fri Feb 03 2023 Sergio Correia <scorreia@redhat.com> - 6.6.0-1
|
|
|
|
|
- Updating for Keylime release v6.6.0
|
|
|
|
|
|
|
|
|
|
* Wed Jan 25 2023 Sergio Correia <scorreia@redhat.com> - 6.5.3-2
|
|
|
|
|
- e2e tests: do not change the tpm hash alg to sha256
|
|
|
|
|
|
|
|
|
|
* Wed Jan 25 2023 Sergio Correia <scorreia@redhat.com> - 6.5.3-1
|
|
|
|
|
- Updating for Keylime release v6.5.3
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.3-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 12 2022 Karel Srot <ksrot@redhat.com> - 6.4.3-7
|
|
|
|
|
- Ignore non-keylime AVCs on Fedora Rawhide
|
|
|
|
|
|
|
|
|
|
* Fri Dec 09 2022 Sergio Correia <scorreia@redhat.com> - 6.4.3-6
|
|
|
|
|
- Proper exception handling in tornado_requests
|
|
|
|
|
|
|
|
|
|
* Fri Dec 09 2022 Sergio Correia <scorreia@redhat.com> - 6.4.3-5
|
|
|
|
|
- Do not remove tag-repository.repo
|
|
|
|
|
|
|
|
|
|
* Thu Dec 01 2022 Karel Srot <ksrot@redhat.com> - 6.4.3-4
|
|
|
|
|
- Add dynamic_ref reference to e2e_tests.fmf
|
|
|
|
|
|
|
|
|
|
* Tue Oct 25 2022 Patrik Koncity <pkoncity@redhat.com> - 6.4.3-3
|
|
|
|
|
- Add keylime selinux policy as subpackage and update CI
|
|
|
|
|
|
|
|
|
|
* Wed Sep 14 2022 Sergio Correia <scorreia@redhat.com> - 6.4.3-2
|
|
|
|
|
- Update tests branch to fedora-main
|
|
|
|
|
|
|
|
|
|
* Thu Aug 25 2022 Sergio Correia <scorreia@redhat.com> - 6.4.3-1
|
|
|
|
|
- Updating for Keylime release v6.4.3
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 11 2022 Sergio Correia <scorreia@redhat.com> - 6.4.2-3
|
|
|
|
|
- Wrap efivar-libs dependency in a "ifarch %%efi"
|
|
|
|
|
|
|
|
|
|
* Fri Jul 08 2022 Sergio Correia <scorreia@redhat.com> - 6.4.2-2
|
|
|
|
|
- Fix efivar-libs dependency
|
|
|
|
|
- Some arches do not have efivar-libs, so let's require it conditionally.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 08 2022 Sergio Correia <scorreia@redhat.com> - 6.4.2-1
|
|
|
|
|
- Updating for Keylime release v6.4.2
|
|
|
|
|
- Remove keylime-webapp and mark package as obsolete
|
|
|
|
|
- Configure tmpfiles.d
|
|
|
|
|
- Move common python dependencies to python3-keylime
|
|
|
|
|
- Change dependency from python3-gnupg to python3-gpg
|
|
|
|
|
- Use sysusers.d for handling user creation
|
|
|
|
|
|
|
|
|
|
* Fri Jul 08 2022 Sergio Correia <scorreia@redhat.com> - 6.4.1-4
|
|
|
|
|
- Adjust Fedora CI test plan as per upstream
|
|
|
|
|
|
|
|
|
|
* Thu Jul 07 2022 Sergio Correia <scorreia@redhat.com> - 6.4.1-3
|
|
|
|
|
- Opt in to rpmautospec
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.4.1-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Mon Jun 06 2022 Sergio Correia <scorreia@redhat.com> - 6.4.1-1
|
|
|
|
|
- Updating for Keylime release v6.4.1
|
|
|
|
|
|
|
|
|
|
* Wed May 04 2022 Sergio Correia <scorreia@redhat.com> - 6.4.0-1
|
|
|
|
|
- Updating for Keylime release v6.4.0
|
|
|
|
|
|
|
|
|
|
* Wed Apr 06 2022 Sergio Correia <scorreia@redhat.com> - 6.3.2-1
|
|
|
|
|
- Updating for Keylime release v6.3.2
|
|
|
|
|
|
|
|
|
|
* Mon Feb 14 2022 Sergio Correia <scorreia@redhat.com> - 6.3.1-1
|
|
|
|
|
- Updating for Keylime release v6.3.1
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2022 Sergio Correia <scorreia@redhat.com> - 6.0.3-4
|
|
|
|
|
- Add Conflicts clauses for the subpackages
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2022 Sergio Correia <scorreia@redhat.com> - 6.3.0-3
|
|
|
|
|
- Split keylime into subpackages
|
|
|
|
|
Related: rhbz#2045874 - Keylime subpackaging and agent alternatives
|
|
|
|
|
|
|
|
|
|
* Thu Jan 27 2022 Sergio Correia <scorreia@redhat.com> - 6.3.0-2
|
|
|
|
|
- Fix permissions of config file
|
|
|
|
|
|
|
|
|
|
* Thu Jan 27 2022 Sergio Correia <scorreia@redhat.com> - 6.3.0-1
|
|
|
|
|
- Updating for Keylime release v6.3.0
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 6.1.0-3
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Thu Mar 25 2021 Luke Hinds <lhinds@redhat.com> 6.0.1-1
|
|
|
|
|
- Updating for Keylime release v6.1.0
|
|
|
|
|
|
|
|
|
|
* Wed Mar 03 2021 Luke Hinds <lhinds@redhat.com> 6.0.1-1
|
|
|
|
|
- Updating for Keylime release v6.0.1
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.0.0-2
|
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
* Wed Feb 24 2021 Luke Hinds <lhinds@redhat.com> 6.0.0-1
|
|
|
|
|
- Updating for Keylime release v6.0.0
|
|
|
|
|
|
|
|
|
|
* Tue Feb 02 2021 Luke Hinds <lhinds@redhat.com> 5.8.1-1
|
|
|
|
|
- Updating for Keylime release v5.8.1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 23 2021 Luke Hinds <lhinds@redhat.com> 5.8.0-1
|
|
|
|
|
- Updating for Keylime release v5.8.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 17 2020 Luke Hinds <lhinds@redhat.com> 5.7.2-1
|
|
|
|
|
- Updating for Keylime release v5.7.2
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 5.6.2-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Fri May 01 2020 Luke Hinds <lhinds@redhat.com> 5.6.2-1
|
|
|
|
|
- Updating for Keylime release v5.6.2
|
|
|
|
|
|
|
|
|
|
* Thu Feb 06 2020 Luke Hinds <lhinds@redhat.com> 5.5.0-1
|
|
|
|
|
- Updating for Keylime release v5.5.0
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 12 2019 Luke Hinds <lhinds@redhat.com> 5.4.1-1
|
|
|
|
|
– Initial Packaging
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|