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

Want to set yubico serial number at instantiation #31

Open
arekinath opened this issue May 13, 2020 · 2 comments
Open

Want to set yubico serial number at instantiation #31

arekinath opened this issue May 13, 2020 · 2 comments

Comments

@arekinath
Copy link
Owner

In #28 and #25 it's become apparent that it would be nice to be able to customise the Yubico serial number used by the applet, probably at applet instantiation time

@kategray
Copy link

kategray commented Jun 7, 2020

This would potentially be useful for key derivation schemes.

I'm planning on using Thales HSMs to generate a management key at some point, and it would be nice to generate a serial number at the same time as the key, with the key being a function of the generated serial.

@mistial-dev
Copy link
Contributor

mistial-dev commented Jan 12, 2022

I have an in-progress patch that has this as one of the features. I'll be doing a pull request once it's cleaned up and fleshed out.

I'm using the tag 0x80 (context sensitive) for the parameter collection, and 0xFD (from the APDU to get the serial number). I'm also going to be adding tags to set the FASC-N and CHUID, and strict contactless mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants