Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Encrypted file system in hosted Inferno?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul Lalonde  
View profile  
 More options Feb 27 2009, 8:58 pm
From: Paul Lalonde <paul.a.lalo...@gmail.com>
Date: Fri, 27 Feb 2009 17:58:04 -0800
Local: Fri, Feb 27 2009 8:58 pm
Subject: Encrypted file system in hosted Inferno?
I carry a USB stick with acme-sac on it, and use it as "work  
anywhere" portable environment; hosted means I get to work on PCs,  
Macs, whatever I keep emu around of.  Sweet.

I now need to keep much of the drive contents encrypted.  It would be  
very useful if I could keep an entire file system tree in a hosted  
file.  Is there such a file server kicking around?  I'm happy to use  
cp within Inferno to manage host/stick file transfers.

  I keep getting the impression I should be able to do something  
equivalent in 10 lines of shell script, but I'm insufficiently  
Inferno-savvy to figure it out.

Thanks,
    Paul


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arvindh Rajesh Tamilmani  
View profile  
 More options Feb 28 2009, 12:37 am
From: Arvindh Rajesh Tamilmani <arvin...@gmail.com>
Date: Sat, 28 Feb 2009 11:07:17 +0530
Local: Sat, Feb 28 2009 12:37 am
Subject: Re: [acme-sac] Encrypted file system in hosted Inferno?

> I now need to keep much of the drive contents encrypted.

pipefs(4) could be used to read / write from an encrypted directory tree.
from my $home/lib/profile:

                   (pipefs -c -r 'crypt -d -k keyfile'
                       -w 'crypt -k keyfile'
                       /encrypted/dir /n/decrypted)

keyfile contains the key in plain text and needs protection.

> It would be very
> useful if I could keep an entire file system tree in a hosted file.  Is
> there such a file server kicking around?

kfs(4), but i have not attempted an encryption setup using this.

arvindh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Lalonde  
View profile  
 More options Feb 28 2009, 12:55 am
From: Paul Lalonde <paul.a.lalo...@gmail.com>
Date: Fri, 27 Feb 2009 21:55:30 -0800
Local: Sat, Feb 28 2009 12:55 am
Subject: Re: [acme-sac] Re: Encrypted file system in hosted Inferno?
Pipefs doesn't quite do enough - the names of the themselves files  
are sensitive.

Encrypting the kfs file would suffice, but for the hassle of  
encrypting/decrypting each session.

I'll look at how bad it is to write a block-encrypting server to sit  
under the kfs file.

Paul

On Feb 27, 2009, at 9:37 PM, Arvindh Rajesh Tamilmani wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arvindh Rajesh Tamilmani  
View profile  
 More options Feb 28 2009, 1:58 am
From: Arvindh Rajesh Tamilmani <arvin...@gmail.com>
Date: Sat, 28 Feb 2009 12:28:02 +0530
Local: Sat, Feb 28 2009 1:58 am
Subject: Re: [acme-sac] Re: Encrypted file system in hosted Inferno?

> Pipefs doesn't quite do enough - the names of the themselves files are
> sensitive.

> Encrypting the kfs file would suffice, but for the hassle of
> encrypting/decrypting each session.

after creating a kfs(4) file, mounting it in $home/lib/profile works for me.

                   mount -c {disk/kfs -n secretfs /host/kfs/file}
/n/encrypted-fs
                   (pipefs -c -r 'crypt -d -k keyfile'
                       -w 'crypt -k keyfile'
                       /n/encrypted-fs /n/decrypted-fs)

at the end of the profile, the file systems may need to be
unmounted / synced (disk/kfscmd -n secretfs sync).

arvindh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Lalonde  
View profile  
 More options Feb 28 2009, 4:31 am
From: Paul Lalonde <paul.a.lalo...@gmail.com>
Date: Sat, 28 Feb 2009 01:31:29 -0800
Local: Sat, Feb 28 2009 4:31 am
Subject: Re: [acme-sac] Re: Encrypted file system in hosted Inferno?
Ah, that's very nice.  It's unfortunate that it leaves the file  
system data (filenames, tree) in the clear.  But this is enough to  
get me started.

Now for an "I feel like dunce" moment: Under acme-sac 0.31 on OS-X I  
can't seem to type ^d for end-of-file, or ^c or del for break; my  
habit of cat > foo causes me some consternation.  What am I doing wrong?

Paul

On Feb 27, 2009, at 10:58 PM, Arvindh Rajesh Tamilmani wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mechiel Lukkien  
View profile  
 More options Mar 1 2009, 12:00 pm
From: Mechiel Lukkien <mech...@ueber.net>
Date: Sun, 1 Mar 2009 18:00:43 +0100
Local: Sun, Mar 1 2009 12:00 pm
Subject: Re: [acme-sac] Encrypted file system in hosted Inferno?

On Fri, Feb 27, 2009 at 05:58:04PM -0800, Paul Lalonde wrote:

> I carry a USB stick with acme-sac on it, and use it as "work  
> anywhere" portable environment; hosted means I get to work on PCs,  
> Macs, whatever I keep emu around of.  Sweet.

> I now need to keep much of the drive contents encrypted.  It would be  
> very useful if I could keep an entire file system tree in a hosted  
> file.  Is there such a file server kicking around?  I'm happy to use  
> cp within Inferno to manage host/stick file transfers.

>  I keep getting the impression I should be able to do something  
> equivalent in 10 lines of shell script, but I'm insufficiently  
> Inferno-savvy to figure it out.

i had that idea too when i wrote this:

        http://www.ueber.net/code/r/cryptfile

i'm still waiting for enough insight to make the shell script...
anyway, i think all info/warnings are at the url.

mjl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »