| Summary: | using gpg starts gpg-agent, but GPG_TTY not set -> unable to type passphrase on an ssh connection | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Paolo Bonzini <pbonzini> |
| Component: | gnupg2 | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | somlo |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-13 15:47:34 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: | |
|
Description
Paolo Bonzini
2013-11-14 15:48:05 UTC
I noticed the same behavior on Fedora 20 while attempting to decrypt something for the first time using cat foo | gpg -d Using gpg -d foo instead works fine; subsequent attempts to decrypt work using either syntax, once the agent is running and has the passphrase. Also, Paolo's workaround (setting GPG_TTY) helps, thanks for that ! Well this is expected and setting the GPG_TTY is what you should do if you need to redirect gpg input. |