Skip to content

Instantly share code, notes, and snippets.

@rottenbytes
Last active February 23, 2016 14:26
Show Gist options
  • Save rottenbytes/82a1eebd67ab04c39929 to your computer and use it in GitHub Desktop.
Save rottenbytes/82a1eebd67ab04c39929 to your computer and use it in GitHub Desktop.
Yubikey and VIP access

generate VIP access

use https://github.com/cyrozap/python-vipaccess to generate token if you want your token to be registered as mobile, change VSST for VSMT at https://github.com/cyrozap/python-vipaccess/blob/master/vipaccess/utils.py#L84

once installed (in ~/.local/bin) lauching vipaccess will generate a otpauth:// token and will draw a qr code, choose your religion

use with yubikey

install yubioath-desktop from ppa:yubico/stable and register your token : yubioath-cli put -N whatevername -D 6 -T totp "otpauth://....."

launch your yubioath-cli or even yubioath-cli whatevername to get your OTP

Hat tip

All credits goes to @vr that debunked all the problems

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