Skip Menu |

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

Report information
The Basics
Id: 29048
Status: resolved
Priority: 0/
Queue: Crypt-RSA

People
Owner: VIPUL [...] cpan.org
Requestors: sharifulin [...] gmail.com
Cc:
AdminCc:

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



Subject: Crypt::RSA::SS::PSS
Hi! I find bug in Crypt::RSA::SS::PSS. sub verify { my ($self, %params) = @_; ... return 1 if $self->verify_with_salt_recovery ($M, $em1); print $self->errstr; # bug :) return $self->error ("Invalid signature.", \$M, \$S, $key, \%params); } Print errstr into STDOUT is bad idea! If I write cgi script, this errstr will be interpretation by server as HTTP header and cgi script will die. I fixed it - remove string "print ..." :) Anatoly Sharifulin. www: http://www.sharifulin.ru/ lj: http://sharifulin.livejournal.com/tag/crypt::rsa
Patch in Crypt::RSA 1.60.