-
Notifications
You must be signed in to change notification settings - Fork 123
crypto plugin: master password is lost on umount #898
Comments
This is a follow-up task to #892 . |
So you want to store the password twice during mount? An alternative is that we add hooks for unmounting plugins and then ask the user if he/she actually wants to lose the data. I am not sure if this actually improves usability, though. |
A special backup-place that can be used by Idea: The issue, however, does not have the highest priority. |
A very simple solution would be that umount moves all keys to |
@petermax2 Any progress here? Would be great to see better usability for the crypto plugin! |
Well, not yet. 😺
I agree, but can I access the mount-point of the plugin in |
It is maybe not the prettiest solution, but
|
What do you think about having a plugin configuration parameter for the plugin that specifies a path where the "master password" should be stored. If it is not provided, we use the default (i.e. the plugin configuration) but we could specify some other location. Thus we should be able to restore the keys after re-mounting. |
I am afraid the whole mounting depends on that the master-password is exactly where it is right now. If it is not there, the plugin will not find it during initialization (opening). And there is currently also no way for the plugin to write somewhere it should not write to (outside of the keys it is responsible for). |
This issue is a really tricky one.
Isn't it possible to get stuck in an infinite loop if I open KDB for the same mount-point as the plugin currently handles?
Fully agreed. 😕 |
If it is done within plugins it would be like this. Within checkconf, however, it might work. (Iirc |
I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue. |
I closed this issue now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. |
Situation / Problem
The plugin configuration holding the encrypted master password is lost on
kdb umount
.Example
Expected Behaviour
The encrypted master password can be restored on
kdb mount
.The text was updated successfully, but these errors were encountered: