Skip to content
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

verify pin: smart card error 6983: authentication method blocked #132

Open
chriscroome opened this issue Sep 29, 2022 · 0 comments
Open

Comments

@chriscroome
Copy link

I've a laptop and a desktop both runing Debian Bookworm and both with the same configuration and packages (I haven't checked that they do have exactly the same .deb files installed but could do this).

I've a pair of Yubikeys both set up to work with yubikey-agent and also with FIDO2 discoverable keys.

Most servers I need to access have all four public keys installed, some however have old versions of SSHD and only with with yubikey-agent.

On my laptop, by default the yubikey-agent key pair appears to always be used, on my desktop the FIDO2 keys are used as yubikey-agent never seems to work.

I'm trying to work out what the issue is... on my desktop I have this error:

systemctl --user status yubikey-agent 
● yubikey-agent.service - Seamless ssh-agent for YubiKeys
     Loaded: loaded (/usr/lib/systemd/user/yubikey-agent.service; enabled; preset: enabled)
     Active: active (running) since Thu 2022-09-29 12:42:44 BST; 8min ago
       Docs: https://filippo.io/yubikey-agent
   Main PID: 18888 (yubikey-agent)
      Tasks: 16 (limit: 37735)
     Memory: 12.5M
        CPU: 257ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/yubikey-agent.service
             └─18888 yubikey-agent -l //run/user/1000/yubikey-agent/yubikey-agent.sock

Sep 29 12:43:39 pn50 yubikey-agent[18888]: 2022/09/29 12:43:39 agent 27: ssh: parse error in message type 27
Sep 29 12:43:39 pn50 yubikey-agent[18888]: 2022/09/29 12:43:39 agent 13: verify pin: smart card error 6983: authentication method blocked

I think the problem is that I never get a PIN prompt, I couldn't find any other issues with this same problem.

Does anyone have any suggestions regarding how I could debug what is going wrong here?

LeSuisse added a commit to LeSuisse/yubikey-agent that referenced this issue Dec 28, 2022
@FiloSottile FiloSottile changed the title parse error in message type 27 verify pin: smart card error 6983: authentication method blocked verify pin: smart card error 6983: authentication method blocked Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant