LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 10-03-2007, 11:03 AM   #1
cooljai
Member
 
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 57
Thanked: 0
Question how to Digitally sign mails?


[Log in to get rid of this advertisement]
Dear friends,

I want to send digitally signed mails through my PHP/perl scripts. I'm comfortable with using "gpg" tool, after creating my public/pvt keys, I'm able to sign and mail contents of a file using following command:

Code:
 /usr/bin/gpg --no-tty --yes  --local-user $email --clearsign $filename
Now that command will add text " -----BEGIN PGP SIGNED MESSAGE----- " etc. in message and moreover the mail clients are not
detecting it as a signed mail. To verify that mail, I've to cut/paste contents and pass it to gpg again.

I saw some mails which comes in inbox (thunderbird, outlook etc), the mail client automatically detects them as digitally signed mails and show their contents. (without extra text like "--Begin PGP SIGNED.." "--End " etc.)

I need any hint/clue as how to accomplish this using scripts (I'm on CentOS 4.5). Am I able to implement it using GPG or should I concentrate on any other technology (may be S/MIME or digital Certificates/openSSL, though I dont know much about them)

Your expert comments will be highly appreciated.

Thanks

JC
cooljai is offline  
Tag This Post , , ,
Reply With Quote
Old 10-03-2007, 11:10 AM   #2
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 507
Thanked: 22
Well, I'm no expert, but I darkly remember an existing package for PHP and GPGme mingled together somehow.

This might be it: http://pecl.php.net/package/gnupg
Su-Shee is offline     Reply With Quote
Old 10-04-2007, 07:56 AM   #3
cooljai
Member
 
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 57
Thanked: 0

Original Poster
Thanks for reply.

But I think this php gnupg package is just a wrapper to gpg utility. What I am looking to find a method so that I can send digitally signed mails by using scripts and the mail client (outlook/thunderbird) will understand and display them properly.

Thanks
cooljai is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How you can digitally sign OpenOffice.org documents LXer Syndicated Linux News 1 10-10-2006 09:21 PM
Xine problems with Digitally Imported ceros Linux - Software 1 06-29-2006 03:19 PM
sign on invisible in gaim - NOT invi after sign on saravkrish Linux - Software 7 09-12-2005 11:55 PM
squirrelmail gpg plugin - can't sign mails phil.d.g General 3 05-29-2005 01:29 PM
How to digitally sign a pdf document ssaigol Linux - Software 2 05-21-2005 05:15 AM


All times are GMT -5. The time now is 10:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration