Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » MacOS Secure Storage keychain Name change
MacOS Secure Storage keychain Name change [message #1857571] Wed, 15 February 2023 14:47 Go to next message
Mark Lawrence is currently offline Mark LawrenceFriend
Messages: 28
Registered: February 2023
Junior Member
Not necessarily an oomph thing, apologies, but I've created a new Oomph Product/Project combo for my team for an Eclipse Instance to live alongside existing Eclipse installations they currently have.

I'm getting an issue on MacOS. The customised Installers I've created have an issue accessing any existing master password in the MacOS keychain, probably because they are unsigned etc. So I am recommending team members delete their existing secure_storage file as well as any equinox.secure.storage entry in keychain. As part of the Eclipse Installer steps, the passwords are entered as variables, and a new master password & secure storage is created.

This works great and their new IDE works perfectly with passwords remembered etc. However, existing IDEs are then broken trying to access the secure storage. They show a 'No password provided' popup, and its impossible to get it to store any passwords without deleting the secure_storage file and letting it recreate, and then the behaviour switches and new IDE shows the 'No password provided' popup.

So I've tried specifying a new new secure_storage file using eclipse.keyring in the eclipse.ini for the new oomph'ed IDE, however the problem still remains, it seems the old IDE lays claim to the equinox.secure.storage entry in the keychain & will change the password on creating the secure_storage file, blocking access for the other IDE.

Is there any way around this? Is it possible to influence the name used in the keychain entry so each installation can have its own master password, rather than they all use 'equinox.secure.storage'?
I've seen I could provide a password file for the secure storage, but I think that might be an insecure way of protecting passwords? Plus I don't really want to ask the team to create this file as part of their installation steps

[Updated on: Wed, 15 February 2023 15:46]

Report message to a moderator

Re: MacOS Secure Storage keychain Name change [message #1857574 is a reply to message #1857571] Wed, 15 February 2023 16:35 Go to previous messageGo to next message
Mark Lawrence is currently offline Mark LawrenceFriend
Messages: 28
Registered: February 2023
Junior Member
I almost thought I had a workaround for this, by letting oomph create the keychain master password and secure storage file, with the key being to set up the hint for later use. Then when using the old IDE again and receiving the 'No Password provided' error, to go into the secure storage preferences, then recovering the master password with the hint answers.

This does work briefly, the old IDE accesses the secure storage and can read the passwords and everything works, however, the recovered master password does not appear to be remembered. If I close down the older IDE and re-open, it cannot read the storage again & I would have to re-run the recovery.

So I'm still stuck with this.

[Updated on: Wed, 15 February 2023 16:37]

Report message to a moderator

Re: MacOS Secure Storage keychain Name change [message #1857578 is a reply to message #1857574] Wed, 15 February 2023 17:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
I don't have a mac, just a really old virtual box that probably doesn't work well anymore. So I'm not sure how I can help. :-(

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: MacOS Secure Storage keychain Name change [message #1857602 is a reply to message #1857578] Thu, 16 February 2023 15:01 Go to previous messageGo to next message
Mark Lawrence is currently offline Mark LawrenceFriend
Messages: 28
Registered: February 2023
Junior Member
So I think the issue is Oomph is installing everything inside the Eclipse.app bundle. I'm doing a codesign on it to regenerate the signature before first launch, however I can see the signature is immediately broken on loading the instance due to a large number of files being added in the Eclipse.app/Contents/Eclipse/configuration directory.
App notarization has been hardened in Ventura, so I think something is going on under the hood which causes the keychain & secure storage not to play well with each other as soon as the signature is broken.
Is there a way to get Oomph to use a custom 'configuration' directory outside of the Eclipse.app bundle in-order for the contents of the bundle to not change? I've tried adding -configuration to the Eclipse ini, but that only really starts working after the install.
Re: MacOS Secure Storage keychain Name change [message #1857608 is a reply to message #1857602] Thu, 16 February 2023 17:19 Go to previous message
Mark Lawrence is currently offline Mark LawrenceFriend
Messages: 28
Registered: February 2023
Junior Member
I think it looks the best way out of this is to add a path for osgi.configuration.area. in the config.ini during BOOTSTRAP
Previous Topic:Cannot create customised Installer for Windows with bundled JRE
Next Topic:Loading Eclipse plugins right from the Workspace
Goto Forum:
  


Current Time: Tue May 07 14:42:17 GMT 2024

Powered by FUDForum. Page generated in 0.03518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top