Here's how I'd do it:
  1. create GPG key with client and show them how to use it with a co-operative email client - say Thunderbird and Enigmail
  2. make them back the private key up onto a floppy or other external medium, and keep it somewhere safe.
  3. when parsing a form, encrypt using the client's public key.
  4. store a copy (encrypted!) on the server and email them a copy.
  5. depending on client, either automatically delete those stored on server after a certain time (one week?), write a web interface to them, or instruct them on how to download them through FTP. This is just a double check for them so that they can check they received all emails mailed to them
  6. If the client has no objections, also keep copies encrypted with your public key - back in the days when I was doing this ('99), I had a few clients who either lost their private key(?) or would buy a new computer and 'forget' to retrieve their key from their old machine. And even if they have backed up their key - well, let's just say you shouldn't be surprised :)

Some new modules look promising - eg Mail::GPG but I have no experience of it.

However you do it, you'll probably get warnings about "using shared memory". A bit hard to do much about though if it's not your box. That's about as safe as you'll get on a shared box IMHO ;-)

cLive ;-)


In reply to Re: [OT] E-mail security by cLive ;-)
in thread [OT] E-mail security by bradcathey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.