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

Google Drive (restricted) doesn't work with Yubikey #439

Open
siodor opened this issue Nov 17, 2024 · 1 comment
Open

Google Drive (restricted) doesn't work with Yubikey #439

siodor opened this issue Nov 17, 2024 · 1 comment
Labels

Comments

@siodor
Copy link

siodor commented Nov 17, 2024

Describe the bug
As many others I had to change to "Google Drive (restricted)" after Google changed something on their side and invalidated my previous acces token.

I have as a second factor for the KeePass DB whic is a YubiKey. Unfortunately this doesn't work any more because the new way of accessing the Google Drive files prevent KeeAnywhere plugin from reading the XML file which accompanies the KDBX file.

To Reproduce
Steps to reproduce the behavior:

  1. Manually download KDBX and XML file from Google Drive to local folder
  2. Open KDBX file
  3. Enter Master password and choose 2FA provider "Yubikey challenge-response", click OK, touch Yubikey, the password DB opens.
  4. File => Save As => Save to Cloud Drive => Choose previously setup Google Drive account, choose filename, click OK
  5. Only the KDBX file gets saved. The XML file is missing on the Google Drive root directory.
  6. When manually placing the XML file there the KeeAnywhere plugin can't read it when opening the KDBX from Google Drive. It gives error "Error: file gdrive-r///Username/PasswordDB.xml could not be read correctly. Is the file corrupt? Reverting to recovery mode"

Expected behavior
KeeAnywhere should save both, KDBX and XML file to Google Drive

Screenshots
None

Environment:

  • OS and Version: Windows 10 22H2
  • KeePass-Version: 2.57.1 (64-bit)
  • KeeAnywhere-Version: 2.1

Additional context
This worked in the past when KeeAnywhere was able to read any file in my KeePass folder on Google Drive

@siodor siodor added the bug label Nov 17, 2024
@Jackabomb
Copy link
Contributor

I don't have one of these devices to test with, but one thing I can think of to check: make sure your xml file does not already exist in the root of your drive before you press save as in step 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants