Ross ROSS = Recommend OSS · open-source software intelligence for agents

mdp/rotp

Ruby One Time Password library observed · 2026-08-28

github.com/mdp/rotp · homepage · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

47/100

  • Activity 53
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5680
  • days_rel: n/a
  • days_push: 282
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1657 stars · 481 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Ruby library for generating and validating one-time passwords (HOTP and TOTP) according to RFC 4226 and RFC 6238. It is compatible with Google Authenticator and other TOTP-based apps and is commonly used to add multi-factor authentication to web applications.

Use cases

  • add two-factor authentication to a ruby or rails app
  • generate TOTP codes compatible with Google Authenticator
  • verify HOTP one-time passwords per RFC 4226
  • generate base32 secrets for user MFA enrollment
  • implement time-based OTP login verification with drift tolerance

When to choose

  • you need standards-compliant HOTP/TOTP generation and verification in Ruby
  • your users authenticate with authenticator apps like Google Authenticator
  • you want a small, mature, MIT-licensed gem with minimal dependencies

When to avoid

  • you are building a new 2FA solution today and can use WebAuthn instead
  • you need push-based or SMS-based multi-factor authentication
  • you are not working in Ruby

Facets

library · maturity maintenance

auth cryptography security security developer-tools web-development ruby otp totp hotp two-factor-authentication rfc4226 rfc6238 google-authenticator

1 source

Member repositories

RepositoryRoleHealth v2
mdp/rotpmain47

For agents

markdown · JSON · MCP: product_card(name="mdp/rotp")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem