It is easy to create a LUKS container and a partition within it, using the GUI on Linux. The application that enables this easily is the gnome-disk-utility. However, if you want to use the command line to set up a LUKS encrypted device, read on. Exercise appropriate caution before doing any of the below with … Continue reading How to create and use LUKS encrypted partition in Linux
To check the MD5 hash of a file in Windows, open a terminal window and enter the following command: C:\>certutil -hashfile <file> MD5 <enter> where, <file> is the file whose hash you want to compute.
To open a LUKS container file in Thunar file manager in Linux, right click on the container file and select the option Open with Disk Image Mounter. This way, the LUKS container will appear as Device in thunar and can be mounted.
When you enter the command below in a terminal window: $ sudo /sbin/losetup /dev/loop0 /home/user1/folder1/containerdatafile <enter> Device error or resource busy error message appears and the device is not setup. The reason is that /dev/loop0 is taken by snap. To overcome the error, change /dev/loop0 to something else like /dev/loop35 Or, if you do not … Continue reading Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop
After a long while, upgraded from Xubuntu 16.04 LTS to Xubuntu 18.04 LTS and was in for a surprise. No encrypted home folder. Support for this was dropped as ecryptfs-utils was no more maintained by it's maintainer. However, fret not. Encrypted home folders can still be created as below. Make sure you take a backup … Continue reading How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10
Whew... saved by the skin of teeth. The grub2 bootloader of my computer got corrupt. I was not able to boot into the computer and all was lost. For security reasons, I set up LVM with full disk encryption. Thereafter, each user's home folder was further encrypted with ecryptfs (the default you get when you … Continue reading Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume
I installed LineageOS 14.1 on an old Motorola G 2nd Generation (2014) android phone, also known as titan. All went well and it worked like a charm. I wanted to encrypt the internal storage and accordingly, did so from the Settings -> Security option on the phone. It worked well and said the phone was … Continue reading How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)
Ransom ware seems to have gotten the better of many ordinary users. However, it is not a threat that has no mitigation measures available to the ordinary user, but is more of following good basic security and hygiene practices, to not fall prey to a ransom ware threat. Do the following: If you use Linux, … Continue reading How to mitigate the threat of being a victim of ransom ware
OpenWRT is a very powerful router firmware. Since I wanted to upgrade the router firmware, I took a backup of the configuration and then did a complete erase of the configuration settings at the time of firmware upgrade. After logging in, and setting up SSH as a means to log in to the router, SSH … Continue reading Cannot connect to OpenWRT router using SSH after OpenWRT firmware upgrade
When PGP/GPG keys expire, you have option to generate a sub key (if you think your key has been compromised), or you can extend the validity of the current key by extending it's expiry period. You can extend the key's expiry period since the keys are not compromised. To continue, Open a terminal window and … Continue reading How to extend expiry date of Gnu Privacy Guard Keys (GPG/PGP) keys