strongbox-password-safe / Strongbox

A KeePass/Password Safe Client for iOS and OS X
https://strongboxsafe.com
GNU Affero General Public License v3.0
1.34k stars 102 forks source link

[BUG] yubikey 5C NFC does not work. #773

Closed Dividedby0KSJ closed 2 months ago

Dividedby0KSJ commented 8 months ago

Preliminaries I have ensured that:

Versions On iOS (please complete the following information):

Strongbox Version

Describe the bug Cannot use Yubikey 5C NFC to make a database or to add the key to an existing database. On iPhone with NFC it spits out an error (see attached image) on iPad it just says insert key even after the key has been inserted.

To Reproduce Steps to reproduce the behavior:

  1. Create a database using hardware key.
  2. Try and use yubikey 5C NFC with ether NFC on any port, or "lightning" on any port.
  3. Error / No response

Expected behavior That it would accept the key and use it to encrypt/decrypt the database.

Screenshots & Recordings image

image

Additional context The yubikey works fine with my iPad on other things like Google.

Dividedby0KSJ commented 8 months ago

Additional screenshot from iPad

image

strongbox-mark commented 8 months ago

Hi, have you seen our guide on configuring your YubiKey:

https://strongbox.reamaze.com/kb/yubikey/how-do-i-create-a-yubikey-protected

Is the device programmed for HMACSHA1 CR on one of its slots?

fc757 commented 2 months ago

So, I'm not sure if this is the reason you are/were having that problem. But figured I throw this out there just in case. I was running into something similar when trying to unlock my database. It had been a while and I was on a new device, so I had to set up all the stuff again.

I was using NFC Slot 1 and my HMACSHA1 CR was on NFC Slot 2. Fred Sanford came down from the heavens and looked me right in the eye and said... `you big dummy'.