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

Data object or application not found #5

Closed
kfken opened this issue Apr 26, 2020 · 2 comments
Closed

Data object or application not found #5

kfken opened this issue Apr 26, 2020 · 2 comments

Comments

@kfken
Copy link

kfken commented Apr 26, 2020

Running on Ubuntu 20.04, when trying to login, I get:

agent 11: could not get public key: command failed: smart card error 6a82: data object or application not found

I have private keys loaded on my Yubikey 5 that I created via gpg. I have SSH_AUTH_SOCK set and I installed libpcsclite-dev per piv-go instructions. I also killed gpg-agent. Any ideas what might be going on? I

@kfken
Copy link
Author

kfken commented Apr 26, 2020

Hmm, actually it seems that gpg does not write the keys to the PIV slots. So it looks like I'm limited to RSA 2048 key for SSH in the PIV slot.

I'll go back and generate a key and reopen if I still have a problem.

@kfken kfken closed this as completed Apr 26, 2020
@FiloSottile
Copy link
Owner

There will be a yubikey-agent setup command before this is done which will do it for you, by the way!

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

2 participants