The importance of SIM card lock

Do you use Two Factor Authentication with your mobile phone? Do you use your phone as a password recovery option? In case if you are wondering what the hell is two factor authentication, let me simplify it like this. Have you coupled your Gmail/ Facebook/ etc. account with your mobile phone in a way that you receive a ‘code’ that you should enter in the web browser? If so, read on this short note.

Continue reading “The importance of SIM card lock”

Advertisements
The importance of SIM card lock

Encrypted Volumes: Header Backup is Important!

So I’ve been reading more on cryptsetup man page and found this interesting excerpt:

If the header of a LUKS volume gets damaged, all data is permanently lost unless you have a header-backup. If a key-slot is damaged, it can only be restored from a header-backup or if another active key-slot with known passphrase is undamaged. Damaging the LUKS header is something people manage to do with surprising frequency. This risk is the result of a trade-off between security and safety, as LUKS is designed for fast and secure wiping by just overwriting header and key-slot area.

Continue reading “Encrypted Volumes: Header Backup is Important!”

Encrypted Volumes: Header Backup is Important!

Expanding a LUKS encrypted disk image

Yesterday I wrote about How to create an encrypted LUKS disk image.

Today I wanted to experiment more with it. I wanted to try resizing a LUKS volume, and after one failed attempt I found a way. If you still have the disk image of yesterday’s example, just follow me. 🙂

Continue reading “Expanding a LUKS encrypted disk image”

Expanding a LUKS encrypted disk image

How to create an encrypted LUKS disk image

This could be a great alternative if you have used TrueCrypt encrypted volumes.

I’ve been a TrueCrypt lover for a long time, even after it was allegedly killed. But now I’m starting to think that it’s not a good option for long term safekeeping of my memories. At time point in a future release of Linux if dependencies for TrueCrypt stop working that’s death to my archives.  Fortunately we have LUKS since 2004! After using LUKS for a couple of years I think it’s very reliable.

Continue reading “How to create an encrypted LUKS disk image”

How to create an encrypted LUKS disk image

How to mount lost partitions from a disk image without repairing

I came across a hard disk with a corrupted MBR. In other words, I found a hard disk that lost all of its partitions but files and folders are still there. Tool of my choice in this kind of cases is TestDisk.

Continue reading “How to mount lost partitions from a disk image without repairing”

How to mount lost partitions from a disk image without repairing