duplicati/duplicati

GPG asymmetric encryption module

Open

#2,270 opened on Jan 20, 2017

View on GitHub
 (24 comments) (4 reactions) (0 assignees)C# (1,042 forks)batch import
help wantedminor change

Repository metrics

Stars
 (14,539 stars)
PR merge metrics
 (Avg merge 2d) (53 merged PRs in 30d)

Description

It is currently possible to get GPG encryption working with a key, by setting the switches manually like this:

--encryption-module=gpg
--gpg-encryption-command=--encrypt
--gpg-encryption-switches=--recipient "xxx@zzz.com"
--gpg-decryption-command=--decrypt
--passphrase=unused

You also need to set the trust level of the key to 5, for example:

gpg --edit-key "xxx@zzz.com" trust

It would be nice if there was a module, say gpg-pubkey or similar that simply sets these options. Perhaps the passphrase could be used for the recipient, but that might get messy if you want to change it later.

Contributor guide