473,395 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

howto digitially sign emails programmatically with pgp?

Hello!

I m looking for a solution to generate a digitally signed mime-email
with linux/perl and to feed/pipe this then to sendmail. I found RFCs
related to mime-signed etc. but somehow fail to implement them or rather
make it work.

Is there a fininshed cpan module that can do this? I didnt find one though.

Second, what if i want to use verisign/thawte digital certs for email
signing, howto do this programmatically?

Thank you for any help,
regards
Philipp

Jul 19 '05 #1
4 5658
Could you please be a little more specific about what you want to achieve?

As I understand, you want to sign emails. There are many digital signature
standards, which one do you want to follow?

S/MIME, PGP/MIME or PGP cleartext signature?

In what form are your emails available? Plain text, MIME payload or
RFC-822 complete with headers?

--
Daniel

Jul 19 '05 #2
Hello!

Nagy Daniel schrieb:
Could you please be a little more specific about what you want to achieve?
Well, given are a text file with the message content and 1+ PDF files.
It works fine to generate MIME-Emails and we can send them sans problem.
As I understand, you want to sign emails. There are many digital signature
standards, which one do you want to follow?
Well, any that the majority of ppl can use: current versions of Outlook,
Outlook Express, Mozilla, Netscape.
S/MIME, PGP/MIME or PGP cleartext signature?
In what form are your emails available? Plain text, MIME payload or
RFC-822 complete with headers?


Well the emails dont need to be encrypted or so, what we just want to
ensure with the digital signature is that the contents are from us and
not tampered with. To your question I would replay that the to-be-signed
content of the email is available as a list of 7bit mime-parts, the
message contents and the encoded PDF attachments.

Thank you,
regards
Philipp Ott
Jul 19 '05 #3
On Mon, 15 Mar 2004, Philipp Ott wrote:
As I understand, you want to sign emails. There are many digital signature
standards, which one do you want to follow?


Well, any that the majority of ppl can use: current versions of Outlook,
Outlook Express, Mozilla, Netscape.


In that case, you're tied to S/MIME signatures, as I am not aware of
PGP plugins for Outlook & Co. S/MIME is handled by "openssl" in a
scriptable fashion. You can generate S/MIME signed messages automagically.

Even though I have to admit that I strongly dislike S/MIME and all the
PKI/X509 business. I think it's a scam to extort money for certification
and has a lot of very real shortcomings when compared to OpenPGP and
PGP/MIME. For Mozilla and Netscape there is a plug-in called "enigmail"
which handles PGP/MIME. I have a sript that generates PGP/MIME signed
messages, if you need that. But, again, it might not work for Outlook and
Outlook Express.
S/MIME, PGP/MIME or PGP cleartext signature?
In what form are your emails available? Plain text, MIME payload or
RFC-822 complete with headers?


Well the emails dont need to be encrypted or so, what we just want to
ensure with the digital signature is that the contents are from us and
not tampered with. To your question I would replay that the to-be-signed
content of the email is available as a list of 7bit mime-parts, the
message contents and the encoded PDF attachments.


It doesn't answer my question. But if you want it to work out-of-the box
for the most popular email clients, go for S/MIME as much as I hate it.

--
Daniel

Jul 19 '05 #4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nagy Daniel <na******@cs.bme.hu> wrote:
In that case, you're tied to S/MIME signatures, as I am not aware of
PGP plugins for Outlook & Co.
Well the commercial PGP versions (Personal, Workgroup and Enterprise)
have plugins for Outlook, Outlook Express, Eudora, Entourage, and Apple
Mail at least [1]. Since you talk about Enigmail afterwards, I think you
don't mean Mozilla and Mozilla Thunderbird in your "& Co." :)

There are also free solutions to sign, verify, encrypt and decrypt
text & files, more or less integrated to mail clients. For example
WinPT has a 'tray' icon that can process files, or the text which is in
your clipboard, plus it has Eudora and Outlook Express plugins [2].

[1] http://www.pgp.com/products/personal.html for example
[2] http://winpt.sourceforge.net/en/download.php
For Mozilla and Netscape there is a plug-in called "enigmail"
which handles PGP/MIME. I have a sript that generates PGP/MIME signed
messages, if you need that. But, again, it might not work for Outlook and
Outlook Express.


I really like Enigmail, as you can see in my GnuPG comment :-) Could
you send your PGP/MIME signing scripts by the way, I'd like to see how
it looks like?

Best regards,
- --
clem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Secure Email! http://dudu.dyn.2-h.org/gpg-enigmail-howto

iQEVAwUBQFsYb5C029jjKP/wAQJrjQf/SVh7Q7bjeUiD52LL/xvetJwDT0LypLjQ
KI+qvPlZgkxmsKEusChxyZ/4EtJ5nz2N+qEqFwRijaked+MaunbIxQrhhCdxgGtG
mCfh9PmTtBUmwMqX2qcYnbrpFxX+n2JHbTSWQeQ71x+JxQyKXL xcPgUHPLe3pLTO
3l7K9CiUqKZMI9drHIwFiC68u6xx9isQ5ETQakD9PAT8NaEQjn 0fwhURWTWb4sl/
l4CfaVKRJh+W1SqLE3eKnPFdVSjSPS7mT8ALYsLOXCkt7ER8dn 3NSgFvo8JedzIF
PDx9dQTOnZ6Qcd7X71Xsij+Ewws36ZnQlc2Dk124mqkiMX2Szb eGUw==
=L4AL
-----END PGP SIGNATURE-----
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Gernot Hillier | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm the developer of a Linux ISDN application which uses embedded Python for controlling the communication. It starts several threads (i.e....
3
by: Plumer | last post by:
Good morning everyone Using C# I create a bog-standard System.Data.DataTable which I then Add to a System.Data.Dataset (At the moment I'm in the guess-and-test phase so the table has only one...
4
by: Dan Sikorsky | last post by:
How do you set the this.Icon property of a windows form to the App.ico file specified in the Project Properties? I don't want to type in the path and filename; I want to set the form's icon...
3
by: cweeks | last post by:
I am using the Webbrowser control in VS 2005 C# Express to automate the navigation of pages on a partner's web site. The first page contains an <IFRAME> element: <iframe style='width:40;...
6
by: CMan | last post by:
Hi, I need to check emails from a web application. Is there a simple way for the application to check whether an email arrived? Thanks C
0
by: Summa | last post by:
We are developing a PKI web application using Microsoft Visual Studio.Net 2003(ASP.net-C#) with WSE 1.0(Service Pack1) and IIS.We use Windows 2003 Server for user management through Active directory...
2
by: Pawel | last post by:
Howto: Programmatically serialization Entry Method Parameters ( their values ) ? See example below: public static void C(string Code, string Name) {
1
by: malick | last post by:
Hello it developers, I'm using PHPExcelReader which I downloaded from sourceforge (http://sourceforge.net/projects/phpexcelreader) To read excel xls files in php. In the file reader.php (...
1
by: Yashgt | last post by:
Hi, Just as we use the System.Net.Mail.SmtpClient class for programmatically sending emails through an SMTP server, what can we use for receiving emails from a POP3 server. We want to mimic a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.