inbasic/open-two-factor-authenticator

Support for other services with different code lengths

akagizou opened this issue · 0 comments

I have attempted to reverse-engineer the key necessary to add an account for the Battle.net authenticator using resources such as https://github.com/jleclanche/python-bna/blob/master/bna.py OTPAUTH_URI_FORMAT = "otpauth://totp/Battle.net:{serial}:?secret={secret}&issuer=Battle.net&digits=8" and https://gist.github.com/stbuehler/8616943 but it only appears to generate 6 digits when it needs to create 8.