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.
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
andmodel
are added just for fun.