News for hackers. Stuff that matters.
Re:Encrypt a file so that only a SSL site's private key can ... by pnathan on Sunday April 03, 2011 @12:38PM (#2403119)
I suggest you patch the call to rm with a call to srm:

http://en.wikipedia.org/wiki/Srm_(Unix)

Re:Encrypt a file so that only a SSL site's private key can ... by AdmiralBeotch on Monday April 04, 2011 @01:04PM (#2407395)
Better to mount /dev/ram0 and do your encryption there. Then shred; rm -rf; umount for the win.
Re:Encrypt a file so that only a SSL site's private key can ... by apgwoz on Sunday April 03, 2011 @01:06PM (#2403186)
...or at least use shred(1) and then rm(1)
Re:Encrypt a file so that only a SSL site's private key can ... by pnathan on Sunday April 03, 2011 @01:12PM (#2403201)
Six of one, half a dozen of the other?

Also note that there are interesting complications in relation to file data long-term storage on SSD drives. It should be investigated.

Re:Encrypt a file so that only a SSL site's private key can ... by koenigdavidmj on Sunday April 03, 2011 @03:44PM (#2403641)
Or journaling file systems.