Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using WinHello with database saved in Google Drive locally synced folder #42

Closed
JohnLGalt opened this issue Feb 10, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@JohnLGalt
Copy link

Describe the bug
This just started happening today. I have been using WinHello with KeePass on a Windows 10 machine to use my WinX Hello PIN to log into my database, which has an extremely long and complicated Master PW only. I just updated KeePass (portable) from 2.43 to 2.44 and WinHello is breaking on that same database. If I export the database to another folder (not synchronized to Google Drive) WinHello works with KeePass 2.44 and that database with no issues. If I revert to KP 2.43, it works perfectly fine with the database in my Google Drive synced folder.

To Reproduce
Steps to reproduce the behavior:

  1. Open KP 2.44 (portable), open database in Google Drive folder
  2. Enter WinX Hello PIN
  3. See error (screenshot below)

Expected behavior
Obviously, I expect it to open my database as it always has.

Screenshot of error

KeePass WinHello plugin error #1

Additional context
I had a brainstorm to see if it would work from another folder, and v 2.44 + WinHello works as expected from another folder and an exported database, as well as a "save as" database to another location. I also noticed that reverting to KP 2.43 works with the original database that is saved in my Google Drive locally synced folder.

List of all plugins in KP:

KeePass WinHello plugin error #2
KeePass WinHello plugin error #3
KeePass WinHello plugin error #4

Windows 10 Version 1909 (OS Build 18363.592)

@JohnLGalt
Copy link
Author

I've since reverted to 2.43 (portable) to keep WinHello working as it should. I'm not sure where exactly the idiosyncrasy lies, as it could be:

  1. A Google Drive issue
  2. A KP 2.44 specific version issue
  3. An incompatibility b/w current WinHello and KP 2.44 only
  4. Something stupid on my system itself
  5. Something completely off the wall

I'm currently setting up a laptop on which I will test with both portable and installed version of KP 2.44 along with the same Google Drive locally synced file and see if the error manifests there as well or not.

@Angelelz
Copy link
Owner

I would say, before doing anything, head to options and delete WinHelloUnlock data for that particular database and create it again. Let me know if that helps.

@Angelelz Angelelz self-assigned this Feb 11, 2020
@Angelelz Angelelz added the bug Something isn't working label Feb 11, 2020
@JohnLGalt
Copy link
Author

JohnLGalt commented Feb 11, 2020 via email

@JohnLGalt
Copy link
Author

JohnLGalt commented Feb 11, 2020

Question: Could it have to do with the fact that I'm sharing the database through GDrive, and using on 2 physically different machines that both use the same Microsoft account to login (and thus using WinHello on both machines)?

Both machines are WinX current 1909 builds, one a laptop and one a desktop....

@Angelelz
Copy link
Owner

It shouldn't! I actually share all my databases with gdrive and use WinHelloUnlock in two machines. WinHelloUnlock data is saved locally, and is different depending on the machine.

Let me know if deleting the data and saving it again helps

@JohnLGalt
Copy link
Author

That seems to have fixed it this go around. I have no idea why it was even doing it in the first place.

Odd.

Closing this as fixed.

@JohnLGalt
Copy link
Author

Adding further comment - When I encountered the issue again (with the latest version) I was able to successfully delete the saved data and re-employ the hook and it is working perfectly again across both machines.

So, yes, deleting the saved data and saving it again works exactly as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants