public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Halcrow <mhalcrow@us.ibm.com>
To: "Josef 'Jeff' Sipek" <jsipek@cs.sunysb.edu>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH 1/1] eCryptfs: Move ecryptfs docs into Documentation/filesystems/
Date: Thu, 24 May 2007 10:04:04 -0500	[thread overview]
Message-ID: <20070524150404.GA3646@us.ibm.com> (raw)
In-Reply-To: <1179970820209-git-send-email-jsipek@cs.sunysb.edu>

On Wed, May 23, 2007 at 09:40:20PM -0400, Josef 'Jeff' Sipek wrote:
> Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>

Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>

> ---
>  Documentation/ecryptfs.txt             |   77 --------------------------------
>  Documentation/filesystems/ecryptfs.txt |   77 ++++++++++++++++++++++++++++++++
>  2 files changed, 77 insertions(+), 77 deletions(-)
>  delete mode 100644 Documentation/ecryptfs.txt
>  create mode 100644 Documentation/filesystems/ecryptfs.txt
> 
> diff --git a/Documentation/ecryptfs.txt b/Documentation/ecryptfs.txt
> deleted file mode 100644
> index 01d8a08..0000000
> --- a/Documentation/ecryptfs.txt
> +++ /dev/null
> @@ -1,77 +0,0 @@
> -eCryptfs: A stacked cryptographic filesystem for Linux
> -
> -eCryptfs is free software. Please see the file COPYING for details.
> -For documentation, please see the files in the doc/ subdirectory.  For
> -building and installation instructions please see the INSTALL file.
> -
> -Maintainer: Phillip Hellewell
> -Lead developer: Michael A. Halcrow <mhalcrow@us.ibm.com>
> -Developers: Michael C. Thompson
> -            Kent Yoder
> -Web Site: http://ecryptfs.sf.net
> -
> -This software is currently undergoing development. Make sure to
> -maintain a backup copy of any data you write into eCryptfs.
> -
> -eCryptfs requires the userspace tools downloadable from the
> -SourceForge site:
> -
> -http://sourceforge.net/projects/ecryptfs/
> -
> -Userspace requirements include:
> - - David Howells' userspace keyring headers and libraries (version
> -   1.0 or higher), obtainable from
> -   http://people.redhat.com/~dhowells/keyutils/
> - - Libgcrypt
> -
> -
> -NOTES
> -
> -In the beta/experimental releases of eCryptfs, when you upgrade
> -eCryptfs, you should copy the files to an unencrypted location and
> -then copy the files back into the new eCryptfs mount to migrate the
> -files.
> -
> -
> -MOUNT-WIDE PASSPHRASE
> -
> -Create a new directory into which eCryptfs will write its encrypted
> -files (i.e., /root/crypt).  Then, create the mount point directory
> -(i.e., /mnt/crypt).  Now it's time to mount eCryptfs:
> -
> -mount -t ecryptfs /root/crypt /mnt/crypt
> -
> -You should be prompted for a passphrase and a salt (the salt may be
> -blank).
> -
> -Try writing a new file:
> -
> -echo "Hello, World" > /mnt/crypt/hello.txt
> -
> -The operation will complete.  Notice that there is a new file in
> -/root/crypt that is at least 12288 bytes in size (depending on your
> -host page size).  This is the encrypted underlying file for what you
> -just wrote.  To test reading, from start to finish, you need to clear
> -the user session keyring:
> -
> -keyctl clear @u
> -
> -Then umount /mnt/crypt and mount again per the instructions given
> -above.
> -
> -cat /mnt/crypt/hello.txt
> -
> -
> -NOTES
> -
> -eCryptfs version 0.1 should only be mounted on (1) empty directories
> -or (2) directories containing files only created by eCryptfs. If you
> -mount a directory that has pre-existing files not created by eCryptfs,
> -then behavior is undefined. Do not run eCryptfs in higher verbosity
> -levels unless you are doing so for the sole purpose of debugging or
> -development, since secret values will be written out to the system log
> -in that case.
> -
> -
> -Mike Halcrow
> -mhalcrow@us.ibm.com
> diff --git a/Documentation/filesystems/ecryptfs.txt b/Documentation/filesystems/ecryptfs.txt
> new file mode 100644
> index 0000000..01d8a08
> --- /dev/null
> +++ b/Documentation/filesystems/ecryptfs.txt
> @@ -0,0 +1,77 @@
> +eCryptfs: A stacked cryptographic filesystem for Linux
> +
> +eCryptfs is free software. Please see the file COPYING for details.
> +For documentation, please see the files in the doc/ subdirectory.  For
> +building and installation instructions please see the INSTALL file.
> +
> +Maintainer: Phillip Hellewell
> +Lead developer: Michael A. Halcrow <mhalcrow@us.ibm.com>
> +Developers: Michael C. Thompson
> +            Kent Yoder
> +Web Site: http://ecryptfs.sf.net
> +
> +This software is currently undergoing development. Make sure to
> +maintain a backup copy of any data you write into eCryptfs.
> +
> +eCryptfs requires the userspace tools downloadable from the
> +SourceForge site:
> +
> +http://sourceforge.net/projects/ecryptfs/
> +
> +Userspace requirements include:
> + - David Howells' userspace keyring headers and libraries (version
> +   1.0 or higher), obtainable from
> +   http://people.redhat.com/~dhowells/keyutils/
> + - Libgcrypt
> +
> +
> +NOTES
> +
> +In the beta/experimental releases of eCryptfs, when you upgrade
> +eCryptfs, you should copy the files to an unencrypted location and
> +then copy the files back into the new eCryptfs mount to migrate the
> +files.
> +
> +
> +MOUNT-WIDE PASSPHRASE
> +
> +Create a new directory into which eCryptfs will write its encrypted
> +files (i.e., /root/crypt).  Then, create the mount point directory
> +(i.e., /mnt/crypt).  Now it's time to mount eCryptfs:
> +
> +mount -t ecryptfs /root/crypt /mnt/crypt
> +
> +You should be prompted for a passphrase and a salt (the salt may be
> +blank).
> +
> +Try writing a new file:
> +
> +echo "Hello, World" > /mnt/crypt/hello.txt
> +
> +The operation will complete.  Notice that there is a new file in
> +/root/crypt that is at least 12288 bytes in size (depending on your
> +host page size).  This is the encrypted underlying file for what you
> +just wrote.  To test reading, from start to finish, you need to clear
> +the user session keyring:
> +
> +keyctl clear @u
> +
> +Then umount /mnt/crypt and mount again per the instructions given
> +above.
> +
> +cat /mnt/crypt/hello.txt
> +
> +
> +NOTES
> +
> +eCryptfs version 0.1 should only be mounted on (1) empty directories
> +or (2) directories containing files only created by eCryptfs. If you
> +mount a directory that has pre-existing files not created by eCryptfs,
> +then behavior is undefined. Do not run eCryptfs in higher verbosity
> +levels unless you are doing so for the sole purpose of debugging or
> +development, since secret values will be written out to the system log
> +in that case.
> +
> +
> +Mike Halcrow
> +mhalcrow@us.ibm.com

      reply	other threads:[~2007-05-24 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-24  1:40 [PATCH 1/1] eCryptfs: Move ecryptfs docs into Documentation/filesystems/ Josef 'Jeff' Sipek
2007-05-24 15:04 ` Michael Halcrow [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070524150404.GA3646@us.ibm.com \
    --to=mhalcrow@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=jsipek@cs.sunysb.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox