pebble-authenticator icon indicating copy to clipboard operation
pebble-authenticator copied to clipboard

Correct issues in configuration.py preventing base32 padding from being done correctly

Open Maffsie opened this issue 10 years ago • 0 comments

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.

Maffsie avatar Apr 26 '15 05:04 Maffsie