question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Failed connecting to the YubiKey [0.4.1/Arch Linux]

See original GitHub issue

Seems related to #13, but neither reinserting nor rebooting resolve the issue.

 ; ykman --version
YubiKey Manager (ykman) version: 0.4.1
Libraries:
    libykpers 1.18.0
    libu2f-host 1.1.3
    libusb 1.0.21

 ; ykman info
Device name: YubiKey 4
Serial number: XX21078
Firmware version: 4.3.3
Enabled connection(s): OTP+U2F+CCID

Device capabilities:
    OTP:	Enabled
    U2F:	Enabled
    CCID:	Enabled
    OPGP:	Enabled
    PIV:	Enabled
    OATH:	Enabled

 ; ykman oath
Usage: ykman [OPTIONS] COMMAND [ARGS]...

Error: Failed connecting to the YubiKey.

gpg-agent is enabled, but stopping the systemd service doesn’t resolve the issue either.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
tchebbcommented, Oct 15, 2017

For future reference, the two needed packages on Arch for CCID communication are ccid and pcsclite. pcscd.socket also has to be running (started or enabled using systemctl, typically). python-pyotherside definitely isn’t related.

1reaction
dagheymancommented, Aug 17, 2017

Interesting. I’m guessing the other CCID commands doesn’t work neither? Like $ ykman piv info or $ ykman openpgp info?

Does killing scdamoen make any difference? (re-insert device after) $ killall -9 scdaemon

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting "Failed connecting to the YubiKey. Make sure ...
Following are scenarios where the error "Failed connecting to the YubiKey. Make sure the application has the required permissions.
Read more >
Basic YubiKey Troubleshooting - Yubico Support
If you are having trouble using your YubiKey (including YubiKey Bio) or Security Key, follow the troubleshooting steps below.
Read more >
Troubleshooting - Yubico Support
... "Failed connecting to the YubiKey. Make sure the application has the required permissions." in YubiKey Manager · Troubleshooting "Unknown error ...
Read more >
Resetting the OTP Application on the YubiKey - Yubico Support
Issue: You receive the error Upload failed: Failed to open HTTPS connection. Credential not configured. when clicking Finish in YubiKey Manager ...
Read more >
Using Your U2F YubiKey with Linux - Yubico Support
To set up your Linux system for U2F: Verify that libu2f-udev is installed on your system. On Debian and its derivatives (Ubuntu, Linux......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found