duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] duply duplicity keyfile not found on centos 8


From: edgar . soldin
Subject: Re: [Duplicity-talk] duply duplicity keyfile not found on centos 8
Date: Thu, 19 Nov 2020 15:05:22 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1

ok. installed a centos8 and tried it, works for me.

your error output put looks weird
> Encryption public key '37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 
> 4148CC82B1D9305C2F11F6E39BD2488C78506194' not found.

there seems to be a space in your keyid, which looks like actually two ids.if 
you want to give two, you should separate them via comma ',' as documented in 
the conf template
"
# gpg encryption settings, simple settings:
#  GPG_KEY='disabled' - disables encryption alltogether
#  GPG_KEY='<key1>[,<key2>]'; GPG_PW='pass' - encrypt with keys,
#   sign if secret key of key1 is available use GPG_PW for sign & decrypt
#  Note: you can specify keys via all methods described in gpg manpage,
#        section "How to specify a user ID", escape commas (,) via backslash (\)
#        e.g. 'Mueller, Horst', 'Bernd' -> 'Mueller\, Horst, Bernd'
#        as they are used to separate the entries
"

..ede/duply.net

On 11/19/2020 14:36, Probst, Martin [IVZ] via Duplicity-talk wrote:
> I first installed version 0.8.16 from epel. It doesn't work. Then version 
> 0.8.17 for el8 from here 
> https://download-ib01.fedoraproject.org/pub/epel/testing/8/Everything/x86_64/Packages/d/duplicity-0.8.17-1.el8.x86_64.rpm
> 
> 
> both versions generate the same message.
> 
> ________________________________
> Von: Duplicity-talk 
> <duplicity-talk-bounces+martin.probst.ivz=deutschlandradio.de@nongnu.org> im 
> Auftrag von edgar.soldin--- via Duplicity-talk <duplicity-talk@nongnu.org>
> Gesendet: Donnerstag, 19. November 2020 14:03:12
> An: duplicity-talk@nongnu.org
> Cc: edgar.soldin@web.de
> Betreff: Re: [Duplicity-talk] duply duplicity keyfile not found on centos 8
> 
>>
>> Start duply v2.2.2, time is 2020-11-17 21:25:20. Using profile 
>> '/root/.duply/test'. Using installed duplicity version 0.8.17
> 
> the quote says duplicity 0.8.17, which i do not seem to find on epel? .. ede
> 
> On 11/19/2020 13:56, Probst, Martin [IVZ] via Duplicity-talk wrote:
>> Hello,
>>
>>
>> thanks for reply. I download duply latest version from sourceforge 
>> https://sourceforge.net/projects/ftplicity/files/duply%20%28simple%20duplicity%29/2.2.x/
>>  and installed duplicity form official centos 8 repo (@epel) v0.8.16
>>
>>
>>
>> ________________________________
>> Von: Duplicity-talk 
>> <duplicity-talk-bounces+martin.probst.ivz=deutschlandradio.de@nongnu.org> im 
>> Auftrag von edgar.soldin--- via Duplicity-talk <duplicity-talk@nongnu.org>
>> Gesendet: Donnerstag, 19. November 2020 13:22
>> An: duplicity-talk@nongnu.org
>> Cc: edgar.soldin@web.de
>> Betreff: Re: [Duplicity-talk] duply duplicity keyfile not found on centos 8
>>
>> On 11/19/2020 9:08, Probst, Martin [IVZ] via Duplicity-talk wrote:
>>> Hello list,
>>>
>>> on Centos 7, my duply setup with encryption works fine.
>>>
>>> Now Centos 8 it looks like there is an problem with reading the gpg keys.
>>>
>>> [root@test ~]# duply test status
>>>
>>> Start duply v2.2.2, time is 2020-11-17 21:25:20. Using profile 
>>> '/root/.duply/test'. Using installed duplicity version 0.8.17, python 3.6.8 
>>> (/usr/bin/python3.6), gpg 2.2.9 (Home: /root/.gnupg), awk 'GNU Awk 4.2.1, 
>>> API: 2.0 (GNU MPFR 3.1.6-p2, GNU MP 6.1.2)', grep 'grep (GNU grep) 3.1', 
>>> bash '4.4.19(1)-release (x86_64-redhat-linux-gnu)'. Encryption public key 
>>> '37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 
>>> 4148CC82B1D9305C2F11F6E39BD2488C78506194' not found. WARNING: No keyfile 
>>> for '37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 
>>> 4148CC82B1D9305C2F11F6E39BD2488C78506194' found in profile 
>>> '/root/.duply/test'. Autoset trust of key 
>>> '37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 
>>> 4148CC82B1D9305C2F11F6E39BD2488C78506194' to ultimate (FAILED) For duply to 
>>> work you have to set the trust level with the command "trust" to "ultimate" 
>>> (5) now. Exit the edit mode of gpg with "quit". Running gpg to manually 
>>> edit key '37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 
>>> 4148CC82B1D9305C2F11F6E39BD2488C78506194' (FAILED) Sorry. A fatal ERROR 
>>> occured: Public gpg key '37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 
>>> 4148CC82B1D9305C2F11F6E39BD2488C78506194' cannot be found. Hints: 
>>> Doublecheck if the above key is listed by 'gpg --list-keys' or available as 
>>> gpg key file 
>>> 'gpgkey.37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27_4148CC82B1D9305C2F11F6E39BD2488C78506194.asc'
>>>  in the profile folder. If not you can put it there and duply will 
>>> autoimport it on the next run. Alternatively import it manually as the user 
>>> you plan to run duply with. Maybe you have not created a gpg key yet (e.g. 
>>> gpg --gen-key)? Don't forget the used _password_ as you will need it. When 
>>> done enter the 8 digit id & the password in the profile conf file. The key 
>>> id can be found doing a 'gpg --list-keys'. In the example output below the 
>>> key id would be FFFFFFFF for the public key. pub 1024D/FFFFFFFF 2007-12-17 
>>> uid duplicity sub 2048g/899FE27F 2007-12-17 [root@test ~]# gpg --list-keys 
>>> /root/.gnupg/pubring.kbx ------------------------ pub rsa4096 2015-09-18 
>>> [SC] 37D4E6CFBF80BFEF446C4E86F0D2508B1F2CEC27 uid [ ultimativ ] 
>>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx sub rsa4096 2015-09-18 [E] 
>>> pub rsa4096 2015-09-21 [SC] 4148CC82B1D9305C2F11F6E39BD2488C78506194 uid [ 
>>> ultimativ ] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx sub rsa4096 
>>> 2015-09-21 [E] [root@test~]#
>>>
>>> Centos 8 comes with duplicity version 0.8.16. I installed 0.8.17 too, same 
>>> message.
>>>
>>>
>>> The different between Centos 7 and Centos 8 is the lenght of the key id. 8 
>>> chars Centos 7 and 40 chars on Centos 8.It seems like duply is not using th 
>>> 40 char key id's
>>>
>>> greeting
>>> Martin
>>
>> hey Martin,
>>
>> trying to replicate. i am not a Centos user. how did you install 
>> duplicity/duply? ..ede/duply.net
>> _______________________________________________
>> Duplicity-talk mailing list
>> Duplicity-talk@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>> _______________________________________________
>> Duplicity-talk mailing list
>> Duplicity-talk@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>
> 
> _______________________________________________
> Duplicity-talk mailing list
> Duplicity-talk@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> _______________________________________________
> Duplicity-talk mailing list
> Duplicity-talk@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 


reply via email to

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