Yubico / yubikit-android

Yubico Mobile Android SDK - YubiKit
Apache License 2.0
108 stars 40 forks source link

Fix OATH calculateCodes for TOTP credentials with requireTouch and period != 30. #49

Closed dainnilsson closed 2 years ago

dainnilsson commented 2 years ago

This rewrites the calculateCodes method to be more readable and clear in what it is doing, and in so removed the incorrect handling of TOTP credentials that require touch and have a period != 30.