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

Clarify PIN protected managements keys and PIN derived management keys #34

Open
ericchiang opened this issue Apr 25, 2020 · 1 comment

Comments

@ericchiang
Copy link
Collaborator

https://developers.yubico.com/yubikey-piv-manager/PIN_and_Management_Key.html

@FiloSottile
Copy link

I had a look at what yubikey-manager does for protected management keys, and it looks like piv-go has the protected metadata part down, but it doesn't set the right flag in the unprotected metadata, so ykman doesn't know to use the stored key.

https://github.com/Yubico/yubikey-manager/blob/7fb59f633ea1a782d401ff3f03b1f0a859f5fb16/ykman/piv.py#L164

I'll see if I can send a PR to expand the Metadata type and methods.

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