Can't login to Android app with yubikey
Pre-checks
- This is not a feature request. Existing functionality does not work as intended, not missing functionality. I will request features via discussions, reddit or support
- I've searched and did not find a similar issue.
- My report does not have personal or private information like email address or recovery code
App version
360.260921.0
OS version
Android 17, GrapheneOS Build 2026092500
What happened?
Steps to reproduce
- Open app, enter credentials
- Click Add account
- Click to use security key
- (opens default browser, here Vanadium)
- Passkeys prompt appears, "No passkeys available". Click "use a different device".
- Click Ok on the prompt that says "Allow Google Play services to access Yubikey OTP+FIDO+CCID".
- Tap yubikey
- I am sent back to the Tuta app, at the same prompt asking me to "click to use security key" as if nothing happened. Eventually that prompt disappears and I get an error that says invalid login credentials.
Expected behaviour is to have been logged into my account once I tap the yubikey. On step 5, I also tried using NFC.
Other context
I have had this issue for years, ever since Passkeys were added to Android, and I reported issues logging in on both desktop and android browser here https://github.com/tutao/tutanota/issues/6669
I recently needed to install Tuta in a new profile. I still have Tuta in my old profile, with accounts added, so I never need to use my security key.
Because I have attempted to troubleshoot this in the past, I remember needing to enable two things; Javascript JIT on Vanadium and some weird permission for Google Play services like Music and audio or Photos and videos which I discovered through trial and error. This also required me to have Google Play store installed which, on GrapheneOS, is optional. Today I tried logging in using the F-Droid version of Tuta, on a profile where Google is not installed, and I'm unable to login though the process is a little different. I believe the error looked similar to this one on reddit, I can provide a log for it if needed.
I've been here before but I cannot remember how I got this working the last time. The last time I reported this was on the Tuta subreddit but my post is likely gone.
- A reddit comment for a similar issue suggested "download the Yubikey manager app fromYubico and check if the NFC interface for your key is activated". Mine is activated. Slot 1 is configured for static password while slot 2 is configured for challenge-response. The key is a Yubikey 5 NFC.
- I was able to login using the same key on a different profile as recently as a little over 1 year ago.
- I am able to login to Proton Mail which uses the same yubikey and android profile.
Source: tutao/tutanota