[ 
https://issues.apache.org/jira/browse/NETBEANS-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Riksoft updated NETBEANS-4150:
------------------------------
    Description: 
Netbeans asks for a master password once per session, every time I have to 
access something that uses a password.

Example: in a PHP/html project, rigth click on a file -> Synchronize.

Example: in a PHP/html project, right click on the project name -> properties 
-> Run configuration -> "Manage" button

A workaround is pressing ESC to skip the windows, however is quite annoying.

I've tested the keyring with
{code:java}
gdbus call --session --dest org.gnome.keyring --object-path 
/org/freedesktop/secrets/collection/login --method 
org.freedesktop.DBus.Properties.Get org.freedesktop.Secret.Collection Locked

ir returns
(<false>,)
{code}
and
{code:java}
dbus-send --print-reply --dest=org.gnome.keyring 
/org/freedesktop/secrets/collection/login org.freedesktop.DBus.Properties.Get 
string:org.freedesktop.Secret.Collection string:Locked

It returns
method return time=1586539994.076230 sender=:1.13 -> destination=:1.222 
serial=6 reply_serial=2
   variant       boolean false
{code}
The same Netbeans, same version, same config, same metadata, works like a charm 
in Mint 18 (based on Debian 9). So the problem could be Debian 10 dropping 
support for some keyring libs. If that's the case, I suppose the same problem 
is on any other Debian 10 based distro.

I've added

-J-Dorg.netbeans.modules.keyring.level=0

in the NB config and I've discovered the problem is the missing lib 
*libgnome-keyring.so* that has been deprecated. I suppose the only way to go is 
to fix Netbeans to use the new libsecret instead.

  was:
Netbeans asks for a master password once per session, every time I have to 
access something that uses a password.

Example: in a PHP/html project, rigth click on a file -> Synchronize.

Example: in a PHP/html project, right click on the project name -> properties 
-> Run configuration -> "Manage" button

A workaround is pressing ESC to skip the windows, however is quite annoying.

I've tested the keyring with
{code:java}
gdbus call --session --dest org.gnome.keyring --object-path 
/org/freedesktop/secrets/collection/login --method 
org.freedesktop.DBus.Properties.Get org.freedesktop.Secret.Collection Locked

ir returns
(<false>,)
{code}
and
{code:java}
dbus-send --print-reply --dest=org.gnome.keyring 
/org/freedesktop/secrets/collection/login org.freedesktop.DBus.Properties.Get 
string:org.freedesktop.Secret.Collection string:Locked

It returns
method return time=1586539994.076230 sender=:1.13 -> destination=:1.222 
serial=6 reply_serial=2
   variant       boolean false
{code}
The same Netbeans, same version, same config, same metadata, works like a charm 
in Mint 18 (based on Debian 9). So the problem could be Debian 10 dropping 
support for some keyring libs. If that's the case, I suppose the same problem 
is on any other Debian 10 based distro.

I've added

-J-Dorg.netbeans.modules.keyring.level=0

in the NB config and I've discovered the problem is the missing lib 
libgnome-keyring.so that has been deprecated. I suppose the only way to go is 
to fix Netbeans to use the new libsecret instead.


> IDE not using Keyring on Debian Buster
> --------------------------------------
>
>                 Key: NETBEANS-4150
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4150
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - UI, php - FTP Support, platform - Keyring
>    Affects Versions: 11.2, 11.3
>         Environment: Debian Buster 64 bit, tested with:
> - XFCE
> - Mate
> - Gnome classic
> - Gnome Xorg
> - Gnome
>            Reporter: Riksoft
>            Priority: Major
>
> Netbeans asks for a master password once per session, every time I have to 
> access something that uses a password.
> Example: in a PHP/html project, rigth click on a file -> Synchronize.
> Example: in a PHP/html project, right click on the project name -> properties 
> -> Run configuration -> "Manage" button
> A workaround is pressing ESC to skip the windows, however is quite annoying.
> I've tested the keyring with
> {code:java}
> gdbus call --session --dest org.gnome.keyring --object-path 
> /org/freedesktop/secrets/collection/login --method 
> org.freedesktop.DBus.Properties.Get org.freedesktop.Secret.Collection Locked
> ir returns
> (<false>,)
> {code}
> and
> {code:java}
> dbus-send --print-reply --dest=org.gnome.keyring 
> /org/freedesktop/secrets/collection/login org.freedesktop.DBus.Properties.Get 
> string:org.freedesktop.Secret.Collection string:Locked
> It returns
> method return time=1586539994.076230 sender=:1.13 -> destination=:1.222 
> serial=6 reply_serial=2
>    variant       boolean false
> {code}
> The same Netbeans, same version, same config, same metadata, works like a 
> charm in Mint 18 (based on Debian 9). So the problem could be Debian 10 
> dropping support for some keyring libs. If that's the case, I suppose the 
> same problem is on any other Debian 10 based distro.
> I've added
> -J-Dorg.netbeans.modules.keyring.level=0
> in the NB config and I've discovered the problem is the missing lib 
> *libgnome-keyring.so* that has been deprecated. I suppose the only way to go 
> is to fix Netbeans to use the new libsecret instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to