Commit Graph

21 Commits

Author SHA1 Message Date
Coiby Xu
eff6110deb ima-setup: Allow users to specify custom reinstall_threshold
Resolves: https://issues.redhat.com/browse/RHEL-33751
Conflict: None

Upstream Status: https://src.fedoraproject.org/rpms/ima-evm-utils.git

commit 141a74d96ab3cdee1b0d2cf6a0cba19337920e02
Author: Coiby Xu <coxu@redhat.com>
Date:   Tue May 28 09:54:19 2024 +0800

    ima-setup: Allow users to specify custom reinstall_threshold

    Some users may use custom built packages and we are not sure about the
    number of this type of packages. So make reinstall_threshold
    configurable.

    Suggested-by: Marko Myllynen <myllynen@redhat.com>

Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-06-08 07:18:20 +08:00
Coiby Xu
6760dcea53 Add some IMA setup tools
Resolves: https://issues.redhat.com/browse/RHEL-33751
Conflict: Upstream has -libs subpackage

Upstream Status: https://src.fedoraproject.org/rpms/ima-evm-utils.git

commit 8980421a049c776e2b77e534793aafb925b3ad48
Author: Coiby Xu <coiby.xu@gmail.com>
Date:   Mon May 6 17:48:52 2024 +0800

    Add some IMA setup tools

    Some IMA setup tools are added to ease IMA setup which will do
    the following tasks,
       - add IMA signatures to installed packages files
       - load IMA keys and policy
       - enable the dracut integrity module to load IMA keys and policy
         automatically

    Two IMA polices as suggested by Stefan Berger are also provided which
    will be signed automatically with other package files.

    Thanks to Marko Myllynen for coming up with the idea to have a tool
    similar to fips-mode-setup. And thanks to Mimi Zohar and Stefan Berger
    for providing the feedback!

    Signed-off-by: Coiby Xu <coxu@redhat.com>

Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-06-08 07:18:18 +08:00
Coiby Xu
881eecef9e 1.5, updates for bootstrapping
Related: https://issues.redhat.com/browse/RHEL-33751
Conflict: some minor conflicts to resolve. Also define bootstrap as 0
          and remove "--disable-engine"

Upstream Status: https://src.fedoraproject.org/rpms/ima-evm-utils.git

commit 631781e5b2
Author: Peter Robinson <pbrobinson@gmail.com>
Date:   Thu Jun 8 09:31:11 2023 +0100

    1.5, updates for bootstrapping

Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-06-08 03:09:25 +08:00
Coiby Xu
aa675fa044 Disable compat subpkg
Related: https://issues.redhat.com/browse/RHEL-2969
Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-06-04 09:39:04 +08:00
Coiby Xu
1443a7e6f7 Enable compat subpkg
Related: https://issues.redhat.com/browse/RHEL-2969
Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-04-12 17:02:45 +08:00
Coiby Xu
09e3c9151e Rebase to upstream release v1.5
Related: https://issues.redhat.com/browse/RHEL-2969
Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-04-12 14:31:50 +08:00
Linqing Lu
c1406805d0 Migrate gating test to OSCI from QE CI
Resolves: rhbz#2042586

Signed-off-by: Linqing Lu <lilu@redhat.com>
2022-01-19 13:57:05 -05:00
Bruno Meneguele
f8dae177fe Fix compat bcond_with value check
Related: rhbz#2026028
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2021-12-13 17:05:29 -03:00
Bruno Meneguele
71d9e0d69b Remove compat subpkg from compose
Related: rhbz#2026028
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2021-12-10 17:35:05 -03:00
Bruno Meneguele
fdef5624a7 Add compat subpkg for helping building dependencies
Add old ima-evm-utils version with the patches to expose the old soname for
satisfying rpm-sign runtime dependency on the old soname. Thus, the new
rpm-sign can be built and then depend on the new soname.

Related: rhbz#2026028
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2021-12-07 18:31:45 -03:00
Bruno Meneguele
3f61e75888 Rebase to upstream release v1.4
The new version already handles the two additional patches that were being
applied through the rpm package creation, with that, remove both of them.
Also, this commit modifies some specfile pieces to get closer to Fedora's
specfile.

Related: rhbz#2026028
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2021-12-02 14:18:41 -03:00
Bruno Meneguele
360f5af681 Make SHA-256 the default hash algorithm
One of the requests from the Crypto team in RHEL-9 was to drop the support
for SHA1 as a strong algorithm. For ima-evm-utils it's not quite possible,
since it's somewhat dependent on the underlying hardware (TPM version).
However, SHA1 was still being used as the default hash algorithm, with that,
make SHA256 the default instead.

Also, this patch substitutes the patch to solve the memory leak added in the
last release to the one accepted in upstream.

Related: rhbz#1934949
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2021-08-20 11:02:19 -03:00
Mohan Boddu
3123d8e5ae Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 20:56:27 +00:00
Bruno Meneguele
bef6dde4a2 Add patch fixing memory leak
Related: rhbz#1938742
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2021-07-09 00:03:54 -03:00
Mohan Boddu
7faba5dc96 Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-06-16 03:26:12 +00:00
Linqing Lu
9cbfbd5398 Upload New File 2021-05-14 21:34:13 +00:00
Mohan Boddu
877d14ada1 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 00:35:00 +00:00
DistroBaker
43d7b70062 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/ima-evm-utils.git#6d8b830293833bc79b90c26d60e2c867df615691
2021-02-04 05:42:59 +01:00
DistroBaker
b9bfe94d3d Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/ima-evm-utils.git#406cc7e1e8d37034fc6155336a7d901d1ab96d87
2020-10-30 02:40:00 +01:00
Petr Šabata
375fb2047e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/ima-evm-utils#dad4a640db5684c0c9fc5d1821d8a7428b20ebfb
2020-10-15 13:37:15 +02:00
Release Configuration Management
b5f7d05bde New branch setup 2020-10-08 15:16:36 +00:00