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.
In reply to Re: SMIME using encrypted key
by Anonymous Monk
in thread SMIME using encrypted key
by quasi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |