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

ykman otp yubiotp --public-id - Generate MODHEX suggestion #657

Open
del-leehopper opened this issue Jan 28, 2025 · 0 comments
Open

ykman otp yubiotp --public-id - Generate MODHEX suggestion #657

del-leehopper opened this issue Jan 28, 2025 · 0 comments

Comments

@del-leehopper
Copy link

Can I suggest a new feature? It would be useful to have a new command option called something like --public-id-random that can be used instead of --serial-public-id and --public-id.

As you will know, if you need to wipe an OTP on a YubiKey for the second time (i.e. using --serial-public-id the first time) then the Public ID will not be accepted when uploading to https://upload.yubico.com/ (i.e. it will not allow duplicates). Therefore, you need to use --public-id and create your own "MODHEX" of 12 characters starting with "vv" and the remaining characters using the modhex alphabet (c, b, d, e, f, g, h, i, j, k, l, n, r, t, u, v).
e.g. vvlnrtvgethj

This is quite tedious, therefore I suggest a new option to be able to do this for you. This used to be possible in the "YubiKey Personalization Tool".

Thanks.

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

No branches or pull requests

1 participant