Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
25
rated 0 times [  25] [ 0]  / answers: 1 / hits: 32751  / 3 Years ago, tue, september 28, 2021, 9:22:46

I have seen on this site that many Linux users encrypt the swap partition. What are the benefits of encrypting swap?


More From » encryption

 Answers
0

Encryption of swap space is used to protect sensitive information. Consider an application that deals with passwords. As long as these passwords stay in physical memory, these passwords will not be written to disk and be cleared after a reboot. If the OS starts swapping out memory pages to free space for other applications, the passwords may be written to the disk platters unencrypted. Encrypting swap space can be a solution for this scenario.



Swap partitions are not encrypted by default and should be cleared of any sensitive data before continuing.



The swap partition can hold a lot of unencrypted confidential information and the fact that it persists after shutting down the computer can be a problem.



To encrypt SWAP, see Encrypted swap partition on Ubuntu



Extra Reading:Swap encryption, and Ubuntu - How to encrypt swap partition



Source:C. Brüffer


[#30554] Thursday, September 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
odenanno

Total Points: 207
Total Questions: 113
Total Answers: 94

Location: South Korea
Member since Sat, Oct 2, 2021
3 Years ago
odenanno questions
;