Ubuntu Security :: Mount Flash Drive Encrypted By Truecrypt Using A Keyfile?

Dec 15, 2010

I have two questions regarding auto mount function of Truecrypt. First question:

I want to automatically mount my flash drive encrypted by Truecrypt using a keyfile whenever I plug the drive. How can I do this? I use Ubuntu 10.10.

Second question:

As I do not know the answer of my first question, I currently use following command in a startup script to mount my encrypted flash drive automatically at every system start-up.

Quote:
/usr/bin/truecrypt -k ~/keyfile --auto-mount=favorites

My problem with this method is, Truecrypt always search for the drive in the same path saved in favorite drives list, e.g. /dev/sdb1. However sometimes there are more than one flash drive plugged to my computer and my encrypted drive's path changes. In such cases Truecrypt cannot mount my encrypted drive because it cannot find the drive in its path.

As a workaround I tried "auto-mount=devices" parameter. It is slow because it checks every mounted drive, and some of them external hard disk big in size. Moreover it does not recognize any mount point parameter. I'd like to mount the drive to the same mount point every time.

Quote:
/usr/bin/truecrypt -t --auto-mount=devices -p "" -k ~/keyfile /media/MyMountPoint

The command above mounts the drive however it is slow and to the destination of "/media/treucrypt1".

View 3 Replies


ADVERTISEMENT

Debian :: Auto-mounted Truecrypt Partition (keyfile Based) - Can't Add A Keyfile To The Volume Using The GUI

Nov 18, 2010

I have a Truecrypt-encrypted Windows [system] partition, that I want to be opened and mounted automatically (using a keyfile) when I log into Debian, since it is also encrypted and I don't want to type two passphrases. It think this could be done with LUKS. With TC I probably have to go with the CLI, but haven't figured it out yet. And I can't add a keyfile to the volume using the GUI. In order to mount the volume I have to tick the Mount partition using system encryption (preboot authentication) checkbox, or otherwise I get Incorrect password or no TrueCrypt volume found. And same when I try to add a keyfile.

View 2 Replies View Related

OpenSUSE :: Keyfile For Encrypted Drive (luks)?

Oct 18, 2010

I can't seem to get an encrypted partition to recognize a keyfile. It is a backup partition that I would like to keep unmounted until a cron-script runs once a week to backup my sensitive data. In order for the script to run without my assistance, I thought I'd use a keyfile to authorize the mount.

So far I've created a keyfile and have added it to the partition using "luksKeyAdd". It didn't really say it was successful, but when I do a luksdump, it shows that another key slot has been enabled, so I believe it worked. After that I created a /etc/crypttab file with the following:

Code:
backup_sdd1 /dev/sdd1 /root/backup luks
/dev/sdd1 being the backup partition, and /root/backup being the keyfile

After rebooting, I am still prompted for a password when trying to mount the encrypted partition (sdd1), and there is no device "/dev/mapper/backup_sdd1" created like I believe there should be. I haven't added any entries to fstab, as I don't want this partition to mount at boot.

View 5 Replies View Related

General :: Use A Keyfile On A Removable USB Drive For Encrypted Root In Debian?

Jun 6, 2010

Recently set up root encryption with a couple of LVM volumes inside one LUKS volume, and I am just a little confused as to how I would go about getting it to automatically unlock using a keyfile stored on a USB flash drive, I presume I would have to put the drive in the fstab inside my initramfs (if there is one), and add a hook for USB device support.

But I digress, essentially, I want to know what I have to do to enable my LUKS volume (containing all of my partitions sans /boot) to unlock using a keyfile stored on a USB flash drive, rather than a manually entered passphrase.

View 2 Replies View Related

Fedora :: Keyfile For Encrypted Root Partition?

Jul 13, 2010

I keep my /boot partition on a usb stick, where i keep the keyfile as well. I already generated the keyfile and added it to the LUKS LVM partition.Right now, on bootup I get a nice GUI to enter my 40 character password which is nice but a little tedious What do i need to modify for the system to automatically unlock the partition with the keyfile that is stored on the /boot partition

View 4 Replies View Related

Ubuntu Security :: Auto Mount The Truecrypt Volume?

Feb 9, 2010

I have a 2nd hard drive that I have encrypted using true crypt. Is it possible to set this up with key files (or some other way) to auto mount when linux boots. I need it in true crypt because there are some work programs I dual boot to use in windows, and need to have access to the drive in XP from time to time, and true crypt can mount there as well. But 90+% of my time is in linux and I would like to have it auto mount through fstab (or whatever way it needs to be). My entire linux setup has been set up with encryption through dm crypt and LUKS (except for /boot). So I would think having a key file stored on the computer and an auto mount fstab would be just as secure as however secure my LUKS setup is. So any way to auto mount a true crypt 2nd drive volume?

View 3 Replies View Related

Ubuntu Security :: Mount A Truecrypt Partition Automatically With Login Password?

May 17, 2010

I found a way some times ago to mount a truecrypt volume when opening the session by insertion of the login password in the mounting script instead of putting it in clear in the script. I don't remember to command to read/transfer the password.

View 2 Replies View Related

Ubuntu Security :: Using TrueCrypt To Encrypt Whole Hard Drive?

Nov 5, 2010

So what I want to do is encrypt my entire hard drive, but heres the thing.

I dual boot Ubuntu and windows 7, but I am afraid that if I use truecrypt to do the encrypting that it will wipe GRUB and not allow me to boot into any OS, is that a possibility and is there a way around it?

View 7 Replies View Related

Ubuntu Security :: Truecrypt - Remote Mount Volume - Or Send Bash Script Remotely?

Apr 1, 2011

I have an Ubuntu 10.04 machine at home and apache setup on it (files are located in a Truecrypt volume). The reason for the web server being that I wanted to access my files wherever I'm at (i.e. hotel, work, hotspots, etc...). So far, it's worked out great for me seeing as a I can http download my files (or stream media files). However, I am often on a public hotspot and I know it's a matter of time before someone finds the webserver on my computer. I have the machine firewalled and password protected (via .htaccess), but either way I don't want people looking in on my computer.

The problem: I have used Truecrypt for a long time and completely trust using the program to encrypt/unencrypt a volume container to store my files. Usually, I would remote desktop into my computer and mount/unmount the volume when I needed it. However, after time it get's really annoying to do this. So I eventually figured out how to setup a bash script to automatically do this for me (which I put on the usb part of my phone). What I wanted to do was to be able send the bash script to my Ubuntu machine (via ftp from my phone) and have Ubuntu automatically run the script. Is this possible? What programs do I need on Ubuntu?

I was thinking about using something like cron, but that is for scheduled times. I don't really have a set time in which I need my files, it's pretty sporadic depending on how much I travel. Thus the need for being able to remotely mount the volume when I need it.

Summary: I need a way for Ubuntu to read a folder every minute or so to check for bash scripts to run. I want to be able to send the bash script via ftp from my phone, have Ubuntu run the script, then delete itself (so as to not store the password). I already know the script in which to mount the Truecrypt volume and how to send the file via ftp from my phone. It's really a matter of what program to use in Ubuntu to find and run the script.

View 8 Replies View Related

Ubuntu Security :: Diffetences Between The WD Hardware Decryption Or A Truecrypt Container/drive?

Jul 20, 2011

Now since 1TB 2,5" hard drives have been released and are payable I've thought about buying one. The most improtant issue for me when using a protable drive is security and data security. I found the "Western Digital My Passport Essential" with hardware encryption but the description says that only Windows and MAC operating systems are supported not Linux in anyway. My question is are there any significant diffetences between the WD hardware decryption or a truecrypt container/drive? And is there another program out there better for this job? I want to use the drive on Windows and Linux systems.

View 3 Replies View Related

Ubuntu :: Automatically Unmount Encrypted USB Flash Drive When Device Is Unplugged?

Apr 21, 2010

I formatted the USB flash drive using Karmic's Format Disk utility (right-click on a volume, select "Format..."), and selected "Encrypted, compatible with Linux (FAT)" from the "Type" drop-down menu.It mounts correctly when I plug it in, and I can access the files just fine.When I unplug the Flash drive without using the 'Safely Remove Drive' option, the icon on my desktop changes its name to '2.0 GB Encrypted', instead of disappearing and unmounting like my unencrypted Flash drives do.

I would like to have encrypted Flash drive treated in the same way as my unencrypted Flash drives, which disappear and unmount when unplugged, even if the 'Remove Safely' menu option isn't used. What can I do to accomplish this?NOTES:When I plug the encrypted Flash drive in, the following line shows up in the output of 'mount'. 'secure' is the name I gave the disk during the format process:

Code:
/dev/mapper/devkit-disks-luks-uuid-302db16c-c6e2-4dd9-a259-436437c76475-uid1005 on /media/secure type vfat

[code]....

View 1 Replies View Related

Ubuntu Security :: Unable To Mount Home Folder Encrypted With ECyptfs

Jan 30, 2011

After buying an IBM/Lenovo USB fingerprint reader model FP06 and installing Fingerprint GUI, have problems to mount my home folder encrypted with eCyptfs. I was using it since the first time i install Ubuntu 10.10 64 bits. After login from GDM, there are some ways to make it work:

1) open a terminal window and type ecryptfs-mount-private. This decrypt the home folder, but need to logout and login again to my personal preferences can be reached (bookmarks in nautilus, in firefox, etc). Each time the PC is rebooted, the same process is needed to made again.

2) before login in GDM, change to a tty1 terminal (ctrl-alt-F1) and login from here. The personal folder decrypt then without problems. Then change to GDM (ctrl-alt-F, login an everything works fine. What could be the fault from GDM to not mount the encrypted folder?

View 8 Replies View Related

Fedora :: Mount This Encrypted Drive But Unable To Do It?

Dec 3, 2009

I updated through yum tonight had to reboot but it hangs on reboot.Now I can't use my computer.here point me in the right direction to fix this.I have no clue.I really need to mount this encrypted drive but it won't let me this way I can get my files and move them to another os that is working.I put in the password but it will not mount for some reason.My first venture in fedora land does not seem to be going well at all right nowor a page I have work to do and I really don't have time to be reading hundreds of pages to find the right answer.

View 9 Replies View Related

Ubuntu :: Auto-Mount Encrypted Drive Upon Login Lucid

Jul 31, 2010

I am trying to have an encrypted drive auto-mounted once i log into Lucid.

I created the encrypted drive with the disk utility in administration menu

I also have the password remembered "forever" so when i am logged in i just click the icon for the drive on left panel and it mounts.

I am able to find the uuid and know what device is called sdd but i don`t know how to put it into fstab if that is possible?

View 1 Replies View Related

Ubuntu Security :: Access Encrypted Hard Drive Via Live Usb?

May 17, 2011

I want to access my hard drive to copy over my old documents. So I boot into a LiveUSB, mount my ubuntu partition, and then cd to my home directory, but I can't open it. I get "permission denied." I encrypted my whole home directory and know the password, but how do I "decrypt" it or login as the partition's root so I can access the documents that way. I'm booted into the USB, but can't access the home directory. I get "You do not have the permissions necessary to view the contents of 'jake'".

View 1 Replies View Related

Fedora X86/64bit :: USB Flash Drive Mount - Un-mount ?

Sep 17, 2010

Its annoying to unmount my flash drive twice.. its not a major problem actually but its kinda annoying , its whenever i plug-in my flash drive.. everything works well except when i need to un-mount it.. I usually unmount it twice using right-click of the mouse, then it mounts itself back, so i have to unmount it again.. Is there any way to control this? How do i setup the auto-mount option for USB flash drives?

View 1 Replies View Related

Ubuntu Security :: Justify Home Drive Is Encrypted And Decrypted During Login?

Aug 17, 2010

Lately i just reformatted my laptop again and created a encrypted home drive using the default.It prompt for my password and then i key it into the terminal.Then the terminal closed it.How to justify that the home drive is encrypted and decrypted during login?Beside that,if it is encrypted and what kinda extension is drive gonna?Apart from that,i used cryptkeeper to create a encrypted folder.How do i know if the folder is encrypted beside it prompt for me to enter my password?

View 7 Replies View Related

Debian Configuration :: Encrypted Home With Truecrypt On Usb Stick

May 31, 2011

is it possible to mount a truecrypt file container as a home directory before login, if so how to do that?

View 3 Replies View Related

Slackware :: Automount Encrypted Windows Partition - Truecrypt

Jan 12, 2010

I'm trying to automount my encrypted Windows partition in Slackware-Current.

With help from the Gentoo wiki, I came up with this script:

Code:

Then I added this to my fstab:

Code:

I get this error when I try to mount my partition (as root):

Code:

Error: Unable to initialize gtk, is DISPLAY set properly?

But if I run my script like this (exactly how mount runs it), it works fine:

Code:

New script

Code:

View 2 Replies View Related

Slackware :: Can't Write To Encrypted Windows Partition (truecrypt)?

Jan 12, 2010

My Windows partition is using system encryption (preboot authentication) and I'm trying to access it in Linux.I run this command:

Code:
sudo truecrypt --mount --password="MYPASSWORD" --mount-options="system" --fs-options="umask=000" /dev/sda4 /mnt/windows

[code]...

View 2 Replies View Related

Software :: Truecrypt Has Lost Mount Type - Unable To Mount

Aug 17, 2010

I have been using truecrypt to mount a partition on my computer for a few months now. Yesterday I tried to access it and it failed, with the following error:" mount: you must specify the filesystem type "

When creating the partition, the filesystem type was set to ext2. Apart from yesterday, I have not accessed this partition for a number of days now, and have done nothing to the operating in system in the ways of changing settings and such for a good week.

View 3 Replies View Related

Ubuntu Security :: Main Encrypted LVM Not Accessible After Deleting A Different Encrypted LVM On USB HD

Mar 7, 2011

I installed Ubuntu 10.10 64 on my laptop with the entire 500gb setup as encrypted LVM. This has worked well for several months with no problems. During this time i have been backing up the data to an external usb drive (1tb) on a regular basis. The usb drive was not encrypted. So, I thought it would be a good idea to encrypt the backup drive too. I wiped out the backup drive and set it up as one large encrypted lvm and mbr. This seemed to work fine but immediately afterwards I decided to erase that and set it up as encrypted lvm guid instead of mbr. I couldn't delete it while logged into my desktop so i decided to do it from a bootable gparted usb stick. In gparted i erased the 1TB backup drive once again and planned on setting it up the way I wanted once I was logged back into my ubuntu desktop. Now I cant boot into my desktop with the following errors:

cryptsetup: evms_activate is not available b0d) does not begin with /dev/mapper/

Then after waiting for a few minutes I get an error followed by (initramfs)

When booting from a live version of ubuntu the 250MB boot patition is recognized and 500 partion is there but it is labeled as empty/unused.

Also, I did choose to use the exact same passphrase as what is used on the main bootable drive when I set up the encrypted partition on the external 1TB drive.

View 9 Replies View Related

Ubuntu :: Flash Drive Doesn't Mount?

Mar 17, 2011

i bought i 32gb transcend flashdrive mainly to t0 another os.. but the problem is it doesnt mount in ubuntu 10.10 but is mounts in windows. when i type lsusb in my terminal after inserting ang again after removing it i see that there is one usb device which is shown when flash drive is inserted and dissapears when i remove my flash drive

View 9 Replies View Related

Ubuntu Security :: Right Click - Automatically Get The Encrypt Process To Delete The Un-encrypted File When It Makes The New Encrypted Copy?

Jan 5, 2010

I've just started using ubuntu one. However, some of the files I store on there are sensitive so I encrypt them using seahorse. Right click, encrypt etc etc. My question is, is there a way to automatically get the encrypt process to delete the un-encrypted file when it makes the new encrypted copy?

View 6 Replies View Related

General :: Cant Mount Flash Drive

Mar 4, 2011

Having a problem mounting a flash drive on slackware 13.0

tried using command: mount /dev/sdb1 /mnt/hd

Geting an error special device does not exist. sda1 is my hdd, also tried sdc sdd

View 2 Replies View Related

Ubuntu :: USB Flash Drive Unable To Mount Not Authorized?

Apr 8, 2011

I've found some older threads with the same problem and read a few bug reports also. Nobody has a solution that has worked for me.How can I get Ubuntu 10.10 to be able to use something as basic as a usb drive?

View 5 Replies View Related

Red Hat / Fedora :: Auto Mount Flash Drive?

Apr 15, 2010

My Fedora does not auto detect a flash drive if I get to attach it with the OS already running. I still have to make a reboot and attached the drive right from the start in order for it to be detected/mounted.

Unlike In Mint 7, Ubuntu and XP, it automatically detects the flash drive as soon as it is attached.

make my Fedora detect the flash drive so that I would not have to reboot everytime I would use it.

FWIW here are some outputs:
Code: # /etc/fstab
# Created by anaconda on Thu Feb 4 06:06:47 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'

[code].....

View 10 Replies View Related

Hardware :: USB Flash Drive Rewrite With No Mount

Dec 9, 2010

I wish to gain access to a USB flash drive. It is old and I forget how small. Could somebody give me insight into a way to mount it if the security code isn't letting me access it via /dev/sdx?

Code:

View 3 Replies View Related

Ubuntu :: Application To Start Backup On Flash Drive Mount?

Mar 15, 2010

I'd like to make regular backups of my flash drives, but I don't plug them in regularly. Because of this, I can't just use a scheduled backup application to back them up. Does anyone know of an incremental backup application that will automatically run backups on media as soon as it's mounted?

View 1 Replies View Related

Ubuntu :: Flash Drive Mount Path To Store Data?

Apr 21, 2010

I am trying to setup my ubuntu machine to automatically log some data I am trying to collect and write the data to a flash drive. I have everything setup so that when the machine boots up it starts that logging process. The problem I am having is that sometimes (not always) ubuntu creates a directory with the same path that I expect my flash drive to mount to i.e., /media/data/ then my flash drive instead mounts to /media/data_/. I need to know the path of the flash drive so I can store my data on it.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved