gmvault
gmvault copied to clipboard
Stored password does not work
qtkdnthqcmmexqgmI installed gmvault 1.9.1 in a python 2.7 virtualenv (with python setup.py install).
Then I created an app password in gmail. The first sync works fine with this command:
> ./venv/bin/gmvault sync [email protected] -p --store-passwd -d /path/to/my/mail-db
Use gmvault-db located in /path/to/my/mail-db.
Activate Gmvault db cleaning.
Create defaults in /home/myuser/.gmvault/gmvault_defaults.conf. Please touch this file only if you know what to do.
Authentication performed with Gmail password.
Please enter gmail password for [email protected] and press ENTER:
Store password for [email protected] in $HOME/.gmvault.
Connect to Gmail server.
Start synchronization (2016-11-18T18h01m35s). [...]
However, when I try to run it again, it fails:
> ./venv/bin/gmvault sync [email protected] -p -d /path/to/my/mail-db
Use gmvault-db located in /path/to/my/mail-db.
Activate Gmvault db cleaning.
Create defaults in /home/myuser/.gmvault/gmvault_defaults.conf. Please touch this file only if you know what to do.
Authentication performed with Gmail password.
Use password stored in $HOME/.gmvault dir (Storing your password here is not recommended).
Connect to Gmail server.
ERROR: Invalid credentials, cannot login to the gmail server. Please check your login and password or xoauth token.
@toyg Ok need to try. I left that method but it is not recommended to use it anyway. I might remove it.
This still does not work 😢 I have to type the app password every time.
Just a note that it's working for me, in a python 2.7 virtualenv.