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

WIP: support all roles in yubikey #653

Closed
wants to merge 1 commit into from

Conversation

endophage
Copy link
Contributor

Signed-off-by: David Lawrence david.lawrence@docker.com (github: endophage)

Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
ctx,
session,
privKey,
slot,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been wondering if we should change the signatures for addECDSAKey and createLoadCert to have a slotID variable instead of privKeyID variable, WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The terminology is weird and we never settled on something. If memory serves (from discussions with the Yubikey folks 4-5 months back), in PKCS11 a "slot" is technically a device, i.e. the Yubikey itself is a PKCS11 "slot". I'm not sure what the correct term is for the space that a key actually resides in. We should find out and stop using "slot" because it'll just confuse anyone familiar with PKCS11.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like "token"? The pkcs11 spec has a nice section for definitions on page 12 of the core specification PDF (numbered pg6 on the document)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, token does appear to be the correct PKCS11 name. I'll switch over to that in the PR.

@HuKeping
Copy link
Contributor

HuKeping commented Apr 21, 2016

Hi, @endophage if you could put a new line between your commit message and the sign-off-by, it will be better when we use git log --oneline ;)

@riyazdf riyazdf mentioned this pull request Sep 14, 2016
@endophage
Copy link
Contributor Author

There have been a lot of changes so closing this. Will preserve branch for future reference.

@endophage endophage closed this Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants