[Bug 364367] New: GPG passphrase goes not work any more after upgrade to openSUSE 10.3
https://bugzilla.novell.com/show_bug.cgi?id=364367 Summary: GPG passphrase goes not work any more after upgrade to openSUSE 10.3 Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: alexander.koenig@koenig-a.de QAContact: qa@suse.de Found By: Customer My PGP/GPG passphrase that I am using since years was not accepted any more on my openSUSE 10.3 system - it worked perfectly with the GPG version distributed with SuSE Linux 10.1. It is impossible to change the passphrase if the old one does not work. Fortunately I had another computer available with 10.1 still installed, which helped me to work around this problem: I copied my GPG environment over to the 10.1 machine Changed my passphrase to a new one not containing the letter "ä" (Umlaut) any more Copied this new GPG environment back to the 10.3 system Now GPG on the 10.3 system works with the new passphrase A warning in the release notes would have been helpful. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |pcerny@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User pcerny@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c1 Petr Cerny <pcerny@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |alexander.koenig@koenig-a.de --- Comment #1 from Petr Cerny <pcerny@novell.com> 2008-02-25 02:17:40 MST --- Without looking at this closer, based on the fact your passphrase contained accented letters (essentially anything outside of ASCII) - are you sure, you have the same locale setting in 10.3 as you had in 10.1? For example a-umlaut is encoded differently in ISO-8859-1 and UTF-8. In such case, setting environment variable LC_ALL might help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User alexander.koenig@koenig-a.de added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c2 --- Comment #2 from Alexander König <alexander.koenig@koenig-a.de> 2008-02-25 13:56:07 MST --- I`ll give it a try when I have some time to play on the weekend. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User alexander.koenig@koenig-a.de added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c3 Alexander König <alexander.koenig@koenig-a.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|alexander.koenig@koenig-a.de | --- Comment #3 from Alexander König <alexander.koenig@koenig-a.de> 2008-03-02 10:54:36 MST --- I installed my old GPG environment (with the old passphrase) on another user account and tried all reasonable values for LC_ALL (including ISO-8859-1 and UTF-8) I could think of. None of them worked with the old passphrase. Maybe you have a comprehensive list of values I can try out. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User pcerny@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c4 Petr Cerny <pcerny@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |alexander.koenig@koenig-a.de --- Comment #4 from Petr Cerny <pcerny@novell.com> 2008-03-03 03:07:47 MST --- Thanks. ISO-8859-1/2 and UTF-8 should be sufficient. The original gpg passphrase has been entered with gpg or gpg2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User alexander.koenig@koenig-a.de added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c5 Alexander König <alexander.koenig@koenig-a.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|alexander.koenig@koenig-a.de | --- Comment #5 from Alexander König <alexander.koenig@koenig-a.de> 2008-03-03 12:13:57 MST --- I created this key and assigned the original passphrase in February 2005 with gpg 1.2.5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User alexander.koenig@koenig-a.de added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c6 --- Comment #6 from Alexander König <alexander.koenig@koenig-a.de> 2008-03-09 11:09:06 MST --- Some more investigations: I reactivated an old computer with SuSE Linux 9.2 on it (gpg 1.2.5). The old passphrase works on this system, locale is "de_DE.UTF-8". The old passphrase does not work on my new openSUSE 10.3 system with gpg 2.0.4 and the same locale. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User pcerny@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c7 Petr Cerny <pcerny@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pcerny@novell.com, peterph@centrum.cz AssignedTo|pcerny@novell.com |nadvornik@novell.com --- Comment #7 from Petr Cerny <pcerny@novell.com> 2008-04-30 09:07:14 MST --- Leaving SUSE - reassigning to Vladimir. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User nadvornik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c8 Vladimir Nadvornik <nadvornik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nadvornik@novell.com |puzel@novell.com --- Comment #8 from Vladimir Nadvornik <nadvornik@novell.com> 2008-05-15 03:22:08 MST --- new maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c9 --- Comment #9 from Petr Uzel <puzel@novell.com> 2008-06-30 09:34:19 MDT --- I think that this problem might be caused by (already solved) bug in gnupg that allowed it to ignore locale settings. Could you please try to set 'charset utf-8' (or whatever encoding you used when generating the key) in ~/.gnupg/gpg.conf and test whether it helps? Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |alexander.koenig@koenig-a.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User alexander.koenig@koenig-a.de added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c10 Alexander König <alexander.koenig@koenig-a.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|alexander.koenig@koenig-a.de | --- Comment #10 from Alexander König <alexander.koenig@koenig-a.de> 2008-07-05 05:55:37 MDT --- charset utf-8 was always set in ~/.gnupg/gpg.conf. This file was never changed since the creation of the key: both are dated 12th February 2005. However, the problem might not be gpg itself but its integration into the openSUSE 10.3 environment: since 10.3 gpg opens a new X-Window for entering the passphrase, even if initiated from a text console. I did not find how to run gpg entirely in console mode. Is there a switch to turn off opening a window for passphrase entering - to enable entering the passphrase on a text console? When trying to run gpg on a console without active X Widows server I got the following messages: pinentry-qt: error converting from UTF-8 to ISO-8859-15: Invalid or incomplete multibyte or wide character gpg: Abbruch durch Benutzer gpg: verschlüsselt mit 2048-Bit ELG Schlüssel, ID 02C0FB09, erzeugt 2005-02-12 "Alexander Koenig (gpg 1.2.5) <alexander.koenig@koenig-a.de>" gpg: Entschlüsselung mit Public-Key-Verfahren fehlgeschlagen: Allgemeiner Fehler gpg: Entschlüsselung fehlgeschlagen: Kein geheimer Schlüssel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c11 --- Comment #11 from Petr Uzel <puzel@novell.com> 2008-07-08 07:25:11 MDT ---
However, the problem might not be gpg itself but its integration into the openSUSE 10.3 environment: since 10.3 gpg opens a new X-Window for entering the passphrase, even if initiated from a text console.
OpenSUSE 10.3 was the first release with gnupg 2.x which uses pinentry to get passphrase from the user (former gnupg version did not use any external utility at all and thus worked only with console).
I did not find how to run gpg entirely in console mode. Is there a switch to turn off opening a window for passphrase entering - to enable entering the passphrase on a text console?
There's a script /usr/bin/pinentry that tries to find out the correct binary to call - pinentry-qt/-qtk/-curses (this is not a simple task BTW). So if you want to enforce gpg to call pinentry-curses, you can adjust the script or directly replace it with the right binary. I'll do some more investigation but I'm pretty convinced that the bug is caused by already solved UTF-8 problems and that it would not happen again with newly created passphrases... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User alexander.koenig@koenig-a.de added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c12 --- Comment #12 from Alexander König <alexander.koenig@koenig-a.de> 2008-07-10 13:52:10 MDT --- I'll give it a try on the weekend creating a new passphrase with an Umlaut -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=364367 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=364367#c13 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Petr Uzel <puzel@novell.com> 2008-07-17 08:16:28 MDT ---
I'll give it a try on the weekend creating a new passphrase with an Umlaut
I've just tested it and it works for me, so I'll close this bug. Thanks for your help! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com