diff options
author | Shipwreckt <shipwreckt@mailfence.com> | 2025-02-17 16:50:27 +0000 |
---|---|---|
committer | Shipwreckt <shipwreckt@mailfence.com> | 2025-02-17 16:50:27 +0000 |
commit | 7ef03c449fc051b5fdf91f2d203af7b8696ea3cf (patch) | |
tree | b9213c2e69dc674c4f784786ab04df2c036f8e63 /public/articals | |
parent | 714f6950052aa2a3bc13dc95859c360465062a51 (diff) |
Misc updates, new artical, fixed latest post
Diffstat (limited to 'public/articals')
-rw-r--r-- | public/articals/internet/safety/02Passwords | 1 | ||||
-rw-r--r-- | public/articals/linux/media/03EncryptingUSB | 94 | ||||
-rw-r--r-- | public/articals/linuxlist | 1 |
3 files changed, 96 insertions, 0 deletions
diff --git a/public/articals/internet/safety/02Passwords b/public/articals/internet/safety/02Passwords index 48e8b97..2f66caf 100644 --- a/public/articals/internet/safety/02Passwords +++ b/public/articals/internet/safety/02Passwords @@ -36,6 +36,7 @@ <p>An example of a weak password would be: <br><font color="red">Grace'sPassword123</font></p> <p>And an example of a strong password would be: <br><font color="green">{gÙIjWÝ0ó{Ðö÷åQü9+òÀË×?̯Áv</font></p> <p>Now you might see why you should have a password manager, so it can remember stuff like this for you!</p> + <p>I do suggest your password to be longer than 16 charicters!</p> <hr> <center> <pre text-align=center><a href="01Profiles">Back</a> <a href="../../internetlist">List</a> <a href="03Browser">Next</a> diff --git a/public/articals/linux/media/03EncryptingUSB b/public/articals/linux/media/03EncryptingUSB new file mode 100644 index 0000000..aace93b --- /dev/null +++ b/public/articals/linux/media/03EncryptingUSB @@ -0,0 +1,94 @@ +<!DOCTYPE html> +<html lang="en-GB"> + <head> + <meta charset="UTF-8"> + <meta name="author" content="Shipwreckt"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Encrypting USB with luks</title> + <link rel="stylesheet" href="../../../styles.css"> + <link rel="icon" href="../../../Images/favi.png" type="image/x-icon"> + </head> + <body> + <header> + <nav> + <ul> + <li><a href="../../../index.html">Home</a></li> + <li><a href="../../../links.html">Links</a></li> + <li><a href="../../../projects.html">Projects</a></li> + <li><a href="../../../contact.html">Contact</a></li> + </ul> + </nav> + </header> + <main> + <h1>Encrypting USB with luks</h1> + <h3>Date: 17-02-2024</h3> + <hr> + <h2>What you will need 📋</h2> + <ul> + <li>A USB drive</li> + <li>A computer with Linux 🐧🖥</li> + <li>The ability to read instructions and to follow them 🧠</li> + </ul><hr> + + <p>1) Install cryptsetup + <div class="code-box"> + <p>sudo pacman -S cryptsetup</p> + </div> + + <hr> + + <p>2) Backup any information on the USB stick because this process involves formatting the USB drive.</p> + + <hr> + + <p>3) Formatting USB.</p> + <div class="code-box"> + sudo fdisk /dev/sdX + </div> + <p>The X being your USB drive.</p> + <p>Press the following keys: <br> o <br> n <br> Press enter for the rest <br>w</p> + + <hr> + + <p>4) Encryption time! + <div class="code-box"> + sudo cryptsetup luksFormat /dev/sdX1 + </div> + <p><a href="../../internet/safety/02Passwords">Make your password secure please!</a> + + <hr> + + <p>5) Decrypt USB</p> + <div class="code-box"> + sudo cryptsetup luksOpen /dev/sdX1 USB + </div> + <p>Note: The first password is your root user password, not the encryption password. I have sadly made this mistake in the past.</p> + + <hr> + + <p>6) Format the Encrypted Partition</p> + <div class="code-box"> + sudo mkfs.ext4 /dev/mapper/USB + </div> + <p>Depending on the size of the USB, this may take some time. For me, it took 3 minutes.</p> + + <hr> + + <p>Step 7: Mount the Encrypted Partition</p> + <div class="code-box"> + sudo mkdir -p /mnt/USB + <br> + sudo mount /dev/mapper/USB /mnt/USB + </div> + + <hr> + <h2>Finished ✅</h2> + <p>Your password better be good dude. Make sure to memorize it!</p> + <hr> + + <center> + <pre text-align=center> <a href="../../linuxlist">Back 🚪</a> + </main> +</body> +</html> + diff --git a/public/articals/linuxlist b/public/articals/linuxlist index 400ba4f..72d499b 100644 --- a/public/articals/linuxlist +++ b/public/articals/linuxlist @@ -34,6 +34,7 @@ <li>23-08-2024 - <a href="linux/media/00cd">Burning optical media in Linux 💿</a></li> <li>24-08-2024 - <a href="linux/media/01BurningIsos">Burning an ISO to a USB stick 💾</a></li> <li>27-08-2024 - <a href="linux/media/02FormattingUSB">Formatting USBs with Linux 🔌🔥</a></li> + <li>17-02-2025 - <a href="linux/media/03EncryptingUSB">Encrypting USB with luks 🔒</a></li> </ul> <h2>Arch Linux tutorials</h2> |