cotp
« Back to VersTracker
Description:
TOTP/HOTP authenticator app with import functionality
Type: Formula  |  Latest Version: 1.9.7@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: totp hotp 2fa authenticator security cli
Install: brew install cotp
About:
cotp is a command-line TOTP/HOTP authenticator that securely manages two-factor authentication codes. It supports importing secrets from various formats like Authy, Aegis, and standard OTP URIs, making migration straightforward. The tool stores encrypted secrets locally and generates codes offline, ensuring privacy and reliability.
Key Features:
  • Supports both TOTP and HOTP algorithms
  • Import functionality from Authy, Aegis, and other authenticators
  • Secure local storage with encryption
  • Command-line interface for efficient workflow
  • Offline code generation
Use Cases:
  • Managing two-factor authentication codes for multiple online services
  • Migrating existing 2FA secrets from other authenticator apps
  • Generating OTP codes in headless or server environments
Alternatives:
  • pass-otp – Integrates with pass for password management, but lacks built-in import from proprietary formats
  • oathtool – Generates OTP codes but does not provide secret management or storage
  • Authy – GUI-based desktop app with cloud sync, but requires proprietary software and online account
License: GPL-3.0-only
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 14, 2025 1:54am 0 VERSION_BUMP 9a8b267a
Sep 13, 2024 2:42am 0 VERSION_BUMP 4c8e8a9b
Sep 12, 2024 4:40pm 0 VERSION_BUMP 22fdbcea