pebble-authenticator
pebble-authenticator copied to clipboard
Correct issues in configuration.py preventing base32 padding from being done correctly
When presented with TOTP secrets which are 24 characters long, the original configuration.py would choke and b32decode would fail with incorrect padding; this fixes padding issues by ensuring that the final length of the string is divisible by 8, as all base32 strings should have between 0 and 7 padding characters.