Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 488596

Summary: =app-backup/obnam-1.5 with =app-crypt/gnupg-2.0.22 - Fails to do encrypted backups
Product: Gentoo Linux Reporter: Martin Dummer <martin.dummer>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal CC: martin.dummer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for encryption wit gpg >= 2.0.22

Description Martin Dummer 2013-10-19 12:44:43 UTC
When trying to create a gnupg-encrypted backup repository, it fails when app-crypt/gnupg-2.0.22 is on the system.

After downgrading gnupg to version app-crypt/gnupg-2.0.20 all works fine.

I report this bug to keep it as a known issue, it should be fixed upstream. 

Maybe it is advisible to place a post-install-warning for the user in the ebuild when a known-to-not-working gnupg version is on the system.
Comment 1 Marc Schiffbauer gentoo-dev 2013-11-20 14:43:43 UTC
As discussed with Martin this must be due to some api change in gnupg and must be fixed upstream.
Comment 2 Thomas 2013-12-04 05:08:13 UTC
Created attachment 364568 [details, diff]
patch for encryption wit gpg >= 2.0.22
Comment 3 Thomas 2013-12-04 05:10:17 UTC
this has been fixed upstream recently
I attached the corresponding patch from the author's git repository
(applies to v1.5 as well as v1.6.1)
Comment 4 Marc Schiffbauer gentoo-dev 2013-12-04 14:36:01 UTC
Fixed in 1.5, Added 1.6.1-r1 revbump with fix

Thanks for the patch!