Skip Menu |

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

Report information
The Basics
Id: 93523
Status: open
Priority: 0/
Queue: Crypt-RSA

Owner: Nobody in particular
Requestors: MORNINDED [...]
Cc: ether [...]

Bug Information
Severity: Important
Broken in: 1.99
Fixed in: (no value)

Subject: Crypt::RSA uses FindBin improperly
Download (untitled) / with headers
text/plain 705b
Crypt::RSA uses FindBin to calculate the location of lib directories for further inclusion. This is problematic for a few reasons: 1) it assumes the directory layout of the calling module 2) FindBin::Bin is calculated only once during a BEGIN block for the entire application 3) it is generally unnecessary when using fully namespaced modules 4) it breaks code running under modperl, or really any forking server that runs includes the library after forking I have successfully tested the latest version with the following lines deleted From Crypt::RSA : use FindBin qw($Bin); use lib "$Bin/../../lib"; From Crypt::RSA::Key::Private::SSH : use FindBin qw($Bin); use lib "$Bin/../../../../../lib";
Already fixed in Alt::Crypt::RSA::BigInt for all the reasons noted.
Download (untitled) / with headers
text/plain 184b
This seems to be a repeat of . Considering how that issues is over a year old, should we consider contacting the maintainer directly?

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

Please report any issues with to