Skip Menu |

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

Report information
The Basics
Id: 2225
Status: resolved
Priority: 0/
Queue: Crypt-OpenPGP

People
Owner: Nobody in particular
Requestors: patrick.valsecchi [...] nagrastar.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.03
Fixed in: 1.04



Subject: Crypt::OpenPGP::KeyRing::find_keyblock_by_uid case sensitive
The find function for keys must be case insensitive in order to work like in GPG. For that, the function: sub find_keyblock_by_uid { my $ring = shift; my($uid) = @_; $ring->find_keyblock(sub { $_[0]->id =~ /$uid/ }, [ PGP_PKT_USER_ID ], 1 ); } should be: sub find_keyblock_by_uid { my $ring = shift; my($uid) = @_; $ring->find_keyblock(sub { $_[0]->id =~ /$uid/i }, [ PGP_PKT_USER_ID ], 1 ); }
Resolved in version 1.04: http://cpansearch.perl.org/src/BTROTT/Crypt-OpenPGP- 1.04/Changes