2fa
2fa copied to clipboard
Where are the secrets stored?
I installed this recently, great tool. But can't find where the secrets are being stored, on my installation (Ubuntu 20.04) the directory ~/.2fa
does not exist!
Found it: ./snap/2fa/8/.2fa
My go environment is installed through snap
The keychain is stored unencrypted in the text file $HOME/.2fa.
On Windows $HOME
is not defined by default and the .2fa
file is put into the current directory. If $HOME
is defined then the .2fa
files goes there.