RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1912493 - pkispawn reports incorrect FIPS mode
Summary: pkispawn reports incorrect FIPS mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pki-core
Version: 8.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Pritam Singh
QA Contact: PKI QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-04 15:21 UTC by Pritam Singh
Modified: 2021-05-18 15:25 UTC (History)
2 users (show)

Fixed In Version: pki-core-10.6-8040020210114180044.d4d99205
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:25:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki pull 3437 0 None closed Added_bz_1912493_automation 2021-01-27 23:20:49 UTC

Description Pritam Singh 2021-01-04 15:21:15 UTC
Description of problem:
pkispawn generates 'INFO: FIPS Mode: True' even if the FIPS mode is not enabled on the machine

Version-Release number of selected component (if applicable):
pki-core-10.10.2-1.module+el8.4.0+9165+77c6d399.src.rpm

How reproducible:
Always

Steps to Reproduce:
1. Check FIPS mode is enabled or not
# fips-mode-setup --check
Installation of FIPS modules is not completed.
FIPS mode is disabled.

2. pkispawn subsystem with --debug
3. The spawn logs will generate 'INFO: FIPS Mode: True'

Actual results:
The spawn log shows 'INFO: FIPS Mode: True' for non-fips machine

Expected results:
spawn log should print 'INFO: FIPS Mode: False' for non-fips machine and vice-versa

Additional info:

Comment 1 Pritam Singh 2021-01-05 13:28:21 UTC
commit a2b9a4b49e40ee8afa1d1da51075fc38a8241143 (HEAD -> v10.10, upstream/v10.10)
Author: Pritam Singh <prisingh>
Date:   Mon Jan 4 21:18:34 2021 +0530

    Added_boolean_fix_for_fips_check
    
    Signed-off-by: Pritam Singh <prisingh>

Comment 5 Pritam Singh 2021-01-21 09:53:18 UTC
Tested on RHEL bits:

[root@pki1 ~]# rpm -qi pki-ca
Name        : pki-ca
Version     : 10.10.3
Release     : 1.module+el8.4.0+9456+88377f87
Architecture: noarch
Install Date: Thu 21 Jan 2021 04:43:15 AM EST
Group       : Unspecified
Size        : 3202831
License     : GPLv2 and LGPLv2
Signature   : RSA/SHA256, Wed 20 Jan 2021 12:14:04 PM EST, Key ID 199e2f91fd431d51
Source RPM  : pki-core-10.10.3-1.module+el8.4.0+9456+88377f87.src.rpm
Build Date  : Thu 14 Jan 2021 03:17:34 PM EST
Build Host  : arm64-026.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://www.dogtagpki.org
Summary     : PKI CA Package

Proof of concept:
The downstream pipeline triggered on RHEL bits and working fine:
https://gitlab.cee.redhat.com/prisingh/pki-pytest-ansible/-/pipelines/906244

Hence, Marking this Bugzilla as verified.

Comment 8 errata-xmlrpc 2021-05-18 15:25:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1775


Note You need to log in before you can comment on or make changes to this bug.