Skip Menu |

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

Report information
The Basics
Id: 82315
Status: new
Priority: 0/
Queue: Crypt-OpenPGP

Owner: Nobody in particular
Requestors: sandals [...]

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

Subject: [PATCH] Add support for Crypt::CAST5
Download (untitled) / with headers
text/plain 548b
Currently, Crypt::OpenPGP uses Crypt::CAST5_PP to support CAST5. Some people might have Crypt::CAST5 instead; this can also be significantly faster. Attached is a patch that allows using Crypt::CAST5 if Crypt::CAST5_PP is not available. I have a branch for this at git:// crypt-cast5. Please note that this is based on my non-pari branch, not current master, so you'll want to use the patch if you're not interested in merging non-pari at this time. The testsuite continues to pass on Debian amd64/sid.
Subject: crypt-cast5.patch
Download crypt-cast5.patch
text/x-diff 422b
diff --git a/lib/Crypt/OpenPGP/ b/lib/Crypt/OpenPGP/ index 8476657..4b11aa2 100644 --- a/lib/Crypt/OpenPGP/ +++ b/lib/Crypt/OpenPGP/ @@ -111,7 +111,7 @@ package Crypt::OpenPGP::Cipher::CAST5; use strict; use base qw( Crypt::OpenPGP::Cipher ); -sub crypt_class { 'Crypt::CAST5_PP' } +sub crypt_class { ['Crypt::CAST5_PP', 'Crypt::CAST5'] } sub keysize { 16 } sub blocksize { 8 }

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

Please report any issues with to