Software :: Encfs Not Working All The Way?

Apr 13, 2011

I am trying to get Encfs working on Ubuntu 10.10 with only partial success. I am using the Ubuntu package which is version 1.6.1. I am also trying to build 1.7.4 source on Ubuntu 10.10 which is failing.

First the problem with the Ubuntu package, which I realize may be fixed in 1.7.4. I am mounting a clear directory with the --reverse option to have an encrypted view of this data. This so far works, although I do not know if it really works correctly. I used rsync to copy all the encrypted data to a third directory outside of this first mounting. Then I do a second mounting (without --reverse) using that copy as the source, to make a mountpoint with a clear view of the copied encrypted files. This fails as no files show up at all.

I am doing it this way because my intended first use for Encfs is to copy an encrypted view of a local physically secured backup directory containing clear data to another remote machine where sometimes it is not physically secure. Transfer is by ssh over rsync, but that is not sufficient security for the remote machine. So the role of Encfs is to be sure the data is never in a clear state on that machine when the machine is not attended. This location is the home of the owner of the company who is not always at home. The machine is, in theory, at risk for theft when no one is at home (this is the risk we want to address). The owner will personally have the Encfs password, and may need access to some of these files. So it would be treated as an encrypted store and Encfs would be used to view it in the clear by manually mounting it that way (e.g. not with --reverse).

I am doing the test entirely on my desktop at the moment, as described above. I am using a script to carry out the entire setup of my tests, so it is fully reproducible, and that configuration can be incrementally changed as desired. I have a suspicion that certain messages resulting from the setup may indicate the problem. This is from the first mount with --reverse:

Code:
Creating new encrypted volume.
Standard configuration selected.
--reverse specified, not using unique/chained IV
Configuration finished. The filesystem to be created has
the following properties:

[Code]...

View 6 Replies


ADVERTISEMENT

Software :: EncFS Failure - NFS Export Of A Reverse Encfs Mount

Apr 21, 2011

I have an NFS share hosted at a file server for several machines. I set up an encfs encrypted file tree in this. First, I created a directory in the NFS mounted tree where I wanted the encrypted files to be store (/home/nfs/phil/private). Second, I created a mount point where I wanted to access those files in the clear view (/home/phil/nfs-phil-private). Third I mounted encfs with the simple command "encfs /home/nfs/phil/private /phil/nfs-phil-private". During this mounting, it asked me for a pass phrase to encrypt the files with. Fourth, I copied some files into "/phil/nfs-phil-private". I saw that files with cryptic names were created in "/home/nfs/phil/private", along with a file named ".encfs6.xml".

That was on one machine named "lorentz". Then I switched to another machine named "euler". I created the same mount point here (/home/phil/nfs-phil-private). I verified that /home/nfs/phil/private already existed, as did "/home/nfs/phil/private.encfs6.xml". So I tried the same "encfs /home/nfs/phil/private /phil/nfs-phil-private" command. This time it failed. Here is all the output up to the first prompt:

Code:

15:05:23 (FileUtils.cpp:375) Archive exception: stream error
15:05:23 (FileUtils.cpp:326) Found config file /home/nfs/phil/private/.encfs6.xml, but failed to load
Creating new encrypted volume.

[code]....

The first two lines certainly appear to be some kind of error. I can cat the .encfs6.xml files just fine, so I do have permission to read it. It had not even prompted me for a password, yet. Anyone know what the deadl with this is? A possible cause is that the first encfs is version 1.6.1 (ubuntu 10.10 packaged as 1.6.1-1) and the second encfs is version 1.5.2 (ubuntu 9.10 packaged as 1.5.2-1).

View 2 Replies View Related

OpenSUSE :: K-encfs Gui For 11.4 Failed

Jun 30, 2011

my os is opensuse 11.4. I tried k-encfs, but failed. Running the .rpm file said successfully installed, but I cant find the program and running the 'install' script gives me another error message.

View 4 Replies View Related

Ubuntu Security :: CryptKeeper And Encfs ?

Feb 24, 2010

I could not find details of what CryptKeeper was doing and I worked this out. It shows how to open and close CryptKeeper files using encfs form the command line. I hope this helps others.

Ubuntu karmic 9.10. CryptKeeper 0.9.4-1 encfs 0.5.2-1ubuntu1 also works in Mint8. Tom Morton author of CryptKeeper site: [url]

How Gnome Cryptkeeper works with encfs

In CryptKeeper create a new encrypted folder:

The directory above is created and also another hidden one called: /home/ian/.aaaaaaxxxxTestCryptKeeper_encfs which contains one hidden file called .encfs6.xml. As you create additional folder and files in the /home/ian/aaaaaaxxxxTestCryptKeeper additional folders and files with encrypted names are created in /home/ian/aaaaaaxxxxTestCryptKeeper 4L9KBI4IeoAKOoZ,IwzVyn2VPGysXt-JCbStUej5Ewnn90. These mirror any files and folders which you create in the encrypted directory except that there names and contents are totally encrypted.

The above CryptKeeper directory can be created anywhere within the Linux file system, for example, on another partition. In each case two directories are created within the parent (in this example /home/ian/), one with the original directory name, the other preceeded with a "." and followed by "_encfs".

How to open a directory created with CryptKeeper using encfs.

Provided you copy the directory like .aaaaaaxxxxTestCryptKeeper_encfs and all its contents, it can be opened anywhere using the following command. (Note that full path names are needed.)

encfs /home/ian/.aaaaaaxxxxTestCryptKeeper_encfs /home/ian/aaaaaaxxxxTestCryptKeeper

The mount command will then show:

If /home/ian/.aaaaaaxxxxTestCryptKeeper_encfs does not exist you will asked if you wish to create it and you will be asked for a password twice. In this case it will not be in CryptKeeper unless you then import it.)

If it is a CryptKeeper file then it appears in CryptKeeper file list as opened and can be closed from there. To close from the command line type:

Note unmount will not work for these files.

View 1 Replies View Related

Ubuntu :: Rsnapshot Over SSHFS And ENCFS

Apr 29, 2010

Right, just a quick question about rsnapshot over sshfs and encfs. I've set up an encfs filesystem, and when mounted on the remote machine remotely:

Code:
touch foo.bar
Code:
cp -al foo.bar foo.car
Works as one would expect it to.

The same is true on the local machine (The EncFS has External IV chaining disabled). However, when the remote dir is sshfs mounted on my computer here, and then encfs'd to a decrypt mount on my computer, I can move files to it, and they go over the network and get encrypted, however:

Code:
cp -al <file> <file>
No longer works, I get 'not implemented' errors...

I thought since I don't have External IV chaining this shouldn't be an issue - I've tried without any of the file chaining options, again to no effect. All work remotely, or with both locally, but not over sshfs. Is this a quirk of sshfs?

View 1 Replies View Related

Ubuntu Security :: How To Disable Encfs

Jun 19, 2011

Set up a few machines yesterday to test out some parallel code. Just for fun, I selected the "encrypt users files" option when setting up Ubuntu (10.10). I had never used the option in years past. Now I'm finding it a pain. EG., ssh requires me to already have a login to the machine before it will let me log in w/o a password (eg., using id_rsa.pub and authorized_keys).

Similarly, I have no reason to encrypt files on these machines. They're just crunching numbers. Is there an easy way to disable this? Or do I need to delete my original user and make another one (with all the su privelages, etc...) w/o an encrypted file system / home directory.

View 1 Replies View Related

Networking :: Mount Encfs On From A Nfs Source?

Feb 17, 2011

I have two computers on my network, both are running Ubuntu 10.10. I wish to access encfs-encrypted directories on a remote computer from my local computer. I used nfs to mount the remote encrypted directory onto my local machine, and then I used encfs to decrypt. But because of nfs' use of some UID-type ownership convention rather than user:group, I have no access to the directory I just mounted.I want my local machine's software to access the files, so ssh login is probably not a solution, and I would like to avoid using encfs' --public option if possible.

View 2 Replies View Related

Slackware :: Running EncFS On Old Install Of 13.0

May 9, 2010

Just a warning / question about Encfs on Slackware current. I doesn't work due to the upgrade to boost 1.4.2. I ran encfs on an old install of 13.0 to get at my data, but I'd prefer to access it right from current. A big warning: if you try to access your encrypted data on current it will corrupt your encfs6.xml file and I don't know if it is recoverable (I had a backup of mine).

View 5 Replies View Related

Ubuntu Security :: Encfs: MAC Comparison Failed

Jul 7, 2011

I'm running 11.04 (64 bit) get the following in my syslog

[Code]....

1) Why is this happening
2) How can it be fixed
3) How can it be avoided

View 3 Replies View Related

Ubuntu :: EncFS Mount - Regular Directory Disappears

Jun 15, 2011

Whenever I mount a encfs directory to a regular directory, the regular directory disappears. this is the command I use
encfs ~/encrypted ~/plain
When I try to access the folder from my windows computer, I can not see it. What to do?

View 2 Replies View Related

General :: Is It Safe To Mount Encfs Via Nfs On Several Machines Simultaneously

Mar 25, 2010

There are some encfs folders with private data on the server and all data is exported via nfs to all other omputers in the house.I can mount the encfs folders on another computer (using encfs command) to work with the data, but I never dared to mount it on more than one computer simultaniously, because I fear the encrypted data might get corrupted if more than one computer mount and access it at the same time.

So I want to ask about your experience: Is it safe to mount an encfs folder on several computers at the same time? All computers use "hard" and "sync" as nfs mount options to minimize risks of data loss. But can I access the folders simultaniously, or do I risk corrupting the encfs encryption and lose everything?

View 2 Replies View Related

Slackware :: Recent Openssl Patch Broke Encfs?

Mar 8, 2010

I started up my machine this morning and entered my password to encfs as I do each day and was greeted with a message telling me my password was incorrect. I tried several times, checked caps lock but no joy.

The message (which I didn't copy and paste unfortunately) mentioned ssl and I remembered that openssl was one of the security patches I applied at the weekend. So I removepkg'd the two openssl packages (v0.9.8m) and then installpkg'd the original ones that came with slackware 13.0 (v0.9.8k).

View 4 Replies View Related

Ubuntu Servers :: Sharing An Encfs Non Public Folder With Samba?

Jun 7, 2011

I've been trying to share a folder with samba. This folder is the decrypted version of an encfs encrypted folder. Mounting the decrypted folder on the server is done automatically on login using gnome-encfs. Exposing the folder locally works like a charm. Now where I get stuck is trying to access the samba share from a client (even with smbclient on the server itself). I can see the share with smbclient -L:

tijm64@tijm64-HTPC:~$ smbclient -L 192.168.1.100
Enter tijm64's password:
Domain=[TIJM64] OS=[Unix] Server=[Samba 3.4.7]

[Code].....

View 1 Replies View Related

Ubuntu Security :: Encfs: Preserve Timestamps On A Shared Encrypted Folder?

Mar 2, 2010

[URL]

encfs: preserve timestamps on a shared encrypted folder?

View 1 Replies View Related

Ubuntu Security :: Encfs: Preserve Ownership On A Shared Encrypted Folder?

Mar 3, 2010

I would like to create an encrypted folder which can be shared by users included in the users group.To do so I used encfs:

Code:

cd somewhere
sudo mkdir encrypted visible
sudo chown root:users encrypted visible
sudo chmod 770 encrypted visible
encfs /somewhere/encrypted /somewhere/visible -o allow_other -o umask='007' -o uid='0'

Now if a user (included in users) creates a new document in the visible folder, that will be

Quote:

-rwxrwx--- 1 root users 0 2010-03-02 14:19 new file

While I would like it to be

Quote:

-rwxrwx--- 1 user users 0 2010-03-02 14:19 new file

Mounting encfs without the option uid='0' gives same results with only difference that instead of root the owner is the user who mounted encfs. Also copying a file owned by different user rather than root goes to the same: for example having in my home a file like

Quote:

-rwxr-x--- 1 me users 0 2010-03-02 14:30 myfile

and trying to copy it to the encrypted shared folder with

Code:

sudo cp -a -v ~/myfile /somewhere/visible

will give something like

Quote:

cp: failed to preserve ownership for `~/myfile': Operation not permitted

And the copied file on the shared encrypted folder will be as usual:

Quote:

-rwxrwx--- 1 root users 0 2010-03-02 14:30 myfile

Is there a way to mount encfs in order to preserve ownership?

View 3 Replies View Related

Ubuntu Security :: Terminal Command To Tell Encfs To Not Decrypt Home Folder When I Log In?

Mar 21, 2010

Is there a way for my home folder to not be automatically mounted when i log in? And for that matter a way to change the password from my log in password to something else?

View 2 Replies View Related

Ubuntu Networking :: Wireless Suddenly Stopped Working AND Rfkill Command Not Working

Jul 13, 2011

When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.

Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.

I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.

View 1 Replies View Related

Fedora Networking :: Ping Working But Internet Not Working From Dhcp Clients

Jul 17, 2009

I have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 74.125.39.106) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?

View 3 Replies View Related

OpenSUSE Wireless :: Intel PRO 2100 Not Working - RF Killswitch Button Not Working At All?

Feb 18, 2010

I followed the sticky about setting up wireless and I have come to an issue where the WLAN switch which is on this computer can be pressed, the light comes on, but no WLAN. When I looked in dmesg, this is what I get:

ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
firmware: requesting ipw2100-1.3.fw
eth0: Radio is disabled by RF switch.

When running iwconfig wlan0 heres what I get:

home/j-dub # iwconfig eth0
wlan0 unassociated ESSID off/any Nickname:"ipw2100"
Mode:Managed Channel=0 Access Point: Not-Associated

[code]....

Notice it says that the 'Radio is disabled by switch' in dmesg. I can press that switch until the end of the world comes and it does absolutely nothing but make the WLAN light put on a light show. And it shows the wlan to be unassociated with any clients. So, what are my options to get this Wireless up and working?

Computer/OS info:

Fujitsu-Siemens Amilo M7400
1.4GHz Intel Centrino R
40GB HD
Suse 11.1 KDE

View 9 Replies View Related

Ubuntu Networking :: Wired Internet Not Working Since Update / Wless Not Working

Jun 21, 2010

I have been looking around the forums searching for similar problems, it seems not only me had this problem. About a month ago I did a regular update via Upd Manager. The next day - no wired connection.Still managable, since the local library has wireless. Now that won't work either.Just after I upgraded from Jaunty, I accidentally removed NetwMngr from the top right corner of the screen, but that should not have anything to do with how the program works, right? I now cannot reach NM, if I run it from the terminal, nothing happens visibly.

View 5 Replies View Related

Ubuntu Multimedia :: Updating NVidia Driver Not Working, Tried Manual, Not Working?

Sep 18, 2010

I installed it on a Dell Inspiron 531 with the GeForce 6150SE nForce 430 built in video card. From the recommend driver list I installed �NVIDIA accelerated graphics driver (version current) [Recommended

Well, turns out it should not have been recommended. I had restarted and all I got was a low res ubuntu logo and a boot right into a full screen terminal. Tried startx and got a no screens found, I look online for about an hour last night and decided to just reinstall, which takes a couple hours when installing all the packages.

I have done more research today and found to install the latest linux x64 driver from nVidias website, which I did, but it does not run. I followed some more instructions and it said to do a �sudo chmod +x <file>� which I did, and it starts to open and I get �You appear to be running an X server; please exit X before installing.�

I�m starting to get a little frustrated here, guess I�m just used to a lot of the ease of windows and assumed that something like installing a graphics card driver would be easy.

View 3 Replies View Related

Ubuntu Networking :: 10.10 Internet Working But Evolution Mail And GTalk Not Working?

Nov 17, 2010

I have a Dell Latitude D530 Laptop (500 GB HDD). Installed Windows XP and then Ubuntu 10.10 to do dual boot. everything works fine in Windows XP.In Ubuntu 10.10 I had issues connecting to Internet(Through Wirelss), I was able to rectify this issue by dsiable ipv6 from firefox about:config and setting true to network.dns.disableIPv6. After this I was able to connect to internet and browse websites from Firefox.But I am having Issues with Evolution Mail(Connection Timed Out) and Google Talk Client(Connection Timed Out).Empathy Internet Messaging gets connected fine.I was wondering if I will have to disable IPv6 System wide and hence I added the following lines to /etc/sysctl.conf

#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

[code]....

View 9 Replies View Related

Ubuntu Networking :: Network Card Working On 10.04 32bit But Not Working On 10.04 64bit!

Jul 25, 2011

I had an Ubuntu Server 32 bit installation and everything was working fine. Now that I installed Ubuntu Server 64bit on a new drive in the same machine, the ethernet card is not working!! This is insane cause when I put the hard disk with the 32bit installation back and booting from it, the ethernet card is working without any problems but in the 64bits installation it is not shown at all using "ifconfig -a"

lspci output:

Quote:

02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)

How can I check which module is being loaded in the 32bits installation to try to load it manually in the 64 bits installation?

View 3 Replies View Related

OpenSUSE Network :: Internet Working - Package Management Not Working

Dec 17, 2010

I use an internet connection with a proxy. I have set the proxy in Firefox and systemsettings so now I can browse the web and I can ping Google from Console. But when I start Software Management, it says "Cannot access installation media". Whats wrong?

View 3 Replies View Related

Ubuntu Servers :: Website Not Working \ Default Site Is Working?

Jan 19, 2011

I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:

<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com

[code]....

View 9 Replies View Related

Ubuntu Servers :: After Some PHP Fatal Errors / Php Do Not Working / But Html Is Still Working

Mar 7, 2011

I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)

View 2 Replies View Related

Ubuntu Servers :: .htaccess Working, Rewrite Not Working Properly?

Apr 25, 2011

I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]

[code]....

View 8 Replies View Related

Ubuntu Multimedia :: .m4a Files Not Working In Banshee But Working In Rhythmbox

Apr 26, 2011

.m4a files not working in banshee but working in rhythmbox.

View 1 Replies View Related

Ubuntu Networking :: Wireless Is Not Working (only Wired Connection Is Working)

Jul 18, 2011

I can connect to the internet with wired connection. The switch for the device is on but this command "sudo lshw -C network" has the following results:

#
[sudo] password for nn:
*-network
description: Network controller
product: BCM4312 802.11a/b/g

[Code]....

View 9 Replies View Related

Fedora :: Working Wireless - Now Not Working After Adding WPA

Dec 26, 2009

I recently moved into my room-mates house and her wireless was not secure as I was able to log on to it unsecured with my Fedora 12 Laptop. After Securing it with WPA all the windows computers had no problem getting back on to the now secure wireless. Using GNOME I went to SYSTEM then PREFERENCES and NETWORK CONNECTIONS and clicked on the wireless tab and configured wireless security tab and configured for WPA WPA2 Personal. No problems. But when I go to the gnome tool bar and click on the network and see our SSID it wants to use WEP 40bit and others methods but has no selection for WPA.

View 10 Replies View Related







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