[Bug 1207724] New: gpg key generation must be aborted after having entered mismatches pass phrases
http://bugzilla.opensuse.org/show_bug.cgi?id=1207724 Bug ID: 1207724 Summary: gpg key generation must be aborted after having entered mismatches pass phrases Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When generating a GPG key, a popup asks to enter a passphrase twice. However when you have a typing error, the only option is to abort the dialog, causing key generation to be aborted. Expectation is that the user has a chance to correct the misspelled passphrase. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207724 http://bugzilla.opensuse.org/show_bug.cgi?id=1207724#c1 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Andreas.Stieger@gmx.de, | |danilo.spinella@suse.com, | |pmonrealgonzalez@suse.com, | |Ulrich.Windl@rz.uni-regensb | |urg.de Assignee|screening-team-bugs@suse.de |pmonrealgonzalez@suse.com Flags| |needinfo?(Ulrich.Windl@rz.u | |ni-regensburg.de) --- Comment #1 from Andreas Stieger <Andreas.Stieger@gmx.de> --- Which flavor of pinentry is in use here? (-curses,-tty,-efl,-emacs,-fltk,-gnome3,-gtk2,-qt5)? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207724 http://bugzilla.opensuse.org/show_bug.cgi?id=1207724#c2 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(Ulrich.Windl@rz.u | |ni-regensburg.de) | --- Comment #2 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Andreas Stieger from comment #1)
Which flavor of pinentry is in use here? (-curses,-tty,-efl,-emacs,-fltk,-gnome3,-gtk2,-qt5)?
Well, how do I find out? ;-) # rpm -qa pin\* pinentry-gnome3-1.1.0-4.3.1.x86_64 pinentry-1.1.0-4.3.1.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207724 http://bugzilla.opensuse.org/show_bug.cgi?id=1207724#c5 --- Comment #5 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Pedro Monreal Gonzalez from comment #4)
Also, the default pinentry is shown from "pinentry --version"
% pinentry --version pinentry-gnome3 (pinentry) 1.1.0 Copyright (C) 2016 g10 Code GmbH License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207724 http://bugzilla.opensuse.org/show_bug.cgi?id=1207724#c6 --- Comment #6 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Pedro Monreal Gonzalez from comment #3)
To find out the pinentry used, you can generate the key with the verbose flag (-v) and it will show the details of the launched one. You can also find it from the first PINENTRY_BINARY hit in /usr/bin/pinentry, since you have pinentry-gnome3 installed I assume that's the one you are using.
gpg: pinentry launched (25119 gnome3 1.1.0 /dev/pts/1 xterm-256color -) gpg: agent_genkey failed: Zeit�berschreitung Schl�sselerzeugung fehlgeschlagen: Zeit�berschreitung
Could you post the gpg2, libgcrypt and libgpg-error versions you are using?
% rpm -q gpg2 libcrypt libgpg-error gpg2-2.2.27-150300.3.5.1.x86_64 package libcrypt is not installed package libgpg-error is not installed Probably these: libcrypt1-32bit-4.4.15-150300.4.4.3.x86_64 libcrypt1-4.4.15-150300.4.4.3.x86_64 libgpg-error0-1.42-150400.1.101.x86_64 libgpg-error0-32bit-1.42-150400.1.101.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207724 http://bugzilla.opensuse.org/show_bug.cgi?id=1207724#c7 --- Comment #7 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Created attachment 865098 --> http://bugzilla.opensuse.org/attachment.cgi?id=865098&action=edit Screenshot showing the dialog after having entered a mismatched password Note that the input fields are inactive, so you cannot enter anything new there, and after some rather short time the input process aborts. Special note on the timeout: If you use a password generator and want to store the long&strong password in a password manager _before_ entering it, the timeout may be way too short. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com