duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] no GPG passphrase


From: edgar . soldin
Subject: Re: [Duplicity-talk] no GPG passphrase
Date: Sun, 30 Mar 2014 16:51:01 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 30.03.2014 16:13, Grant wrote:
>>> I've created a GPG keypair without a passphrase but duplicity still
>>> prompts me for a passphrase.  How can I prevent the passphrase prompt
>>> so I can automate the backup operation?
>>
>> duplicity does not ask for gpg passphrases. the used gpg however does. check 
>> if your key really is passphraseless and that the asked passphrase is not 
>> for your backend.
> 
> The key must be passphraseless because when I'm prompted for the
> passphrase 

not true.. you can use gpg-agent. see manpage.

>I just hit Enter and the operation completes successfully.
> Here are the prompts (I hit Enter 3 times):
> 
> GnuPG passphrase:
> GnuPG passphrase for signing key:
> GnuPG passphrase:
> 
> What do I need to do to prevent the prompts so I can automate the operation?

normally none. just tested again, there is no passphrase prompt if you really 
use passphraseless keys.

do you use the latest duplicity version 0.6.23? if not, update and retry.

if the error persists doublecheck your key parameters again.
 
>> it does however need it for actions involving decryption like
> 
> I'm not sure what you mean here.  Are you saying I must manually enter
> a blank passphrase in order to decrypt?

sorry, forgot to delete this. just ignore it.
 
>>> Reading my encrypted data still requires possession of the private key
>>> even though there is no passphrase, correct?
>>
>> yes
>>
>>> BTW, can I pick files and folders from around the filesystem instead
>>> of only specifying a single source location?
>>
>> manpage, see section File Selection, globbing list
> 
> Very nice, I didn't realize there are --include and --exclude like rsync.
> 

rtfm dude!

..ede/duply.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]