LWN.net Logo

eCryptfs: added support for the encrypted key type

From:  Roberto Sassu <roberto.sassu@polito.it>
To:  linux-security-module@vger.kernel.org
Subject:  [PATCH v5 0/7] eCryptfs: added support for the encrypted key type
Date:  Mon, 27 Jun 2011 13:45:38 +0200
Message-ID:  <1309175148-6651-1-git-send-email-roberto.sassu@polito.it>
Cc:  keyrings@linux-nfs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, dhowells@redhat.com, jmorris@namei.org, zohar@linux.vnet.ibm.com, safford@watson.ibm.com, ramunno@polito.it, tyhicks@linux.vnet.ibm.com, kirkland@canonical.com, ecryptfs-devel@lists.launchpad.net, Roberto Sassu <roberto.sassu@polito.it>
Archive-link:  Article, Thread

This patch set adds support for the 'encrypted' key type in the eCryptfs
filesystem.

Changelog from version v4:
 - rebased on the kernel version 3.0-rc4;
 - fixed master key dumping in request_master_key() when debug is enabled;
 - made more understandable the debug messages added in the patch 3/7.

Roberto Sassu


Roberto Sassu (7):
  encrypted_keys: avoid dumping the master key if the request fails
  encrypted-keys: fixed valid_master_desc() function description
  encrypted-keys: added additional debug messages
  encrypted-keys: add key format support
  eCryptfs: export global eCryptfs definitions to
    include/linux/ecryptfs.h
  encrypted-keys: add ecryptfs format support
  eCryptfs: added support for the encrypted key type

 Documentation/keys-ecryptfs.txt                   |   68 ++++++
 Documentation/security/keys-trusted-encrypted.txt |   52 +++--
 fs/ecryptfs/ecryptfs_kernel.h                     |  150 ++++---------
 fs/ecryptfs/keystore.c                            |   13 +-
 include/keys/encrypted-type.h                     |   13 +-
 include/linux/ecryptfs.h                          |  113 +++++++++
 security/keys/Makefile                            |    2 +-
 security/keys/ecryptfs_format.c                   |   81 +++++++
 security/keys/ecryptfs_format.h                   |   30 +++
 security/keys/encrypted.c                         |  251 ++++++++++++++++-----
 10 files changed, 584 insertions(+), 189 deletions(-)
 create mode 100644 Documentation/keys-ecryptfs.txt
 create mode 100644 include/linux/ecryptfs.h
 create mode 100644 security/keys/ecryptfs_format.c
 create mode 100644 security/keys/ecryptfs_format.h

-- 
1.7.4.4


Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds