Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: SMIME using encrypted key

by Anonymous Monk
on Mar 20, 2013 at 07:10 UTC ( #1024458=note: print w/replies, xml ) Need Help??


in reply to SMIME using encrypted key

I'm using Crypt::SMIME If I decrypt a message the result is encrypted. I assume this is because I need to decrypt the key sent with the message and then use it to decrypt the rest of the message. How can I do this?

You're confused. You need public key to encrypt a message, you need private key to sign/decrypt a message. You don't include either key in the message. You share public keys via a certificate authority / keyserver. You don't share private keys.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024458]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-12-06 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (102 votes). Check out past polls.