mdp / rotp

Ruby One Time Password library
http://rubydoc.info/github/mdp/rotp/master/frames
MIT License
1.6k stars 445 forks source link

Clarifications regarding RFCs #20

Closed mkdynamic closed 10 years ago

mkdynamic commented 10 years ago

The README references "HOTP" and links to the draft which became "TOTP RFC 6238".

Can you clarify which time-based RFC is implemented? Does the README require updating?

mdp commented 10 years ago

Yep, it should have read TOTP for the second link. Fixed in master.

To clarify, the TOTP implementation is based on RFC 6238 which is an extension of the HOTP RFC 4226

mkdynamic commented 10 years ago

Cool, thanks for clarifying. I submitted a related PR, which should be consistent with this unless I misunderstood something: https://github.com/mdp/rotp/pull/21