Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Crypt::OpenPGP encryption signature

by sundialsvc4 (Abbot)
on Mar 27, 2013 at 13:27 UTC ( #1025718=note: print w/ replies, xml ) Need Help??


in reply to Crypt::OpenPGP encryption signature

I suggest that you start with acquiring a basic understanding of how the GPG/PGP system works.   The system uses a “key ring” in which both public and private keys are stored.   It refers to both of these keys by means of a 16-hex-digit “ID,” and an 8-hex-digit “short ID” which is simply the right-hand half of the first.   There is also a “fingerprint” which consists of a string of 4-hex-digit groups.   All references to keys are made by long or short ID.

It would appear either that the appropriate secret-key is not on the key-ring, or that at some point the Perl code does not know where to locate the key-ring file.   Commands such as gpg --list-secret-keys should be able to show you what keys your system knows about.   This is also how keys are managed on keyservers.

GPG is a sufficiently-different system, with its “web of trust” concept and so on, that you should pause and spend some time getting to know its mind-set.   GPG implements the notions of code-signing and so forth without the assumption that there is, or ever could be, a central, über-trustworthy “certifying authority.”   Thawte & Co. would have no money to earn from it.


Comment on Re: Crypt::OpenPGP encryption signature

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2015-07-05 21:37 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 (68 votes), past polls