You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some automated emails that I want to send encrypted using S/MIME. I have the recipients public key file in .pem format, I have a file, let's say "message.txt", that I want to send him, so I can encrypt it like
So how do I send this with sendEmail, so that the recipient (who has the corresponding private key) will receive it in a way so that his GUI email client (e.g. Apple Mail) will automatically decrypt the contents?
The text was updated successfully, but these errors were encountered:
I managed to send an encrypted email by piping the openssl stdout to sendEmail, and using the -o message-format=raw option. Problem is that Apple Mail says that there was an error decrypting the message, which is weird, because I used the correct public-key.pem, and I have the corresponding secret key in my keychain. Will have to look into this further.
There are some automated emails that I want to send encrypted using S/MIME. I have the recipients public key file in .pem format, I have a file, let's say "message.txt", that I want to send him, so I can encrypt it like
The result looks like:
So how do I send this with
sendEmail
, so that the recipient (who has the corresponding private key) will receive it in a way so that his GUI email client (e.g. Apple Mail) will automatically decrypt the contents?The text was updated successfully, but these errors were encountered: