Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Crypt::OpenPGP Problems: No Packets (Win32)

by Anonymous Monk
on Nov 14, 2007 at 13:16 UTC ( #650737=perlquestion: print w/replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I'm using Crypt::OpenPGP on Win32 and am running in to some problems and really don't know where to go from here.

(I'd like to use a pure Perl PGP package so that I can automatically decrypt then process PGP files, without having to have extract software installed in the production environment. But if anyone has a different package to suggest, I'm open for it.)

I minimized a script I am writing down to only reading the file in (binmode) and trying to pass it on to the decrypt method. After fixing the blocksize problem (see post 335536), I get the message "No packets found in message" even though there is data in the file.

Any suggestions to how to resolve this? I will post code if someone requests, but since it is all for work, I'd have to change portions. Let me know if you need the visual.

The test file is an ASCII .txt file, only contents is a single letter ('r'), encrypted using PGP v8.0.3 for windows. ActiveState dist 5.8.8 build 822.

Thanks, Matthew
  • Comment on Crypt::OpenPGP Problems: No Packets (Win32)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://650737]
Approved by marto
Front-paged by planetscape
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-06-25 07:02 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.