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 189379 - Error Message: Your previously stored passwords cannot be decrypted.
Summary: Error Message: Your previously stored passwords cannot be decrypted.
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 07:58 UTC by daniela.waranie
Modified: 2010-12-08 09:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniela.waranie 2010-08-11 07:58:08 UTC
Full error message:
"Your previously stored passwords cannot be decrypted. Do you wish to forget all existing passwords and start with a fresh keyring?"

Background info:
I installed Netbeans on my usb memory stick (drive s:) and configured netbeans to use a specific directory on that drive ("S:\PortableApps\NetBeans UserDir") as user dir. 
The configuration takes place in "S:\PortableApps\NetBeans 6.9\etc\netbeans.conf" by this line: 'netbeans_default_userdir="S:\PortableApps\NetBeans UserDir"'.

When i use the usb memory stick on:
a) Windows XP SP3 32-bit and
b) Windows 7 Ultimate 32-bit 
i always get the above message, each time i switch between the systems (the stick is always connected as drive s:).

Where is the keyring stored - in the above user dir or on the local filesystem?
Is the decryption "function" part of netbeans or is netbeans using system features for that?
Comment 1 Yulia Novozhilova 2010-12-07 16:43:45 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).

Try to pass -J-Dnetbeans.keyring.no.native=true to use the
platform-independent keyring provider using a master password and the user directory.
Comment 2 Yulia Novozhilova 2010-12-08 09:57:17 UTC
Closing as invalid since it is not a bug but expected behavior.