This is a discussion on Re: openssl smime and performance - Openssl ; On Wed, Jan 16, 2008, Fabien Penso wrote: > Hi, > > I was wondering if the performance I had for signing emails was > normal, and how I could improve it. I have the following : > > time ...
On Wed, Jan 16, 2008, Fabien Penso wrote:
> I was wondering if the performance I had for signing emails was
> normal, and how I could improve it. I have the following :
> time for i in `seq 0 100`; do openssl -sign -passin pass:something -in
> /tmp/foobar -text -out /tmp/foobar.signed -signer vserver.crt -inkey
> server.key ; done
> that takes about 17sec on my core 2 duo, is that what I should get ?
> How can I improve it in case of mass emails and need to send 1,000
> mails ?
> the /tmp/foobar file is :
> $ cat /tmp/foobar
> From: firstname.lastname@example.org
> To: email@example.com
> Subject: Empty subject for signed
> Mime-Version: 1.0
> This is the body of the mail
> Any hint is welcome.
What key size are you using? If it is something large like 8192 bits it will
take longer. You also have the overhead of running the openssl command each
If the message is the same to many users you can use OpenSSL to create the
signed MIME message once and add headers manuallu each time.
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
OpenSSL Project http://www.openssl.org
User Support Mailing List firstname.lastname@example.org
Automated List Manager email@example.com