Skip Menu |

This queue is for tickets about the GnuPG-Interface CPAN distribution.

Report information
The Basics
Id: 133021
Status: open
Priority: 0/
Queue: GnuPG-Interface

People
Owner: Nobody in particular
Requestors: PUCK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.00
Fixed in: (no value)



Subject: If "call" is used to change the program, the GPG version isn't updated
Hey, After I updated the Debian package for GnuPG::Interface to v1.00, and it was then uploaded to Debian we discovered that our request-tracker4 packages failed to build. This is because rt4 uses the "call" moethod to change the gpg program. If it is changed to 'gpg1', which the existing Debian packages for rt4 use, then GnuPG::Interface still thinks it is dealing with version 2.2.x and tries to use --pinentry-mode which fails. The attached patch changes GnuPG::Interface to update the version if the call method is used to change the program to use. Cheers, Andrew
Subject: reset_version_on_call_change
Download reset_version_on_call_change
application/octet-stream 1.5k

Message body not shown because it is not plain text.

Hey, This fix then causes t/Interface.t to fail as on my system 'gnupg' doesn't exist. The attached patch fixes t/Interface.t since we don't care if gnupg runs or not, the test is checking that old interface still works for setting/checking the program to call. Cheers, Andrew
Subject: test-allow-interface-to-fail
Download test-allow-interface-to-fail
application/octet-stream 423b

Message body not shown because it is not plain text.

Hi, I've applied a very similar patch to yours at https://github.com/bestpractical/gnupg-interface/tree/update-version-if-call-is-updated Can you verify that it works for you? Regards, Dianne.
Subject: Re: [rt.cpan.org #133021] If "call" is used to change the program, the GPG version isn't updated
Date: Mon, 24 Aug 2020 21:27:45 +1200
To: bug-GnuPG-Interface [...] rt.cpan.org
From: Andrew Ruthven <andrew [...] etc.gen.nz>
Hi Dianne, On Mon, 2020-08-17 at 16:12 -0400, Dianne Skoll via RT wrote: Show quoted text
Oh, I didn't know about triggers. Show quoted text
> Can you verify that it works for you?
Yes, that works nicely. Cheers, Andrew -- Andrew Ruthven, Wellington, New Zealand andrew@etc.gen.nz | Catalyst Cloud: | This space intentionally left blank https://catalystcloud.nz |