Forum Discussion

XIII's avatar
XIII
Super Contributor
2 years ago

Bug: no keyboard to type in PIN code of YubiKey 5C NFC (when using USB-C)

Recently I bought a new iPhone. Since I have 2FA enabled for 1Password I had to insert my YubiKey 5C NFC to prove it's me using this new iPhone. When I inserted the key in the USB-C slot, a dialog appeared in which I had to type the PIN code, but when I tapped on the input field no keyboard appeared to type that code...

(This may as well be an iOS 17 bug?)


1Password Version: 8.10.18 (Beta)
OS Version: iOS 17.0.3

7 Replies

  • GreyM1P's avatar
    GreyM1P
    Icon for 1Password Team rank1Password Team

    dragon1

    Thanks for the update here. Where YubiKeys go a bit beyond the standard of "press the button, get a code" it can introduce some complication as you've seen. Glad you got things working. :)

  • dragon1's avatar
    dragon1
    Dedicated Contributor

    Just looked into it and found out, that it has something to do with new iOS/macOS versions and/or with Yubikey. Some apps didn't work anymore (1Password for example and Apple itself). Had to reset the stick, added the accounts again and now it's back working.
    But really stupid behavior as you could really loose you login data in some cases.
    My trust into Yubikeys just went down a lot.

  • dragon1

    Thank for the report. Are you seeing the same issue with other apps as well? Or just the 1Password app?

    I look forward to hearing from you.

    -Dave

  • dragon1's avatar
    dragon1
    Dedicated Contributor

    For me it's not about the keyboard. It more about a PIN code loop I get, when I try to use the key within iOS.
    Even if I enter then correct PIN it asks again to bring the key close to the phone and asks again for my PIN.
    It's not a problem of 1Password - more like Apple and iOS17.

  • XIII's avatar
    XIII
    Super Contributor

    I have not used the YubiKey with any other App on the phone yet…

    (and can’t think of one right now to test it with)

  • bugwhat's avatar
    bugwhat
    Super Contributor

    I use a Yubi key almost just like yours.
    If it is NFC capable you do not have to use the usb-c with a newer iPhone especially.
    So you can use NFC the same way you would use a credit card with a chip in it at a walgreens checkout terminal similar wireless technology.
    Make sure you registered your hardware key for 1Password first.
    Try signing in at 1Password website first to see if it works or setup already.
    If it ask you to select a passkey or Hardware security key their is a bug on all websites currently using a hardware security key to sign-in having to do with iOS17, so instead when asked for the key hold the key close to the back top of your iPhone and it should work without selecting an option.
    When that bug gets fixed you can go back to selecting which option to sign in or maybe this is not a bug and it will be the new way.
    If your trying to use the hardware security key for the app and it want take nfc then yeah the usb-c would be the alternative option.
    If using the usb-c when if it ask for a code, long press hard with your thumb on the y logo on your key at same time.
    That way may not work either.
    I have never had to use usb-c, but I read you might have to long press the y logo not sure if that is true or not.

  • 1p_jac's avatar
    1p_jac
    Icon for 1Password Team rank1Password Team

    Hi XIII,

    I believe this prompt in question asking you to enter your YubiKey PIN code is controlled by iOS itself and 1Password only receives the finished response from the challenge. It could be that iOS 17 is detecting the security key as a keyboard (technically not incorrect) and doesn't show the on-screen keyboard, but obviously something is not right there.

    Do you happen to know if this issue is also happening on other apps on your new iPhone or potentially on your old iPhone not running iOS 17?