GnuPG _is_ setuid
Posted Mar 11, 2007 21:40 UTC (Sun) by
evgeny (guest, #774)
In reply to:
GnuPG _is_ setuid by ekj
Parent article:
GnuPG signed message spoofing vulnerability
Well, such functions may have e.g. insecure_ prefix added, and/or put into a separate header file so one makes an educated decision when using them.
In general, though, the locked-to-RAM pages are more or less a fiction. With the VM stuff entering our life, what an OS believes is RAM might actually be a swap in the host. Ditto for software/hardware suspend etc. All in all, I prefer a clean API over a mess with potential marginal extra security through the locked pages (and much less marginal chances of get screwed because of potential bugs in gpg being run setuid). Not to mention that e.g. ssh doesn't use mlock so ... why would one worry about gpg specifically?
(
Log in to post comments)