oath-toolkit
« Back to VersTracker
Description:
Tools for one-time password authentication systems
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security authentication totp hotp 2fa cli
Install: brew install oath-toolkit
About:
OathToolkit provides a robust implementation of the HOTP and TOTP algorithms as specified by RFC 4226 and RFC 6238. It includes the liboath library for C integration and command-line utilities like oathtool for generating and validating one-time passwords. This makes it an essential component for adding two-factor authentication (2FA) to applications and systems.
Key Features:
  • C library (liboath) for programmatic integration
  • Command-line utility (oathtool) for easy scripting
  • Supports both HOTP and TOTP algorithms
  • Compliant with IETF RFC standards
Use Cases:
  • Adding two-factor authentication to custom applications
  • Generating TOTP codes for CLI-based workflows
  • Integrating OTP validation into system security scripts
Alternatives:
  • Google Authenticator – Provides a user-facing mobile app but OathToolkit is superior for server-side library integration and CLI usage.
  • Authy – A proprietary cloud-synced 2FA service, whereas OathToolkit is a lightweight, open-source library for developers.
Version History
Detected Version Rev Change Commit
Jan 27, 2026 2:20pm 0 REVISION_ONLY 29d4401b
Sep 14, 2025 6:38pm 0 VERSION_BUMP 99b46bb7