Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Crypt::OpenPGP encryption signature

by Athanasius (Abbot)
on Mar 27, 2013 at 04:30 UTC ( #1025627=note: print w/ replies, xml ) Need Help??


in reply to Crypt::OpenPGP encryption signature

I’m not familiar with the Crypt::OpenPGP module, but from the sourcecode:

sub encrypt { ... if ($param{SignKeyID}) { $ptdata = $pgp->sign( ... KeyID => $param{SignKeyID}, ...

and from the documentation for $pgp->sign( %args ):

%args can contain:
  • ...
  • KeyID
    The ID of the secret key that should be used to sign the message. The value of the key ID should be specified as a 16-digit hexadecimal number.
    This argument is mandatory.

So SignKeyID is required to be a 16-digit hexadecimal number. I hope this is helpful.

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,


Comment on Re: Crypt::OpenPGP encryption signature
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (18)
As of 2015-07-30 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls