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

PKCS7_verify fails to return me original signed binary

I have an application signed twice using openssl smime. like shown below in a script: SRC_FILE="my-app" echo "signature XYZ..." openssl smime -sign \ -in ${SRC_FILE} -binary \ -out ${SRC_FILE}.sig1 -nodetach \ -signer ${SIGN_CERT} -inkey…
Anand
  • 157
  • 2
  • 11
0
votes
1 answer

How do I sign an email message with a certificate and private key?

So I'm trying to sign an email using an X509Certificate2 that has been selected by a user. I've been trying to do this using MimeKit but the documentation for this appears to be old. This is how they tell you to do this on the github page (found…
Adam Jones
  • 2,370
  • 5
  • 23
  • 40
0
votes
1 answer

How to access app's certificate store in Windows Phone 8.1 Runtime App

I'd like to access my app's certificate store from another app. I have already enabled "sharedusercertificates" in the package.appmanifest file. Windows.Storage.StorageFile selectedCertFile = await folder.GetFileAsync(fileName); IBuffer buffer =…
0
votes
1 answer

MimeMessage.getAllHeaders() returns two different classes in two different projects

I have a project about mailing and works without problem but I created another project that is also about mailing generated MimeMessage cannot be parsed in first project. I studied the classes and found difference between header class of…
bdogru
  • 812
  • 1
  • 11
  • 19
0
votes
1 answer

Can't decrypt signed S/Mime Message

I'm at the moment realizing an S/Mime decryption using PHP. What i got so far: $keys = array("public"=>$atm."/public-keys/".$usr.".smime", "private"=>$atm."/private-keys/".$usr.".smime"); if(!file_exists($keys["public"])) die("Public…
James Cameron
  • 1,681
  • 25
  • 40
0
votes
1 answer

Read email S/MIME and attachments p7s

I have an e-mail S / MIME key p7s should read the attachment postacert.eml but this is not one of my attachments, why? It is found in the case smime.p7s? Why I can not decrypt it with this code? byte[] VetByte =…
user2216394
  • 1
  • 1
  • 5
0
votes
3 answers

Secure messaging using Secure MIME is it reliable?

We have an automatic reporting and notification system written in .net that sends emails with plain text. We are having to encrypt the messages that we send our clients. The possible implementation approaches we have: Send messages as S/Mime email…
aaronb
  • 2,149
  • 15
  • 8
0
votes
1 answer

Clear Text Signing using OpenSSL in C Code

I am trying to sign a email message using OpenSSL. I want to perform Clear Text Signing on the email message. I know I can do this using command prompt with the command: openssl smime -sign -in hw.txt -text -out signed.msg -signer mycert.pem But…
yashdosi
  • 1,186
  • 1
  • 18
  • 40
0
votes
1 answer

Error when verifying a clear signed SMIME message

I've a message like this in file testSmimeMsg.txt: ABC is our biggest acquisition ever and as you can imagine, customers and partners alike are eager to hear how we plan to integrate it into XYZ. Specifically, how are we going to bring the two…
kdas
  • 602
  • 2
  • 7
  • 22
0
votes
0 answers

Ways to verify XML is unchanged in database

I am looking to see if there is a way to verify that the XML I am storing in the database has not been tampered in any way. I have thought about doing an md5 hash but a skilled hacker would understand that and just regenerate the hash. So now I am…
bhawkins
  • 326
  • 2
  • 11
0
votes
2 answers

S/MIME using a trusted certificate

I have been playing around with sending encrypted email with S/MIME. I am using our server certificate which is registered with GoDaddy.com and has a valid date until 2016. When the end user receives the email the first time, our certificate path…
user1091524
  • 865
  • 1
  • 15
  • 28
0
votes
2 answers

How to validate s/mime signature using openssl

How to validate s/mime signature using OpenSSL. Through command line we can verify with: openssl smime -verify -in detachedsign.pem -content content.txt What is the equivalent method for openssl smime -verify command on Mac OSX?
0
votes
1 answer

Can S/MIME be still considered secure?

Recently there has been a discussion whether secret service agencies have access to certification authorities. Before that several CAs were facing security problems being attacked by hackers. Given this, I am wondering whether S/MIME can be still…
user2683038
  • 667
  • 6
  • 17
0
votes
2 answers

DES Algorithm Identifier

Can somebody please give me an authoritative reference that 1.3.14.3.2.7 is the DES algorithm identifier used in S/MIME? I figured the number by sending a DES encrypted email and viewing the P7M file of the email.
hiddenUser
  • 674
  • 1
  • 7
  • 19
0
votes
1 answer

Sending S/Mime message to BizTalk - but Biztalk cannot decode it

I am trying to send an S/Mime message to BizTalk but it doesn't seem able to receive it. I can encrypt and decrypt a message from my code (I'm working in Powershell as a proof of concept ) using the BizTalk certificate and the…
glenatron
  • 11,018
  • 13
  • 64
  • 112
1 2 3
19
20