After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652334 - Password length restriction to 8 characters
Password length restriction to 8 characters
Status: RESOLVED OBSOLETE
Product: vinagre
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: vinagre-maint
vinagre-maint
: 522476 666598 672667 708635 742931 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-06-11 02:25 UTC by Dan Scott
Modified: 2020-11-13 17:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Scott 2011-06-11 02:25:12 UTC
The password box seems to be limited to 8 characters. I have passwords much longer than this.
Comment 1 André Klapper 2011-06-19 15:04:19 UTC
What are exact steps to reproduce this?
Comment 2 Dan Scott 2011-06-19 15:17:22 UTC
Try to type a password longer than 8 characters into the password box. The box will not accept characters after the 8th.
Comment 3 linux user 2011-07-07 11:58:57 UTC
I have also seen this restriction of 8 characters in the VNC password field. The machine I connect to is configured to use a longer password.

While reading elsewhere on the web, someone pointed out that the VNC standard was for 8 character passwords. But for the sake of better security many people use longer passwords, and it would be nice even if you could provide a configuration option to allow longer passwords (with the default being off for standards compliance).

I hope we can see a fix soon. Thanks!
Comment 4 Daniel P. Berrange 2011-07-07 12:23:42 UTC
> The machine I connect to is configured to use a longer password.
...
> But for the sake of better security many people use longer passwords,

If you're using the standard "VNC Authentication" scheme, then this is not doing what you think and has *zero* security benefit

The VNC server may not have complained at your longer password, but it will be ignoring any characters in your password beyond the 8th byte, because the auth scheme is based on DES with a fixed length 8-byte key.

eg, You may well have set a password on the server

  'Thequickbrownfoxjumpsoverthelazydog'

but you'll find you can successfully login to the server by entering any of

  'Thequick'
  'Thequickbrownfoxjumpsoverthelazydog'
  'Thequickrandomgarbage'


NB, longer passwords *are* useful if you're connecting to a VNC server than uses one of the following authentication protocol extensions:

  - SASL (in QEMU)
  - MSLOGON (In some builds of VNC for Windows)
  - ARD  (OS-X remote desktop)

So vinagre should allow characters > 8 bytes for these auth protocols extensions. For regular VNC auth though, it is totally useless and will not add any security benefit
Comment 5 André Klapper 2012-03-23 09:20:37 UTC
Bug 666598 includes a patch for this.
Comment 6 André Klapper 2012-03-23 09:20:41 UTC
*** Bug 672667 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2012-03-23 09:20:47 UTC
*** Bug 666598 has been marked as a duplicate of this bug. ***
Comment 8 pao1250 2012-06-11 00:48:53 UTC
So if I want to connect to an OS X remote desktop with a password longer than 8 characters I am sh.t out of luck?
Comment 9 Brock Tice 2012-12-10 23:52:28 UTC
I rebuilt this package on Debian Wheezy/Sid (version 3.4.2-1) with the patch in bug 666598, and have verified that it works just fine to connect to OS X VNC servers, which use a different authentication mechanism. Please accept the patch provided in 66598. It will fix vinagre for use with OS X. I will attach my .deb as well for testing.
Comment 10 Brock Tice 2012-12-10 23:57:18 UTC
I was unable to attach the .deb, but it can be downloaded at http://brocktice.com/Files/vinagre_3.4.2-1_amd64.deb
Comment 11 Thorsten Behrens 2013-08-16 16:36:09 UTC
For the record, this has just costed me 2 hours of figuring out. Failing a conditional password length limit, just increasing the limit globally like the proposed patch appears to be *much* better than the current frustrating status quo (well, frustrating for me as a user. falling back to gvncviewer for the moment. ;))
Comment 12 Thorsten Behrens 2013-08-16 16:39:05 UTC
Also, I presume the status is very well confirmed by now? ;)
Comment 13 David King 2013-09-23 15:48:15 UTC
*** Bug 708635 has been marked as a duplicate of this bug. ***
Comment 14 Daniel Quinn 2013-12-26 10:26:09 UTC
Please consider this bug "confirmed".  Logging into Mac VNC servers is basically impossible so long as the password is limited to 8characters like this, which basically means that all the Mac people at my office get to say: "Why do you even use Linux?  It never works!"

My system:
  Gentoo Linux
  Gnome 3.10.2
Comment 15 Hashem Nasarat 2014-03-28 14:07:11 UTC
xtightvncviewer works well as an alternative since bugs in vinagre don't seem to be getting fixed
Comment 16 André Klapper 2014-03-28 14:12:41 UTC
(In reply to comment #15)
> since bugs in vinagre don't seem to be getting fixed

4 Vinagre bugs got fixed in last 90 days - https://bugzilla.gnome.org/buglist.cgi?chfield=bug_status;chfieldfrom=-90d;chfieldvalue=RESOLVED;bug_status=RESOLVED;bug_status=VERIFIED;resolution=FIXED;product=vinagre

Hashem: If you have more spare time to work on this software project than the volunteer developers that you criticize, get involved and provide patches.
Comment 17 Hashem Nasarat 2014-03-28 14:16:28 UTC
Andre, I did provide a patch in https://bugzilla.gnome.org/show_bug.cgi?id=708635 which was ignored without any response. Should I repost that same patch in this ticket?
Comment 18 David King 2015-01-14 21:52:32 UTC
*** Bug 742931 has been marked as a duplicate of this bug. ***
Comment 20 André Klapper 2018-09-09 06:48:38 UTC
*** Bug 522476 has been marked as a duplicate of this bug. ***
Comment 21 André Klapper 2018-09-09 06:49:52 UTC
Also see bug 747296; bug 793075
Comment 22 André Klapper 2019-10-19 11:58:27 UTC
https://gitlab.gnome.org/GNOME/vinagre/issues/16
Comment 23 André Klapper 2020-11-13 17:30:22 UTC
Obsoleted by https://gitlab.gnome.org/GNOME/vinagre/issues/16