Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 842074

Summary: gpgme cannot provide passphrase to gpg2
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Vadkerti <mvadkert>
Component: gpgmeAssignee: Jiri Kucera <jkucera>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: ovasik, trailtotale
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:25:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1308754, 1630904, 1630910, 1660473    

Description Miroslav Vadkerti 2012-07-21 18:12:40 UTC
Description of problem:

# volume_key --save -o packet-phrase /dev/loop0
Passphrase for `/dev/loop0': 
New packet passphrase: 
Repeat new packet passphrase: 
volume_key: Error creating `packet-phrase': GPGME: Invalid crypto engine

gpgme package is installed on the system

Version-Release number of selected component (if applicable):
volume_key-0.3.8-1.el7

How reproducible:
100%

Steps to Reproduce:
1. Create a luks device (for example on loop)
2. volume_key --save -o packet-phrase /dev/loop0
  
Actual results:
volume_key: Error creating `packet-phrase': GPGME: Invalid crypto engine

Expected results:
Passphrase packet successfully created

Comment 1 Miloslav Trmač 2012-07-23 15:37:26 UTC
Thanks for your report.  As a work-around, (yum install gnupg).

Comment 2 Miloslav Trmač 2012-07-23 16:13:51 UTC
Fixed in rawhide volume_key-0.3.8-3.fc18 , rhel7 build to follow.

Comment 3 Miloslav Trmač 2012-08-06 19:12:35 UTC
Dependency added in volume_key-0.3.8-4.el7 , and it should fix the error message from comment 0 - but please re-test, I'm pretty sure you'll run into #637902 (... and then this bug should be reassigned).

Comment 17 RHEL Program Management 2020-12-15 07:25:00 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.