samdjstevens / java-totp

A java library for implementing Time-based One Time Passwords for Multi-Factor Authentication.
MIT License
448 stars 109 forks source link

Fix NtpTimeProvider #38

Closed paulo-raca closed 3 years ago

paulo-raca commented 3 years ago

timeInfo.getReturnTime() is the local timestamp of the ntp reply.

To properly use the Ntp it is needed to:

This PR fix #37

samdjstevens commented 3 years ago

Merged, thanks!