.TH sshyp-mfa 1 "01 March 2023" "v1.4.0.1" "sshyp-mfa man page" .SH NAME sshyp-mfa \- An MFA (TOTP/Steam) key generator for the sshyp password manager. .SH SYNOPSIS Extension Usage: sshyp copy -m Direct Usage: sshyp-mfa .SH DESCRIPTION sshyp-mfa is an extension for the sshyp password manager that reads MFA data from sshyp entries and generates generic TOTP and Steam keys. .SH EXAMPLES Generating and copying an MFA key for an existing entry saved as ~/.local/share/sshyp-mfa/development/github.gpg sshyp /development/github copy -m sshyp-mfa /development/github .SH SETUP sshyp-mfa requires a pre-existing functional sshyp setup. MFA keys are generated off of MFA data placed in the second line of a sshyp entry's notes field. This data needs to be added manually, through sshyp, and must be in Authenticator backup format. It might be easiest to import all of your MFA keys into Authenticator, export them into plain text, then add all of the exported MFA data into the second notes line in their respective sshyp entries. .SH FORMAT Format: otpauth:///?secret=&issuer=&algorithm=&digits=&period= Help! What do I put in each of those spaces? is almost always 'totp', but in the case of Steam, it needs to be set to 'steam'. is a part of the Authenticator backup format, but it is not used in sshyp-mfa. Set to anything. refers to the secret used to generate your MFA key. This is usually directly provided by the issuer, but it is sometimes hidden and more easily retrieved by copying it from a QR-compatible MFA app (such as Aegis). is a part of the Authenticator backup format, but it is not used in sshyp-mfa. Set to anything. refers to the algorithm used to generate your MFA key based on your secret. This is almost always 'sha1'. refers to the intended length of your MFA key. This is almost always '6', but in the case of Steam, it needs to be set to '5'. refers to the interval at which a new MFA key needs to be generated. This is almost always '30', for 30 seconds. Example configuration (for most services, see above for differences regarding Steam): otpauth://totp/MyNameIsBob?secret=YUGBSG65SG9SDBSDF56SBFVSC86SBVD6&issuer=Github&algorithm=sha1&digits=6&period=30 .SH AUTHOR Randall Winkhart (https://github.com/rwinkhart)