commit 7ef03c449fc051b5fdf91f2d203af7b8696ea3cf
parent 714f6950052aa2a3bc13dc95859c360465062a51
Author: Shipwreckt <shipwreckt@mailfence.com>
Date: Mon, 17 Feb 2025 16:50:27 +0000
Misc updates, new artical, fixed latest post
Diffstat:
6 files changed, 99 insertions(+), 1 deletion(-)
diff --git 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
@@ -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
@@ -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>
diff --git a/public/posts/16PC b/public/posts/16PC
@@ -54,7 +54,7 @@
<h2>Overview</h2>
<p>My last thoughts are that I am really happy with my new case and I hope soon I can get a nice guicy GPU to fill up some of the space inside of the computer!</p>
<center><hr>
- <pre><a href="../index.html">Back 🚪</a> | <a href="tags/Linux">More Linux 🐧</a> | <a href="tags/BSD">More BSD 😈</a> | <a href="tags/Tech">More Tech 🧑💻</a> </pre>
+ <pre><a href="../index.html">Back 🚪</a> | <a href="tags/Tech">More Tech 🧑💻</a> | <a href="tags/Hardware">Hardware 🖥</a> </pre>
</center>
</main>
</body>
diff --git a/public/posts/tags/Hardware b/public/posts/tags/Hardware
@@ -24,6 +24,7 @@
<center>
<h1>Hardware 🖥</h1>
</center>
+ <p>16-02-2025 - <a href="../16PC">New PC case!</a></p>
<p>18-12-2024 - <a href="../15Christmas">Christmas 🎅</a></p>
<p>17-08-2024 - <a href="../06NewLaptop">New Laptop !</a></p>
<p>03-08-2024 - <a href="../05Yubikeys">Yubikeys!</a></p>
diff --git a/public/posts/tags/Tech b/public/posts/tags/Tech
@@ -24,6 +24,7 @@
<center>
<h1>Tech 🧑💻</h1>
</center>
+ <p>16-02-2025 - <a href="../16PC">New PC case!</a></p>
<p>18-12-2024 - <a href="../15Christmas">Christmas 🎅</a></p>
<p>01-12-2024 - <a href="../14Email">Email and Life update</a></p>
<p>22-09-2024 - <a href="../13I2P">Trying out I2P 🕵️</a></p>