WillForan / duo-hotp

16 stars 5 forks source link

Fix error 40112 due to Duo API change #1

Closed realSaltyFish closed 10 months ago

realSaltyFish commented 10 months ago

In June 2023 (might be earlier) Duo updated their internal API. Now registering a device requires specifying a signature method and a public key. This is implemented along with a requirement to sign subsequent login approvals sent from the Duo app. While this sounds irrelevant to HOTP-based authentication, Duo won't let you register a new device without providing these parameters. This PR adds the required parameters. manufacturer and model are added just for fun.

WillForan commented 10 months ago

thanks for the patch!