Resolving GPG passphrase prompt issue after RHEL 7 to RHEL 8 migration

Solution Verified - Updated -

Issue

After the RHEL 7 to RHEL 8 migration, existing GPG functionalities doesn't work as expected. When decryption/encryption using --passphrase string parameter, it's prompting for passphrase, even though its supplied in the command for the first time. For subsequent operations, its not prompting, which was not the case on RHEL 7.

Environment

  • Red Hat Enterprise Linux
    • 8 or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content