Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RPM pinentry #552

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Add RPM pinentry #552

merged 2 commits into from
Feb 26, 2025

Conversation

david-goudet
Copy link
Contributor

Description of problem:

User is creating a GPG key to commit in his repo. When he try to create a GPG key the "error: error No pinentry" error is reported.

To solve this issue:

Adding RPM pinentry in file devspaces/context/setup.sh.

Context is presented here: https://issues.redhat.com/browse/CRW-7895

Thank you for your help!


Steps to Reproduce

  1. Launch the workspace: Ansible
    then run ;
    gpg --gen-key

  2. After entering your name and e-mail you will have the error:
    gpg: agent_genkey failed: No pinentry
    Key generation failed: No pinentry
    Actual results:

gpg creation results in following error:

gpg: key D79: error sending to agent: No pinentry

gpg: error building skey array: No pinentry

gpg: error reading 'myprivatekeys.asc': No pinentry

gpg: import from 'myprivatekeys.asc' failed: No pinentry
Expected results:

GPG key creation should proceed

@david-goudet david-goudet requested a review from a team as a code owner February 20, 2025 09:57
@alisonlhart alisonlhart added the bug Something isn't working label Feb 26, 2025
@alisonlhart
Copy link
Contributor

@david-goudet Thank you for this contribution! Approved.

@alisonlhart alisonlhart merged commit 475121e into ansible:main Feb 26, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants