From: Eric Wong Date: 2012-03-24T13:46:09+09:00 Subject: Re: Write to kernel buffer? ruby rub wrote: > It isn't possible to clear keyboard buffers? Wow this + lack of ability > to clear kernel buffers makes secure wipes of password from memory > impossible, how unfortunate. Are there bad ways to try to force it from > userspace? Maybe there's some ioctls, but hardly standardized. On the other hand, if your kernel is buggy/compromised and not wiping memory when new apps need it, I think you're screwed anyways. Machines for large financial institutions and businesses process countless logins every day without explicitly wiping kernel/hardware buffers. I think your use of StringIO to wipe a buffer is secure enough :)