alexzorin / authy

Go library and program to access your Authy TOTP secrets.
MIT License
802 stars 57 forks source link

Use auth key derivation from API response #32

Closed tigeryu8900 closed 5 months ago

tigeryu8900 commented 5 months ago

As mentioned in #30, the API response for AuthenticatorToken now includes key_derivation_iterations, so I've modified decryptToken to use that value instead of a constant.

Closes #30

alexzorin commented 5 months ago

Hey @tigeryu8900,

Thanks a lot for looking into this and putting together the PR.

I haven't tested this change myself but it looks straightforward to me based on the issue so I am going to approve and merge this.

To everyone else, if there are any issues coming from this change, please open a new issue and I'll take a look.