Bug #7846 | document whether server-side variables will be swapped out and robustness | ||
---|---|---|---|
Submitted: | 12 Jan 2005 22:01 | Modified: | 20 May 2007 12:57 |
Reporter: | Ralf Hauser | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S4 (Feature request) |
Version: | 4+ | OS: | Any (any) |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[12 Jan 2005 22:01]
Ralf Hauser
[22 Aug 2005 0:17]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Additional info: Actually, the advice appears to be questionable, as it still involves sending the key over the connection in the first place. I'm going to remove the suggestion from the manual. Regarding swap behavior, that's not really relevant. Someone who could examine swap files probably could also examine memory images of unswapped processes.
[22 Aug 2005 16:15]
Ralf Hauser
Thanks for the clarification. Two thoughts to consider. When initially setting the AES key to the server, I guess doing this via SSL or tunneled through SSH could solve the first issue you are listing. As per the swapping. While I agree that someone who can see the swap files typically also can see the RAM is certainly true. However, we got the requirement several times that when a machine gets physically stolen and only after this thoroughly analyzed, a swap file may well still be around while a non-swapped key in RAM typically no longer is...
[20 May 2007 12:57]
Ralf Hauser
as per the swapping, /sbin/cryptsetup allows to setup encrypted swap space such that the notorious "after decommissioning the hardware, someone found secret key material from hard-disks on the recycling ground by bank xyz..." problem can be avoided. Similarly, one has to make sure that there is no sql-log that contains the key as well or if there is, at least run it on an encrypted partition (see lvm)