With GPG 2.1 the GPG_AGENT_INFO environment variable is no longer required. Without that variable set, Duply doesn't not add the --use-agent option. Since I prefer to not set the GPG password in my configuration, Duply will ask me for my GPG password both on encrypting and signing. I'm not sure the fix, but --use-agent should set for my setup. I manually set this in the conf file using
# Turn on --use-agent option no matter what
DUPL_PARAMS="$DUPL_PARAMS --use-agent"
Here is the output I see if I don't manually add --use-agent in the conf file. Notice the GnuPG passphrase prompts:
Start duply.sh v1.9.2, time is 2015-07-15 15:00:39.
Using profile '/home/XXXXX/.duply/XXXXXX'.
Using installed duplicity version 0.7.03, python 3.4.3, gpg 2.1.6 (Home: ~/.gnupg), awk 'GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.3, GNU MP 6.0.0)', grep '(GNU grep) 2.21', bash '4.3.39(1)-release (x86_64-unknown-linux-gnu)'.
Autoset found secret key of first GPG_KEY entry 'XXXXXX' for signing.
Cannot use gpg-agent. GPG_AGENT_INFO not set.
Checking TEMP_DIR '/tmp' is a folder (OK)
Checking TEMP_DIR '/tmp' is writable (OK)
Test - Encrypt to 'XXXXXX' & Sign with 'XXXXXX' (OK)
Test - Decrypt (OK)
Test - Compare (OK)
Cleanup - Delete '/tmp/duply.17301.1436986840_*'(OK)
--- Start running command FULL at 15:00:40.591 ---
Warning: Option --exclude-globbing-filelist is pending deprecation and will be removed in a future release.
--include-filelist and --exclude-filelist now accept globbing characters and should be used instead.
Reading globbing filelist /home/XXXXXX/.duply/XXXXXX/exclude
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Jul 15 14:56:00 2015
GnuPG passphrase:
GnuPG passphrase for signing key:
--------------[ Backup Statistics ]--------------
StartTime 1436986867.12 (Wed Jul 15 15:01:07 2015)
EndTime 1436986867.30 (Wed Jul 15 15:01:07 2015)
ElapsedTime 0.18 (0.18 seconds)
SourceFiles 38
SourceFileSize 2926500 (2.79 MB)
NewFiles 38
NewFileSize 2926500 (2.79 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 38
RawDeltaSize 2860964 (2.73 MB)
TotalDestinationSizeChange 1529995 (1.46 MB)
Errors 0
--- Finished state OK at 15:01:07.981 - Runtime 00:00:27.389 ---
this is a duplicate of
https://sourceforge.net/p/ftplicity/feature-requests/36/
..ede