|Subject:||wish: better error handling in ::SessionKey|
I'm getting this cryptic error with 1.03: Can't call method "keysize" on an undefined value at /usr/local/lib/perl5/site_perl/5.6.1/Crypt/OpenPGP/SessionKey.pm line 27. Here's the line: my $keysize = Crypt::OpenPGP::Cipher->new($alg)->keysize; It would be nice if the code checked to see whether this call to new() producted a valid object. If not, it could die with a nice error message telling me something about $alg, which would give me a hint of where to look next. Thanks!