-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Support yubikey challenge response #8
Comments
This is not a priority because I have to solve bugs and put more basic features but why not in the future. |
For reference KeePassXC implements this on the desktop and if you want code for Android OpenKeyChain supports YubiKey (in a different use case for PGP keys, but well… it's something. |
Keepass2android has a working implementation with calling the yubichallenge app |
Hmm… don't know whether depending on another app is so good. At least it would be nice to not only support this one vendor, but well… future plans anyway. But thanks FYI. |
If there is an implementation like in openkeychain even better, sure |
This feature would be great and please compatible to the KeepassXC implementation. |
might as well use ykdroid instead of the yubichallenge app as keepass2android does for a while now. Just to update on my first post |
Is this still a planned feature? |
Yes, I'm just going to release the final 2.5 version before starting big jobs like this issue. I must also look at the other existing physical keys (open source) and study the functioning of KeePassXC. |
Is there any forecast which version could be have finally yubikey support? |
I have not yet looked at the technical operation of the yubikey for lack of time because of new bugs and more important features to implement, but if a technician is motivated to make a pull request, it will be very nice. |
I bought a Yubikey4 and an Onlykey to be able to test, I still have to study how the challenge response works with these keys and think about the architecture. |
Hi there! I'm buying KeePassDX Pro now to show my support for this issue! Thanks for your work. |
I would like do the same but I am using f-droid (no Pro available). Any update on Yubikey support (like KeePassXC Desktop). I would also like to do a donation for this new feature 🥇 . |
All my BAT to you @J-Jamet ;) |
Bought KeePassDX Pro and would love to see this feature. |
Would it be possible for the biometric unlock function to not require having the YubiKey inserted? I kinda wanted it so that my YubiKey is only required when trying to open my password database for the first time. |
Key Driver crashes or throws error when trying to use a Yubikey via NFC. However, I was able to open my database when connected via USB using an adapter. Not sure if NFC not working is a bug or is it just me who doesn't know how to hold the key (I'm fairly new YubiKey user). I also would appreciate an option for biometric unlock function to not require Yubikey challenge-response, unless the user wants to write changes into the database. |
In this case, there is no point in using a Yubikey : #8 (comment)
https://gitlab.com/kunzisoft/android-hardware-key-driver/-/issues Download the YkDroid mode while waiting for the update. #8 (comment) |
Thank you very much! Now it works without any issues via both USB and NFC. |
Key Driver is working great for me. KPDX build 3.5.0Beta02. It's as fast as on desktop. Normally using these keys on phone is super tedious and not nearly as fast as totp because it's a 3-step process.
With the driver, the's only 1 prompt. I love it! |
Google Pixel 6P: The provided YkDroid-Mod works flawlessly via NFC, while the Key Driver just vibrates as soon as I swipe my key. No interesting stuff from logcat, but I can provide the logs if required. Either way, thank you so much for your efforts! |
Hi, currently not working on a Galaxy S22 Ultra. |
I'm also still having problems with the new 0.1.5 I've disabled my yubico authenticator before testing to exclude the automatic app switching as a possible cause. If I have my yubikey already attached the key driver asks me it touch the button and then tells me there was a problem and I should reconnect my yubikey. If I reconnect it or if it was not already connected I get the prompt to allow access to the yubikey and as soon as I confirm this the app crashes with the following error:
|
Can you test the latest release 0.1.7, it should solve the crash problems and allow better error handling. It is now possible to manually restart an NFC scan. |
Hey! just tested it and everything seems to load, no crashing, but then it tells me that it could not read credentials. not sure what the issue is but I can get a log here in a minuite |
The new version works fine for me as well, tried unlocking the database a couple of times no problems or crashes so far. I assume the key driver will also be added to fdroid once it reaches a stable version? |
oops, Messed up, did not notice we were using KeepassXC format rather than a sperate database.xml format, which is what keepass normal uses. Everything seems to be working NFC and USB. |
Indeed |
The new 0.1.7 version definitely solved all my crashing issues. Amazing job! |
I installed KeePassDX and Key Driver to try with my Yubikey 4. It is working, though I noticed it works better if I wait until Key Driver prompts for the yubikey, to plug the yubikey in. Then after plugging it in, it asks for permissions, and it works. If I try to open the database with the yubikey already plugged in, it fails to open the first time, then asks for permissions, and works the second time. KeePassDX 3.5.0 Beta01 from F-Droid and Key Driver 0.1.7 from Play Store. |
Thx @moya2162 & @dave0003 for your feedback, it's very helpful in identifying and solving problems. I'll add these bugs to the kanban so I can deal with them. https://github.com/Kunzisoft/KeePassDX/projects/43 |
Just wanna add my (positive) experience giving kpdx beta and keydriver a try. I got a yubikey just this week, to try the experience myself and figure out how well I can use it for what things. Compared to webauthn under windows and the different official yubi management apps, making a yubikey-locked db (usb+touch) under keepassxc and then opening it on my phone with nfc has worked without a single surprise or error. Very nice, definitely helps make me feel like I could open up to relying on these gadgets soon without worrying much about support issues. Thank you for the great work, buying keepro as we speak 👍 |
@moya2162 The problem is normally fixed in version 2.5.0beta03, there is a better management of asynchronous events. |
@J-Jamet So i installed 3.5b3 and tried to unlock my database and it appears the prompting of the key driver works every time, but scanning (nfc) of my yubikey fails every time. I scan (nfc) my yubikey but the key driver doesn't see it. I get a prompt to open a web link to yubikey's key verification page (standard). Using an OTG cable the yubikey works, but not ideal. I did a fresh install, wiped app data and cache, uninstalled 3.5b1 (fdroid) and installed 3.5b3 (git). EDITL*** Nevermind this post, See post below for explanation! |
The problem comes rather from the driver / NFC reception. I did not touch this part and it works on 3 of my NFC phones. |
False alarm! I have a tasker profile that automatically turns on NFC when keepassdx and key driver are open and turns it off when closed. When i installed the new app it wasn't picked up by tasker so NFC was off when keepassdx was launched. NFC only turned on when key driver was open but at that point it wouldn't work. NFC needs to be on when in keepassdx. If not it fails. All worked on my end now! |
Stable release 3.5.0 done, the driver remains in beta version until finalization but remains functional. |
Nice. Many thanks. |
After clicking "OPEN" I get the prompt to swipe the NFC device, then I'm asked to select a default app. I see only web browser, not the keyDriver app. What am I missing? I installed 0.1.7 |
Duplicate #1504 |
Would be nice if the app would support challenge response via the yubichallenge app
The text was updated successfully, but these errors were encountered: