You are not logged in.
When I execute my backup script, pinentry ask me to provide the passwords for encrypt-key and sign-key.
I have already export them as variables in my script (PASSPHRASE, SIGN_PASSPHRASE) but pinentry ask them again. When I provide them to pinentry it doesn't reask them (until next reboot or killing gpg-agent).
How can I automatically provide the passwords for encrypt and sign keys without interruption from pinentry?
My backup script:
#!/bin/bash
export GOOGLE_DRIVE_SETTINGS=~/.duplicity/credentials
export PASSPHRASE=<password1>
export SIGN_PASSPHRASE=<password2>
duplicity --encrypt-key <key1> --sign-key <key2> /home/user/data gdocs://<user>@gmail.com/backup
Last edited by leonidas (2017-02-17 20:02:04)
Offline
That solved the problem:
https://wiki.archlinux.org/index.php/Gn … passphrase
but now the enigmail doesn't work. It doesn't ask for password to decrypt messages.
I'' try to remove pinentry-mode loopback from ~/.gnupg/gpg.conf and check if it will fix the enigmail and pass gpg --pinentry-mode loopback to duplicity
Offline