Created from redmine issue https://projects.theforeman.org/issues/34573
Upstream bug assigned to oezr
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34573 has been resolved.
FailedQA This issue can be reproduced on snap17 as fixed foreman version is not available on RHEL7 or RHEL8. Expected output: Value of setting should be encrypted. Actual Output: Setting value is not encrypted.
Thanks Marek for debugging this issue. It looks like there is an issue while provisioning which creates an empty encryption file. Verified on Sat 6.11 Snap 20. This BZ is fixed but we need to fix the satellite provisioning which creates empty encryption file. The testing steps shared by Dev in first comment works and "root password" is encrypted(Provided encryption key is present).
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: Satellite 6.11 Release), 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-2022:5498