hi! I found two issues with key files while using the "enter masterkey on secure desktop" option:
- the 'create master key' dialog breaks, when you're trying to generate a key file: KeePass tells the user that key file generation cannot be done on the secure desktop, switches to normal, and correctly generates a key file - but afterwards it is not resuming the database/master key creation (ok, the dialog tells me, it cancels the current dialog in order to switch to the normal desktop, but I still would have expected the program to resume the former dialog afterwards - maybe no bug, but then a clearer hint would be great, sth. like 'you will have to re-start database creation and manually select the newly generated key file afterwards')
- when trying to use a previously generated key file in the 'create master key' dialog on the secure desktop, you cannot browse Onedrive folders (yeah, sure it's debatable, if saving a key file on a cloud storage is a good idea, but... it btw seems to work fine, when you generate the master key with a Onedrive file on normal desktop and switch to secure desktop afterwards ,-)
best regards!
PS: I wanted to assign a lower priority to this, as it's obviously a niche thing and there's an easy workaround with disabling/re-enabling the secure desktop setting... I hope, I was assuming correctly that 'prio 1' would be the highest?
Secure desktop has very limited access and onedrive is not part of that access.
Neither of these issues is a bug so a post in Open Discussion or Help would have been better.
cheers, Paul
Moving to open feature requests.
Thanks and best regards,
Dominik
Ticket moved from /p/keepass/bugs/2212/
I've now added support for generating a key file on the secure desktop.
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_240224.zip
The simple file browser dialog supports regular file paths only, and I'm currently not planning to add support for Shell-only folders. The real OneDrive folder can usually be found in the user profile directory.
Thanks and best regards,
Dominik