2fa icon indicating copy to clipboard operation
2fa copied to clipboard

Where are the secrets stored?

Open pkbehera opened this issue 4 years ago • 3 comments

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!

pkbehera avatar Jan 17 '21 06:01 pkbehera

Found it: ./snap/2fa/8/.2fa

My go environment is installed through snap

pkbehera avatar Jan 17 '21 06:01 pkbehera

The keychain is stored unencrypted in the text file $HOME/.2fa.

aryavsaigal avatar Feb 08 '21 18:02 aryavsaigal

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.

mungre avatar Jan 15 '23 15:01 mungre