Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Creates a QR code simulating Symantec's VIP Access that you can then use in your preferred authenticator
# First install python-vipacess
pip3 install python-vipaccess
# the run it using the defaults
vipaccess provision
# then read the necessary info from the .vipaccess file
CREDENTIAL_ID=$(cat ~/.vipaccess | grep id | awk '{ print $2 }')
CREDENTIAL_SECRET=$(cat ~/.vipaccess | grep secret | awk '{ print $2 }')
# and then form the necessary URL
AUTH_URL="otpauth://totp/VIP%20Access:$CREDENTIAL_ID?secret=$CREDENTIAL_SECRET&issuer=Symantec&algorithm=SHA1&digits=6"
# if you dont have qrencode installed, use brew to install it:
brew install qrencode
# then create your QR code
qrencode -t UTF8 $AUTH_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.