Storing password in keepass in intellij gateway

已回答

I am storing the password of my plugin in KeePass. But when I restart the project in IntelliJ gateway ( I am using ssah to access the project on  my VDI), the password in keypass gets deleted. Please help.

0

I think this question may not be clear. I am using intellij gateway to ssh connect to another desktop. I installed a plugin in which I am storing passwords using PasswordSafe.getInstance().set. Passwords are stored using keepass. When I close the connection and start it again, it doesn't fetch that password and I have to store it again in order to use my plugin. This is not the case if I am just using Intellij idea. 

0

Investigating with responsible devs..

0

In passwords in settings, there is a location where kdbx file is mentioned where passwords are stored. When I close the connection and start it again, the kdbx file is deleted and new one is made, hence the password cannot be fetched. Please look into it. Thank you!

0

Are you able to share the plugin in question? Or a minimum reduced sample that uses the functionality?

Possibly related issue: https://youtrack.jetbrains.com/issue/GTW-3823/Cannot-check-Save-Password-for-SSH-configuration

0

Hello, I raised an issue in youtrack with some code to make you understand it better. Please look into it. 

https://youtrack.jetbrains.com/issue/GTW-8190/Passwords-stored-in-KeePass-are-deleted-when-Gateway-is-disconnected.

0

In my case this issue pops up using the CodeGPT plugin which tries to save third party API keys in a KeePass file (which is then deleted as part of the temporary working directory of the remote development environment), but having it attempt to use the same global KeePass file as the non-remote environment has it request a master password which it then forgets between restarts.

0

请先登录再写评论。