Adds encrypted swap file to the system
On every boot, creates a new encrypted swapfile with a random password.
Useful for systems with low RAM such as inside virtual machines.
Has a setting ENOUGH_RAM which defaults to 1950 MB. If there is more than enough RAM, no swap file will be created.
Has an option to shred the swapfile on shutdown.
swap-file-creator
using apt-get
How to install 1. Download the APT Signing Key.
wget https://www.kicksecure.com/derivative.asc
Users can check the Signing Key for better security.
2. Add the APT Signing Key..
sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc
3. Add the derivative repository.
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.kicksecure.com bullseye main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list
4. Update your package lists.
sudo apt-get update
5. Install swap-file-creator
.
sudo apt-get install swap-file-creator
How to Build deb Package from Source Code
Can be build using standard Debian package build tools such as:
dpkg-buildpackage -b
See instructions.
NOTE: Replace generic-package
with the actual name of this package swap-file-creator
.
- A) easy, OR
- B) including verifying software signatures
Contact
Donate
swap-file-creator
requires donations to stay alive!