This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189161 - NetBeans 6.9 requests to open a digital wallet on startup
Summary: NetBeans 6.9 requests to open a digital wallet on startup
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 12:30 UTC by swachter1
Modified: 2011-01-06 09:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log-File of the NetBeans startup access to KWallet is logged (76.04 KB, text/x-log)
2010-08-04 12:54 UTC, swachter1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swachter1 2010-08-03 12:30:46 UTC
Every time NetBeans 6.9 is started it requests to open a digital wallet.

When I disable the use of KWallet then each time NetBeans is started the "enter master password dialog" is presented.

When I enable KWallet then KWallet presents a password dialog the first time NetBeans is started. When NetBeans is started a second time during the same KDE session then the password dialog does not appear again.

Is it really necessary that NetBeans tries to open a digital wallet. I have no passwords to store in the wallet. I am the only user of the computer and I use SVN to store my SVN passwords.

It is annoying to enter an additional password for no apparent reason.
Comment 1 Jesse Glick 2010-08-04 12:33:06 UTC
(I don't maintain the KWallet integration.)

-J-Dorg.netbeans.modules.keyring.level=ALL would show (in messages.log) what passwords are being looked up.
Comment 2 swachter1 2010-08-04 12:54:27 UTC
Created attachment 101190 [details]
Log-File of the NetBeans startup access to KWallet is logged
Comment 3 swachter1 2010-08-04 13:02:33 UTC
It seems that the keyring is accessed by the subversion module. However, there should be no real need for the subversion module to access the keyring because in my situation the svn passwords are managed by subversion itself.

(The subversion module of NetBeans 6.8 did not have this behaviour. The KWallet does not contain anything related to subversion. After the unnecessary keyring access the subversion module works fine. This is another indication that the keyring access is unnecessary.)
Comment 4 Yulia Novozhilova 2010-12-27 16:01:12 UTC
Currently native keyrings are used where possible for the best user experience:
Gnome Keyring, KDE KWallet, Mac OS X Keychain, 
CryptProtectData function on Windows
(http://msdn.microsoft.com/en-us/library/aa380261%28VS.85,printer%29.aspx).

In case if you don't want to use Kwallet, please, pass -J-Dnetbeans.keyring.no.native=true to use the
platform-independent keyring provider.

According to the log, KWallet didn't work as expected on your system (this bug is already fixed http://svn.reviewboard.kde.org/r/5885/diff/). So it should work correctly on the systems containing the fix.
I will also integrate a check for this bug in KWalletProvider to avoid Kwallet usage in this case.
Comment 5 Yulia Novozhilova 2010-12-27 16:18:44 UTC
http://hg.netbeans.org/main/rev/2d0f6164057b
Comment 6 Quality Engineering 2011-01-06 09:09:47 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2d0f6164057b
User: Yulia Novozhilova <ynov@netbeans.org>
Log: #189161 -  NetBeans 6.9 requests to open a digital wallet on startup