Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 meditating upon the Monastery: (3)
As of 2017-12-13 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (352 votes). Check out past polls.

    Notices?