[Bug 619196] New: zypper's password dialog is broken
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c0 Summary: zypper's password dialog is broken Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jkupec@novell.com ReportedBy: mls@novell.com QAContact: jsrain@novell.com CC: ma@novell.com Found By: Development Blocker: --- Zypper's get_password() function used when repositories need to be authorized has two severe limitations: 1) it only reads passwords up to 20 characters 2) it ignores all characters that are not alphanumeric NCC/SMT uses 32 character passwords. Why don't you just use getpass()? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #1 from Ján Kupec <jkupec@novell.com> 2010-07-01 15:33:14 UTC --- A guess getpass(3) scared me off: DESCRIPTION This function is obsolete. Do not use it. So should i fix it, or just use getpass? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c2 --- Comment #2 from Michael Schröder <mls@novell.com> 2010-07-02 09:49:42 UTC --- AFAIK everyone uses getpass(). E.g. pwdutils (the login/passwd command). I think the manpage should offer an alternative if they say a function is obsolete. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c3 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P2 - High Status|NEW |ASSIGNED Blocks| |602355 --- Comment #3 from Ján Kupec <jkupec@novell.com> 2010-07-13 14:49:13 UTC --- You'll get no argument from me on that :O) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2010-07-15 09:56:35 UTC --- Created an attachment (id=376108) --> (http://bugzilla.novell.com/attachment.cgi?id=376108) patch -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c5 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Ján Kupec <jkupec@novell.com> 2010-07-15 10:01:39 UTC --- Seems it works alright. Glibc docs does not mention any problem with getpass(); seems it's the man page which is obsolete: http://www.gnu.org/software/libc/manual/html_node/getpass.html#index-getpass... Fixed in 1.3.8 for SLE11-SP1 and 1.4.6 for 11.3/Factory. -- Configure bugmail: http://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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c6 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.3:37206 --- Comment #6 from Swamp Workflow Management <swamp@suse.com> 2010-12-02 09:52:27 UTC --- Update released for: libsatsolver, libsatsolver-debugsource, libsatsolver-demo, libsatsolver-demo-debuginfo, libsatsolver-devel, libsatsolver-devel-debuginfo, libzypp, libzypp-bindings, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, perl-satsolver-debuginfo, perl-zypp, python-satsolver, python-satsolver-debuginfo, python-zypp, ruby-satsolver, ruby-satsolver-debuginfo, ruby-zypp, satsolver-tools, satsolver-tools-debuginfo, yast2-qt-pkg, yast2-qt-pkg-debuginfo, yast2-qt-pkg-debugsource, zypper, zypper-debuginfo, zypper-debugsource Products: openSUSE 11.3 (debug, i586, x86_64) -- 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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c7 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:released:11.3:37206 |maint:released:11.3:37206 | |maint:running:37855:importa | |nt --- Comment #7 from Swamp Workflow Management <swamp@suse.com> 2010-12-17 11:59:38 UTC --- The SWAMPID for this issue is 37855. This issue was rated as important. Please submit fixed packages until 2010-12-24. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/37855 -- 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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c8 Liu Shukui <skliu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |skliu@novell.com --- Comment #8 from Liu Shukui <skliu@novell.com> 2010-12-27 07:14:50 UTC --- Hi, could you tell me how to reproduce it? I just used yast2 to config NCC server, nothing found abnormal. Any suggestions? (In reply to comment #0)
Zypper's get_password() function used when repositories need to be authorized has two severe limitations:
1) it only reads passwords up to 20 characters 2) it ignores all characters that are not alphanumeric
NCC/SMT uses 32 character passwords.
Why don't you just use getpass()?
-- 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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c9 --- Comment #9 from Ján Kupec <jkupec@novell.com> 2011-01-03 10:26:19 UTC --- Hi Shu, to reproduce this, you need to get zypper to ask for some username/password. One way to do this is to use or set up a repository which needs authentication (http/ftp with authentication) and has a long password set, and do e.g. 'zypper ref'. Or, if you're on SLE system with NCC repositories configured, just remove/rename /etc/zypp/credentials.d/NCCcredentials, and then give the username/password contained therein when zypper asks when doing 'zypper ref'. -- 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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c10 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:released:11.3:37206 |maint:released:11.3:37206 |maint:running:37855:importa |maint:running:37855:importa |nt |nt | |maint:released:sle11-sp1:37 | |856 --- Comment #10 from Swamp Workflow Management <swamp@suse.com> 2011-01-14 17:08:50 UTC --- Update released for: libsatsolver, libsatsolver-debuginfo, libsatsolver-debugsource, libsatsolver-demo, libsatsolver-devel, libzypp, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, python-satsolver, ruby-satsolver, satsolver-tools, zypper, zypper-debuginfo, zypper-debugsource Products: SLE-DEBUGINFO 11-SP1 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP1 (i386, x86_64) SLE-SDK 11-SP1 (i386, ia64, ppc64, s390x, x86_64) SLE-SERVER 11-SP1 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP1 (i386, x86_64) -- 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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c11 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:released:11.3:37206 |maint:released:11.3:37206 |maint:running:37855:importa |maint:running:37855:importa |nt |nt |maint:released:sle11-sp1:37 |maint:released:sle11-sp1:37 |856 |856 | |maint:released:11.2:37876 --- Comment #11 from Swamp Workflow Management <swamp@suse.com> 2011-01-15 17:00:16 UTC --- Update released for: libsatsolver, libsatsolver-debugsource, libsatsolver-demo, libsatsolver-demo-debuginfo, libsatsolver-devel, libsatsolver-devel-debuginfo, libzypp, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, perl-satsolver-debuginfo, python-satsolver, python-satsolver-debuginfo, ruby-satsolver, ruby-satsolver-debuginfo, satsolver-tools, satsolver-tools-debuginfo, zypper, zypper-debuginfo, zypper-debugsource Products: openSUSE 11.2 (debug, i586, x86_64) -- 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=619196 https://bugzilla.novell.com/show_bug.cgi?id=619196#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:released:11.3:37206 |maint:released:11.3:37206 |maint:running:37855:importa |maint:released:sle11-sp1:37 |nt |856 |maint:released:sle11-sp1:37 |maint:released:11.2:37876 |856 | |maint:released:11.2:37876 | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619196 http://bugzilla.novell.com/show_bug.cgi?id=619196#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (619196) was mentioned in https://build.opensuse.org/request/show/42949 Factory / zypper -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com