Path to this page:
./
security/2fa,
Command-line client for two-factor authentication
Branch: pkgsrc-2021Q2,
Version: 1.2.0nb1,
Package name: 2fa-1.2.0nb1,
Maintainer: bsiegert2fa 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".
Master sites:
SHA1: 7c14eeda66f60fee842e33ba3f0cffab99a04a4d
RMD160: 11fcc6611762d9d48841b7e8c3ace1d8073bcee7
Filesize: 5.964 KB
Version history: (Expand)
- (2021-07-01) Package added to pkgsrc.se, version 2fa-1.2.0nb1 (created)