boat73 has asked for the wisdom of the Perl Monks concerning the following question:
From my understanding of Crypt::OpenPGP::KeyRing (admitidly limited) it looks like I can put my pubring data directly into my script rather than read from a file. Does anyone have a simple example of how to do this? My script is using Open::PGPcrypt and works great.
$pgp = Crypt::OpenPGP->new (
"PubRing" => $pubringfile #### Define path to public ring to be
+ used for encryption
)or die Crypt::OpenPGP->errstr;