duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] gpg 2.1 issue solved WAS:Re: cannot restore encrypted b


From: edgar . soldin
Subject: [Duplicity-talk] gpg 2.1 issue solved WAS:Re: cannot restore encrypted backup
Date: Wed, 29 Jul 2015 12:04:59 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

actually you would need

1. allow-loopback-pinentry in .gnupg/gpg-agent.conf 
 and
2. gpg option '--pinentry-mode loopback'

where does you backup script come from? ..ede/duply.net

On 29.07.2015 11:59, address@hidden wrote:
> Gotcha!
> 
> I skimmed through the backup script and there was it: --gpg-options 
> "--pinentry-mode loopback
> 
> Supplying this option to the restore command solved my issue. Thank you very 
> much for the help! I would have searched for this for days. :)
> 
> Best regards,
> Mate
> 
> 2015.07.29 11:53 időpontban address@hidden ezt írta:
>> i am surprised duplicity backs up for you w/ gpg 2.1 .. gpg changed
>> some stuff and you should need extra parameters for it to work
>> properly (maybe just for decrypting though). check here
>>  http://sourceforge.net/p/ftplicity/bugs/76/
>>
>> do you use duply or plain duplicity?
>>
>> ..ede/duply.net
>>
>> On 29.07.2015 11:34, address@hidden wrote:
>>> Dear Edger,
>>>
>>> thank you for the quick reply! I was able to encrypt and decrypt a file 
>>> using the given key.
>>>
>>> The key was greated with GnuPG 1.4 but now I am using 2.1. The version of 
>>> Duplicity is 0.6.25.
>>>
>>> Best regards,
>>> Mate
>>>
>>> 2015.07.29 11:21 időpontban address@hidden ezt írta:
>>>> On 29.07.2015 11:05, address@hidden wrote:
>>>>> Hi,
>>>>>
>>>>> I know it might be a GnuPG issue but I sincerely hope that someone on 
>>>>> this list might have a solution for me. :)
>>>>>
>>>>> So I am trying to restore an ecrypted backup and receives the following 
>>>>> error:
>>>>>
>>>>> GPGError: GPG Failed, see log below:
>>>>> ===== Begin GnuPG log =====
>>>>> gpg: encrypted with 4096-bit RSA key, ID xxxxx, created 2011-02-24
>>>>> "xxxx <address@hidden>"
>>>>> gpg: public key decryption failed: Invalid IPC response
>>>>> gpg: decryption failed: No secret key
>>>>> ===== End GnuPG log =====
>>>>>
>>>>> The key is in the user's keyring, at least the gpg --list-secret-keys 
>>>>> shows the ID. The password seems to be right beacuse I am using this key 
>>>>> to encrypt my weekly backups. Does anyone have any suggestion on this? I 
>>>>> am not really familiar with GnuPG.
>>>>>
>>>>
>>>> ok,
>>>>
>>>> first try manually en/decrypting something on the command line against
>>>> that key. see
>>>>  
>>>> http://www.dewinter.com/gnupg_howto/english/GPGMiniHowto-4.html#ss4.1
>>>>
>>>> also,
>>>> 1. what is your gpg version?
>>>> 2. please send me the output of 'gpg --list-secret-keys' privately and
>>>> mention the keyid you effectively used to back up.
>>>>
>>>> ..ede/duply.net
>>>>
>>>>
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

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