From 7ef03c449fc051b5fdf91f2d203af7b8696ea3cf Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Mon, 17 Feb 2025 16:50:27 +0000 Subject: Misc updates, new artical, fixed latest post --- public/articals/internet/safety/02Passwords | 1 + public/articals/linux/media/03EncryptingUSB | 94 +++++++++++++++++++++++++++++ public/articals/linuxlist | 1 + public/posts/16PC | 2 +- public/posts/tags/Hardware | 1 + public/posts/tags/Tech | 1 + 6 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 public/articals/linux/media/03EncryptingUSB 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 @@

An example of a weak password would be:
Grace'sPassword123

And an example of a strong password would be:
{gÙIjWÝ0ó{Ðö÷åQü9+òÀË×?̯Áv

Now you might see why you should have a password manager, so it can remember stuff like this for you!

+

I do suggest your password to be longer than 16 charicters!


Back  List  Next
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 @@
+
+
+  
+    
+    
+    
+    Encrypting USB with luks
+    
+    
+  
+  
+    
+ +
+
+

Encrypting USB with luks

+

Date: 17-02-2024

+
+

What you will need 📋

+
    +
  • A USB drive
  • +
  • A computer with Linux 🐧🖥
  • +
  • The ability to read instructions and to follow them 🧠
  • +

+ +

1) Install cryptsetup +

+

sudo pacman -S cryptsetup

+
+ +
+ +

2) Backup any information on the USB stick because this process involves formatting the USB drive.

+ +
+ +

3) Formatting USB.

+
+ sudo fdisk /dev/sdX +
+

The X being your USB drive.

+

Press the following keys:
o
n
Press enter for the rest
w

+ +
+ +

4) Encryption time! +

+ sudo cryptsetup luksFormat /dev/sdX1 +
+

Make your password secure please! + +


+ +

5) Decrypt USB

+
+ sudo cryptsetup luksOpen /dev/sdX1 USB +
+

Note: The first password is your root user password, not the encryption password. I have sadly made this mistake in the past.

+ +
+ +

6) Format the Encrypted Partition

+
+ sudo mkfs.ext4 /dev/mapper/USB +
+

Depending on the size of the USB, this may take some time. For me, it took 3 minutes.

+ +
+ +

Step 7: Mount the Encrypted Partition

+
+ sudo mkdir -p /mnt/USB +
+ sudo mount /dev/mapper/USB /mnt/USB +
+ +
+

Finished ✅

+

Your password better be good dude. Make sure to memorize it!

+
+ +
+
  Back 🚪
+    
+ + + 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 @@
  • 23-08-2024 - Burning optical media in Linux 💿
  • 24-08-2024 - Burning an ISO to a USB stick 💾
  • 27-08-2024 - Formatting USBs with Linux 🔌🔥
  • +
  • 17-02-2025 - Encrypting USB with luks 🔒
  • Arch Linux tutorials

    diff --git a/public/posts/16PC b/public/posts/16PC index 877ee86..0afd753 100644 --- a/public/posts/16PC +++ b/public/posts/16PC @@ -54,7 +54,7 @@

    Overview

    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!


    -
    Back 🚪 | More Linux 🐧 | More BSD 😈 | More Tech 🧑‍💻 
    +
    Back 🚪 |  More Tech 🧑‍💻 | Hardware 🖥  
    diff --git a/public/posts/tags/Hardware b/public/posts/tags/Hardware index dfdc931..0f540a4 100644 --- a/public/posts/tags/Hardware +++ b/public/posts/tags/Hardware @@ -24,6 +24,7 @@

    Hardware 🖥

    +

    16-02-2025 - New PC case!

    18-12-2024 - Christmas 🎅

    17-08-2024 - New Laptop !

    03-08-2024 - Yubikeys!

    diff --git a/public/posts/tags/Tech b/public/posts/tags/Tech index 430088b..6a79dbc 100644 --- a/public/posts/tags/Tech +++ b/public/posts/tags/Tech @@ -24,6 +24,7 @@

    Tech 🧑‍💻

    +

    16-02-2025 - New PC case!

    18-12-2024 - Christmas 🎅

    01-12-2024 - Email and Life update

    22-09-2024 - Trying out I2P 🕵️

    -- cgit v1.2.3