You have to add the file as a key file. Just adding the password to the file isn't enough.
cryptsetup luksAddKey /home/user/EncryptedSD.txt /dev/sda
You have to add the file as a key file. Just adding the password to the file isn't enough.
cryptsetup luksAddKey /home/user/EncryptedSD.txt /dev/sda
Just partly related, and probably no help here - but about the fact, that you can't type in that password (regardless whether you can remember it or not):
you probably use a bluetooth keyboard on that surface? Before boot is finished, bluetooth connection is not possible, so you need some sort of USB/serial keyboard to even type.
Had this issue when full disk encrypting a surface, because without usb (or the original serial) keyboard your stuck in the luks mount process during boot...
Since this can be easily pulled off from the laptop, I want it to be encrypted
And the laptop can be easily pulled off the desk so you might want that encrypted too.
Key files should be key files that are associated with the device encryption, not just the password stored on a text file.
https://www.cyberciti.biz/hardware/cryptsetup-add-enable-luks-disk-encryption-keyfile-linux/
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
Be respectful: Treat fellow community members with respect and courtesy.
Quality over quantity: Share informative and thought-provoking content.
No spam or self-promotion: Avoid excessive self-promotion or spamming.
No NSFW adult content
Follow general lemmy guidelines.