2fa is a two-factor authentication agent. "2fa -add name" adds a new key to the 2fa keychain with the given name. It prints a prompt to standard error and reads a two-factor key from standard input. Two-factor keys are short case-insensitive strings of letters A-Z and digits 2-7. "2fa name" prints a two-factor authentication code from the key with the given name. With no arguments, "2fa" prints two-factor authentication codes from all known time-based keys. The default time-based authentication codes are derived from a hash of the key and the current time, so it is important that the system clock have at least one-minute accuracy. The keychain is stored unencrypted in the text file "$HOME/.2fa".
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | 2fa-1.2.0nb37.tgz |
NetBSD 10.0 | aarch64 | 2fa-1.2.0nb32.tgz |
NetBSD 10.0 | aarch64 | 2fa-1.2.0nb34.tgz |
NetBSD 10.0 | earmv7hf | 2fa-1.2.0nb37.tgz |
NetBSD 10.0 | earmv7hf | 2fa-1.2.0nb34.tgz |
NetBSD 10.0 | earmv7hf | 2fa-1.2.0nb40.tgz |
NetBSD 10.0 | i386 | 2fa-1.2.0nb37.tgz |
NetBSD 10.0 | i386 | 2fa-1.2.0nb32.tgz |
NetBSD 10.0 | i386 | 2fa-1.2.0nb34.tgz |
NetBSD 10.0 | i386 | 2fa-1.2.0nb40.tgz |
NetBSD 10.0 | x86_64 | 2fa-1.2.0nb37.tgz |
NetBSD 10.0 | x86_64 | 2fa-1.2.0nb32.tgz |
NetBSD 10.0 | x86_64 | 2fa-1.2.0nb34.tgz |
NetBSD 10.0 | x86_64 | 2fa-1.2.0nb40.tgz |
NetBSD 9.0 | aarch64 | 2fa-1.2.0nb37.tgz |
NetBSD 9.0 | aarch64 | 2fa-1.2.0nb32.tgz |
NetBSD 9.0 | aarch64 | 2fa-1.2.0nb34.tgz |
NetBSD 9.0 | earmv7hf | 2fa-1.2.0nb37.tgz |
NetBSD 9.0 | earmv7hf | 2fa-1.2.0nb34.tgz |
NetBSD 9.0 | earmv7hf | 2fa-1.2.0nb40.tgz |
NetBSD 9.0 | i386 | 2fa-1.2.0nb37.tgz |
NetBSD 9.0 | i386 | 2fa-1.2.0nb32.tgz |
NetBSD 9.0 | i386 | 2fa-1.2.0nb34.tgz |
NetBSD 9.0 | i386 | 2fa-1.2.0nb40.tgz |
NetBSD 9.0 | x86_64 | 2fa-1.2.0nb37.tgz |
NetBSD 9.0 | x86_64 | 2fa-1.2.0nb32.tgz |
NetBSD 9.0 | x86_64 | 2fa-1.2.0nb34.tgz |
NetBSD 9.0 | x86_64 | 2fa-1.2.0nb40.tgz |
NetBSD 9.3 | x86_64 | 2fa-1.2.0nb39.tgz |
NetBSD 9.3 | x86_64 | 2fa-1.2.0nb40.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.