A command-line OTP authenticator written in Rust that generates time-based and counter-based one-time passwords.
Cloak is a command-line OTP (One Time Password) authenticator application written in Rust that generates time-based (TOTP) and counter-based (HOTP) codes for two-factor authentication. It provides a secure, terminal-based alternative to mobile authenticator apps, storing accounts locally to avoid cloud-based QR code scanning risks. The tool makes it easier to copy codes directly from the terminal to login forms during authentication.
Developers and command-line users who need a secure, local, and scriptable method for generating two-factor authentication codes, particularly those working on Linux, macOS, or Windows systems who prefer terminal workflows over mobile apps.
Developers choose Cloak for its emphasis on security through local storage, avoiding the risks associated with scanning QR codes to cloud-based services. Its unique selling point is being a reliable, open-source, cross-platform CLI tool built in Rust, offering transparent account management and easier code copying directly from the terminal.
A Command Line OTP Authenticator application.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Stores accounts and recovery codes locally in a configurable directory, avoiding cloud-based QR code scanning risks as emphasized in the motivation section of the README.
Generates OTP codes directly in the terminal, making it easy to copy and paste into login forms, which is a core use case highlighted in the description.
Works on Linux, macOS, and Windows with a uniform command-line interface, ensuring reliable OTP access across different operating systems.
Built in Rust as an open-source project, allowing for code inspection and contributing to security and trust, as mentioned in the philosophy.
Requires manual entry of base32-encoded keys, which can be cumbersome compared to authenticator apps that support QR code scanning, a limitation inferred from the focus on avoiding QR risks.
Accounts are stored locally per machine with no built-in sync, making it inconvenient for users who need access from multiple devices without manual configuration.
Users must manually handle backups of the account directory, as local storage means data loss risk if not properly maintained, despite configurable paths via environment variables.
cloak is an open-source alternative to the following products:
A mobile app that generates two-factor authentication (2FA) codes for signing into Google accounts and other services that support time-based one-time passwords.
Microsoft Authenticator is a mobile app that provides two-factor authentication for Microsoft accounts and other services using time-based one-time passwords or push notifications.
Authy is a two-factor authentication (2FA) application that provides secure login verification via time-based one-time passwords (TOTP) and push notifications. It is owned by Twilio.