duply v1.11.3

duply v1.11.3
Test – Encrypt to ‚xxxxxxxx‘ & Sign with ‚xxxxxxxx‘ (FAILED)
Sorry. A fatal ERROR occured: Encryption failed (Code 2).
gpg: using „xxxxxxxx“ as default secret key for signing
[GNUPG:] KEY_CONSIDERED
[GNUPG:] KEY_CONSIDERED
[GNUPG:] KEY_CONSIDERED
[GNUPG:] BEGIN_SIGNING H8
[GNUPG:] PINENTRY_LAUNCHED 14496 gtk2:curses 1.0.0 ? ? ?
gpg: signing failed: Inappropriate ioctl for device
[GNUPG:] BEGIN_ENCRYPTION 2 9
[GNUPG:] FAILURE sign-encrypt
gpg: /usr/bin/duply: sign+encrypt failed: Inappropriate ioctl for device

Lösung
root@planet ~ # vim /etc/duply/conf
GPG_OPTS=“–pinentry-mode loopback“
root@planet ~ # /usr/bin/duply /etc/duply incr
[ Backup Statistics ]
Errors 0