Duplicity appears to accept and use multiple different signature identifiers for the same key. I have one key that can be identified with the following three signature identifiers. Running signed backups using any of these three signature identifiers will work.
13E613A2
3EB1015313E613A2
8CB6F8488D1434DC0AA7F9143EB1015313E613A2
But when I use either the shortest or the longest of the identifiers, I get an error message like the following when I run a restore command (this is the message when using the longest signature identifier).
Volume was signed by key 3EB1015313E613A2, not 8CB6F8488D1434DC0AA7F9143EB1015313E613A2
match = re.search("^\\[GNUPG:\\] GOODSIG ([0-9A-F]*)",
status_buf, re.M)
to:
match = re.search("^\\[GNUPG:\\] VALIDSIG ([0-9A-F]*)",
status_buf, re.M)
But this change broke the case of using the medium length 16 character key signature identifier so I don't know what the best fix is. But it seems like there should be some way to canonicalize all the key signature identifiers into one form so that all signature identifiers can work without incorrectly outputting the "Volume was signed by key" error message.
Andrew