PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.85k stars 392 forks source link

[QUESTION] Yubikey NFC + OTP #2681

Open paxis2 opened 1 month ago

paxis2 commented 1 month ago

How do I get Yubikey to work for OTP using NFC? I have set this up on PC and it works. I am on Keepass2Android version 1.11-r0. When I open the database, it says it requires the Yubiclip app.

schlomie commented 1 month ago

Install ykDroid from FDroid.

paxis2 commented 1 month ago

Install ykDroid from FDroid.

I already have this installed. Are there specific settings required? When I tap Yubikey in Keepass2android, it just shows me options to open in different browsers.

schlomie commented 1 month ago

When you are unlocking your database, it lets you select the master key type. This dropdown defaults to Password only. To make use of ykDroid, select Password + Challenge-Response for Keepass XC (or whichever one is suitable or your use case).

Once you enter your password and click unlock, it will then prompt you to touch your yubikey to the back of your phone.

paxis2 commented 1 month ago

20241010_121853

Yup, that is what I did. When I tap to the back of the phone for NFC, this pops up. I inserted Yubikey into my phone via USB and that works fine, so it is something to do with NFC. For background, I also have Yubico Authenticator on my phone for other accounts.

schlomie commented 1 month ago

Interesting. You have the Yubikey NEO? I have a YK5 - maybe that is the difference. I dunno. Sorry!

paxis2 commented 1 month ago

Yes I use a Yubikey 5 NFC. Did you have Yubico Authenticator installed? Wonder if that is causing the issue for me.

zkzkzk2015 commented 1 week ago

I am using Yubikey Authenticator and Yubikey 5 NFC. It is working flawlessly at least for a year on my OP 9 Android 14.