Thanks for the link to that node, of course it was exactly what I was thinking about doing.... a Tk or Gtk2 front-end to GnuPG. The idea I had, stealing from some javascript keyboard security code, was to make a mouse-driven virtual keyboard for entering the password, to avoid keystroke loggers.

I did do some digging on ramdisks and tmpfs, and disposible swap.... and it seems that if a program is on a ramdisk, it will execute there, and can then be wiped. But many gotcha's start to creep in, like does the entire Perl executable, and it's modules, and finally the script itself, need to be on the ramdisk.

Thanks to all who answered. By the way, I agree the idea of freezing a laptop to slow it's memory drainage is a bit James Bond-ish, but the idea of root, routinely dd'ing off /dev/mem and /dev/swap to search for password strings seems a pretty plausible form of insecurity.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

In reply to Re^2: Can Perl encryption scripts be run with ram wipe by zentara
in thread Can Perl encryption scripts be run with ram wipe by zentara

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.