Questions tagged [smime]

S/MIME (Secure/Multipurpose Internet Mail Extensions) is a standard for public key encryption and signing of MIME data.

291 questions
0
votes
0 answers

Apple IOS profile issue S/MIME not working

I have been having a headache for a long time trying to get this to work. My goal is to create a self signed CA that I can use to create x509 certs so I can install them in two apple ios devices so the two devices can share digitally signed and…
RadarG
  • 9
  • 2
0
votes
1 answer

Email: DKIM Fails with S/MIME Signature

We have the following Mail Flow in our Company. Exchange => ASSP => Postfix (DKIM Applies here) => CiperMail (S/MIME Applies here) => Internet Now I face a problem, that as soon as I sign a Mail with S/MIME (Not encrypt - only sign), the DKIM…
Niklas Riecken
  • 303
  • 1
  • 6
  • 20
0
votes
1 answer

OpenSSL treats smime message with Content-type 'Application/EDI' as text and changes line breaks

I receive smime message with content-type 'Application/EDI'. It is non-standard mime type and content should be interpreted as binary. But OpenSSL during verifying signature treats it as text and changes line breaks from '\n' to '\r\n' (as needed by…
Donz
  • 1,389
  • 1
  • 13
  • 21
0
votes
1 answer

SMIME with BIO, char * and binary data

The problem 1- I'd like to create a MIME message. Something like this: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="---12345" This is a multipart message in MIME format. ---12345 Content-Type: text/plain This is the plain…
J11
  • 426
  • 1
  • 6
  • 17
0
votes
0 answers

Java - sending email via javamail and using SSL

I am trying to send an email over SSL, I already have the certificate and I have imported it into my cacerts file. I assumed that by default, java would look for the cacerts file in the java_home, or in the jdk specified for the project. This is not…
Dan Gal
  • 99
  • 3
  • 10
0
votes
1 answer

Encrypted S/MIME E-Mail with un-encrypted part possible?

I would like to know whether it is technically possible to created an S/MIME-encrypted E-Mail that also contains un-encrypted part. The idea is that the user would see the un-encrypted part, if and only if the message could not be decrypted (e.g.…
dtr84
  • 241
  • 1
  • 2
  • 10
0
votes
1 answer

S/MIME timestamp in Windows

My app requires signing of data given to customers, so I have implemented S/MIME to sign or encrypt any sort of data, where at the same time my clients can view the signed data with either my app, or with an email client that can view EML files. So…
Michael Chourdakis
  • 10,345
  • 3
  • 42
  • 78
0
votes
2 answers

How to deliver private keys for later decryption safely?

I'm developing the set of applications, that provide the possibility to read encrypted data between several users using email messages. It's rather hard... If to compare email messaging with the live chatting (IMs) through single server (for live…
user4959035
0
votes
2 answers

Remove two hyphens from MimeBodyPart javax.mail.message

I create a s/mime using javax.mail 1.5.5 Unsigned mime message as follows: As you see there is a two hyphens at the end of part I create s/mime then two hyphens are removed so signed value is different public class TestKepSignStackOf { private…
Winston
  • 1,800
  • 2
  • 20
  • 30
0
votes
1 answer

Custom properties on attachments are not preserved when encrypting/signing emails

I have an C++ Outlook addin. when a message with an attachment is sent, I set a custom property on the attachment, and I can read it at the receiver's side. However, when the sender encrypts/signs the message, my property disappears and I cannot…
elad-ep
  • 333
  • 1
  • 9
0
votes
1 answer

Verifying if an email contains a s/mime in python

Is it possible, using python without os calls, to detect if an incoming email message is signed ? (Don't care about the certificate validity, I just want to know if the message contains a signed content) The corresponding openssl command I'd like to…
kitensei
  • 2,510
  • 2
  • 42
  • 68
0
votes
1 answer

Open p12 files on ios device

I have this requirement to download .p12 file(certificate) from a vendor and make it available on my app for the user to install it on to his device. Now If I attach a .p12 file to email and when the recipient clicks on the file on iphone it will…
Amar
  • 1
  • 1
  • 2
0
votes
1 answer

Sign MimeBodyPart which has attachments in it (with Bouncycastle)

I am working with OpenAS2Server-1.3.3 library. There sending a single document is working fine.. Now I wanted to modify it to send document with attachments, like we do with emails. In this scenario, all the decription work well, but signature…
0
votes
2 answers

M2Crypto: read PKCS#7 structure in DER format?

M2Crypto SMIME object has methods to load itself from PKCS#7 file in PEM format: smime_object = SMIME.load_pkcs7('file.pem') I do not see any method to load from PKCS#7 file in DER format. How can this be done?
Konstantin Shemyak
  • 2,369
  • 5
  • 21
  • 41
0
votes
1 answer

Howto Verify Signature of a SMIME multipart/signed application/x-pkcs7-signature Mail

I am working on a larger application which receives email by POP3, IMAP or through import from .msg Files (Exported form Outlook or dragged over from Outlook). Recently I received an email with an attachment "smime.p7m". After further inspection it…
DrKoch
  • 9,556
  • 2
  • 34
  • 43