Skip Menu |
 

This queue is for tickets about the Crypt-GPG CPAN distribution.

Report information
The Basics
Id: 124020
Status: new
Priority: 0/
Queue: Crypt-GPG

People
Owner: AGUL [...] cpan.org
Requestors: LITTLEFOX [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.64
Fixed in: (no value)



Subject: [Patch] sign without armor
Download (untitled) / with headers
text/plain 196b
Hello, please apply the attached patch to allow $gpg->sign() when armor is disabled. This is working for our test case, but not tested heavily. Thanks and best regards, Moritz "LittleFox" Grosch
Subject: crypt-gpg.patch
Download crypt-gpg.patch
text/x-diff 374b
--- old/Crypt/GPG.pm 2014-09-18 21:23:58.000000000 +0200 +++ new/Crypt/GPG.pm 2018-01-05 14:39:16.196000277 +0100 @@ -112,7 +112,10 @@ finish $h; my $info; - if ($self->clearsign) { + if(!$self->armor) { + $info = $out; + } + elsif ($self->clearsign) { $out =~ /(-----BEGIN PGP SIGNED MESSAGE-----.*-----END PGP SIGNATURE-----)/s; $info = $1; }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.