1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

net/vinagre: patch for support passwords more than 8 chars

- support ARD (OS-X remote desktop)
- increase the lenght of passwords which can be entered from 8 to 32

The upstream issue with 9 years discussion:
        https://bugzilla.gnome.org/show_bug.cgi?id=652334
Idea of the patch with description:
        https://bugzilla.gnome.org/show_bug.cgi?id=666598
The max length 32 from here:
        https://www.mac-forums.com/threads/maximum-length-of-passwords.317066/

PR:		248196
Submitted by:	VVD <vvd@unislabs.com>
Approved by:	desktop
This commit is contained in:
Tobias C. Berner 2020-08-02 09:58:14 +00:00
parent 2c4b314b1a
commit fb0a1b6f13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543941
2 changed files with 21 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= vinagre
PORTVERSION= 3.22.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3

View File

@ -0,0 +1,20 @@
Increase the accepted length of passwords.
- VNC only accepts 8 characters; however some impelementations allow for longer
passwords to be used. Increase the passwords that can be entered to 32 chars.
https://bugzilla.gnome.org/show_bug.cgi?id=652334
https://gitlab.gnome.org/GNOME/vinagre/-/issues/17
https://bugzilla.redhat.com/show_bug.cgi?id=1767963
--- plugins/vnc/vinagre-vnc-tab.c.orig
+++ plugins/vnc/vinagre-vnc-tab.c
@@ -508,7 +508,7 @@
{
host = vinagre_connection_get_best_name (conn);
if (!vinagre_utils_request_credential (window, "VNC", host, NULL, NULL,
- FALSE, need_username, need_password, 8, NULL, &username, &password,
+ FALSE, need_username, need_password, 32, NULL, &username, &password,
&save_in_keyring))
{
vinagre_tab_remove_from_notebook (tab);