http://www.perlmonks.org?node_id=939428


in reply to Stumped by Crypt::OpenPGP::Signature->key_id

Last time we danced the key-file formats had some issues ( see Crypt OpenPGP Brain twister )

Anyway, http://search.cpan.org/grep?cpanid=BTROTT&release=Crypt-OpenPGP-1.06&string=_id&i=1&n=1&C=0

13: # secret key $key_id, protected with the passphrase $pass. 15: my $key_id = '...'; 19: KeyID => $key_id, 32: # Using the public key associated with $key_id, encrypt the + contents 36: Recipients => $key_id, 93: Recipients => $key_id, 278: substr($cert->key_id_hex, -8, 8); 399: push @return, $cert unless $BAD_KEYS{ $cert->k +ey_id_hex }; 576: $cert->key_id_hex;

Try ->key_id_hex