| Summary: | Character passing error in security/pinentry-qt | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Harald Schmalzbauer <harry> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | lofi |
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Harald Schmalzbauer
2005-03-30 05:20:03 UTC
Responsible Changed From-To: freebsd-ports-bugs->lofi Over to maintainer. I have confirmed the bug and reported it to the upstream developers. There seems to be a problem with incompatible encodings of passphrases between gpg-agent and gpg. If you want to use a passphrase containing § with gpg-agent and pinentry, you have to set it with gpg-agent and through a pinentry as well. To salvage and "convert" your current key, do this (make sure gpg-agent is running): 1.) env | grep GPG_AGENT_INFO <- save the output of that somewhere. 2.) unsetenv GPG_AGENT_INFO (unset GPG_AGENT_INFO if you're using bash/sh/zsh) 3.) Run gpg, type passwd. Make sure you do NOT get a pinentry dialog. Change your passphrase to something without 'dangerous' characters (i.e., just ascii-letters and numbers), type save. 4.) setenv GPG_AGENT_INFO [previous value which you saved in step 1] (export GPG_AGENT_INFO=[previous value that you saved in step 1] if you're using bash/sh/zsh) 5.) Run gpg, type passwd. Make sure you get a pinentry at this point! Change your passphrase back to the string containing § in the pinentry dialogs, save. The passphrase should be accepted by all pinentry programs. It will not work however in gpg running without agent. If you want to use gpg-agent on an on-and-off basis, you'll have to use a different passphrase for now. State Changed From-To: open->analyzed Responsible Changed From-To: lofi->freebsd-ports-bugs Maintainer was reset. Hi Harald, hi Michael, I'm trying to find out what the state of the problem report ports/79351 [1] is. Has the problem been fixed in the meantime and can this PR be closed? Regards, Stefan [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/79351 Stefan Walter schrieb am 17.10.2008 14:16 (localtime): > Hi Harald, hi Michael, > > I'm trying to find out what the state of the problem report ports/79351 > [1] is. Has the problem been fixed in the meantime and can this PR be > closed? AFAIR this was corrected several months ago. I haven't tested but remember a committ message which mentioned the correction. I don't have qt on my desktop any more, but a quick 'gpg -c ~/.Xauthority' showed that gtk-pinentry works with !"§$%&/()=? Thanks, -Harry > Regards, > Stefan > > [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/79351 State Changed From-To: analyzed->closed The problem is believed to be fixed. |