rsc_2fa
« Back to VersTracker
Description:
Two-factor authentication on the command-line
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: 2fa totp security authentication cli
Install: brew install rsc_2fa
About:
Rsc2fa is a command-line tool that generates and verifies Time-based One-Time Passwords (TOTP), similar to Google Authenticator. It provides a secure way to implement two-factor authentication for terminal workflows without relying on graphical applications. The tool stores secrets locally and integrates with standard 2FA QR codes.
Key Features:
  • Generates TOTP codes from stored secrets
  • Compatible with Google Authenticator and similar services
  • Command-line interface for terminal-based workflows
  • Local secret storage
Use Cases:
  • Securing SSH logins with 2FA codes
  • Generating authentication tokens for CLI-based services
  • Managing multiple 2FA accounts from the terminal
Alternatives:
  • google-authenticator – Provides full PAM integration for system authentication, while rsc2fa focuses on CLI token generation
  • pass-otp – Stores 2FA tokens within pass password manager, whereas rsc2fa operates as a standalone tool
Version History
Detected Version Rev Change Commit
Sep 15, 2025 11:34pm 0 VERSION_BUMP 340532ee
Sep 14, 2024 1:24am 0 VERSION_BUMP 139a4a26