Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are the secrets stored? #17

Open
pkbehera opened this issue Jan 17, 2021 · 3 comments
Open

Where are the secrets stored? #17

pkbehera opened this issue Jan 17, 2021 · 3 comments

Comments

@pkbehera
Copy link

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
Copy link
Author

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

My go environment is installed through snap

@aryavsaigal
Copy link

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

@mungre
Copy link

mungre commented Jan 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants