Tag Info

Hot answers tagged

3

This should work fine for you. The date command is all that is needed. alias cryptodoc="cd ~/Desktop/ && 7z a -pSome_Pass -r ~/Desktop/$(date +%Y%m%d)_Documents_Backup.7z ~/Documents/* 2>/dev/null" the command for date +%Y%m%d means, run date, then + means format, then %Y means YYYY, %m means MM and %d means DD. Having the $( ) around the ...


3

CBC requires an IV: the very first block of data should be random. It is sent with the data so that the recipient has what they need to decrypt the message. The IV for CBC should be uniformly random and unpredictable. The openssl enc command creates an IV with 8 fixed bytes and 8 random bytes (it should be 16 random bytes). When you encrypt the same message ...


2

Evidently, you ran ecryptfs-migrate-home, at the end of which, the following instructions were printed: ======================================================================== Some Important Notes! 1. The file encryption appears to have completed successfully, however, chris MUST LOGIN IMMEDIATELY, _BEFORE_THE_NEXT_REBOOT_, TO COMPLETE THE ...


2

Remove the file with, eg: sudo shred -u /dev/disk/by-id/<your_filename> And as Terrance says in the comments: Better to take time to eliminate, then to be sorry in the future. from man shred shred - overwrite a file to hide its contents, and optionally delete it -n, --iterations=N overwrite N times instead of the default (3) -u, ...


2

(I think you accidentally added the -d decryption option in the command in your question.) The encrypted files differ because of the random 64-bit cryptographic salt that OpenSSL generates and includes in each encrypted file by default. This can be disabled with the -nosalt option, but as the documentation in OpenSSL's man enc states, this is generally a ...


2

You create an LUKS container on a partition or your whole SD card. I give you the GUI version: Open up Disks, choose your SD card, click on the wheel and choose Format. For Type, choose Crypted compatible with linux, enter a passphrase and choose Format. You will be asked for this passphrase when you mount your SD card. Don't forget it. Caution: You will ...


2

The easy way of doing this is to: remove the existing boot drive from your machine remove the the external drive from its enclosure and insert it into your machine Boot a LiveDVD install it as you want move the freshly installed HDD to the external enclosure. Then when you want to boot that, just go into your BIOS and boot from the external HDD. To keep ...


2

I am writing now from the machine that works exactly that way. First, you will need to put whole /boot folder on the dongle. Encrypt the disk with key file and put the keyfile into the boot dongle too. Edit /etc/crypttab, add this line sda2_crypt UUID=14-88 /dev/disk/by-uuid/88-14:/rootfs.key luks,keyscript=/lib/cryptsetup/scripts/passdev where ...


1

The whole point of encryption is to make it impossible to access data without the passphrase. So there is no way to restore your data if you lost it.


1

Your password issue is a problem of outdated Wubi versions. If it is your wish to use an old Wubi version that works without password issue, try lastest version for 12.04: http://releases.ubuntu.com/precise/wubi.exe In your case (Windows is not in UEFI mode) it should work.


1

Solution: Old Wubi versions have bugs but i have found a solution from a forum post at ubuntuforums.org i can't find the same post but i have the links to patched files. This files are working. I tried the wubi from this link and worked. https://www.dropbox.com/sh/6uqomp8l1frcd1y/AAAhSCimTaYE-94egbmc1X_na?dl=0 Thanks to hakuna_matata


1

Run sudo fdisk -l to find swap partition (i.e. /dev/sda6) Grab UUID in /etc/crypttab or sudo blkid for /dev/sda6 (replace device with your swap) Run sudo mkswap -U UUID /dev/sda6 (replace UUID and device with your swap) Append ,offset=1024 to the end of cryptswap1 line in /etc/crypttab Add "/dev/mapper/cryptswap1 none swap sw 0 0" to /etc/fstab Run sudo ...


1

As an alternative to solve the bug, the init process may be switched to upstart, since this is a bug related with systemd. Here is stated that upstart may be used as a workaround. To do so, the easiest way is to install the corresponding package: sudo apt-get install upstart-sysv After the installation, you still are able to start the system with systemd ...


1

A.B. has already written a simple method to shred the volume. However, in case of encrypted volume, you can skip shredding and simply delete the volume as well (shredding takes time). rm -rf /path/to/volume


1

If your really just want to encrypt a directory, use encfs. You need a 2nd folder which is where you will work out of. In the 2nd folder, everything appears unencrypted while it is mounted. From the encfs manpage: encfs ~/.crypt ~/crypt The first time you will setup the password. Thereafter, you use the same command to unlock it. Files stored in ...



Only top voted, non community-wiki answers of a minimum length are eligible