All of lore.kernel.org
 help / color / mirror / Atom feed
* Proposal for keying encrypted filesystem
@ 2003-03-29  1:26 Pierre Abbat
  2003-03-29 16:46 ` Edward Shushkin
  0 siblings, 1 reply; 53+ messages in thread
From: Pierre Abbat @ 2003-03-29  1:26 UTC (permalink / raw)
  To: reiserfs-list

Each file has a four-byte key ID in its inode and is encrypted with a longer 
key. (One way to make these keys is to hash a passphrase with SHA1 and use 
four bytes for the key ID and the rest for the key.) Each process may hold 
any number of credentials consisting of the key ID and the key. When a 
process attempts to open an encrypted file, the kernel checks whether it or 
any of its ancestors has a credential that matches the file's key ID.

A utility called reiserkey is used to set and unset these keys. It can set or 
unset the key in itself or any of its ancestors running under the same uid, 
or if it's running as root, in any of its ancestors. reiserkey -a n sets the 
key in the nth ancestor; reiserkey -p n sets the key in process n. The 
default is -a 1; if reiserkey is run from a shell script, this sets the key 
in the shell script. To set it system-wide, use -p 1.

phma
-- 
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.

^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2003-04-08 10:10 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-29  1:26 Proposal for keying encrypted filesystem Pierre Abbat
2003-03-29 16:46 ` Edward Shushkin
2003-03-29 16:55   ` Pierre Abbat
2003-03-29 18:17     ` Edward Shushkin
2003-03-29 20:49       ` Pierre Abbat
2003-03-30 10:12         ` Hendrik Visage
2003-03-30 17:00           ` Pierre Abbat
2003-03-31  9:15             ` Hendrik Visage
2003-03-30 16:30       ` Pierre Abbat
2003-03-31 11:21         ` Edward Shushkin
2003-03-31 12:09           ` Edward Shushkin
2003-03-31 13:36             ` Hendrik Visage
2003-03-31 13:54               ` Pierre Abbat
2003-03-31 16:35                 ` Hendrik Visage
2003-03-31 20:11                   ` Pierre Abbat
2003-03-31 21:31                     ` Hendrik Visage
2003-03-31 22:40                       ` Pierre Abbat
2003-04-01  9:31                         ` Hendrik Visage
2003-03-31 13:58               ` Edward Shushkin
2003-03-31 16:45                 ` Hendrik Visage
2003-04-01 12:28                   ` Edward Shushkin
2003-04-01 16:06                     ` Hans Reiser
2003-04-01 16:16                       ` Anders Widman
2003-04-01 16:21                         ` Hans Reiser
2003-04-02  2:56                           ` Pierre Abbat
2003-04-02  6:06                             ` Hans Reiser
2003-04-02 13:05                               ` Pierre Abbat
2003-04-02 15:11                             ` Edward Shushkin
2003-04-03 16:14                       ` Valdis.Kletnieks
2003-04-03 19:43                         ` Hans Reiser
2003-04-03 20:08                           ` Valdis.Kletnieks
2003-04-03 19:44                         ` Hans Reiser
2003-04-03 23:22                         ` Pierre Abbat
2003-04-04  0:25                           ` Russell Coker
2003-04-04 14:01                           ` Valdis.Kletnieks
2003-04-04 14:30                             ` Pierre Abbat
2003-04-04 14:47                               ` Valdis.Kletnieks
2003-04-04 14:57                                 ` Pierre Abbat
2003-04-04 16:36                                   ` Edward Shushkin
2003-04-04 16:45                                     ` Valdis.Kletnieks
2003-04-04 15:25                                 ` Edward Shushkin
2003-04-04 16:50                                   ` Hans Reiser
2003-04-04 17:19                                     ` Edward Shushkin
2003-04-04 18:45                                       ` Hans Reiser
2003-04-05  0:01                                         ` Pierre Abbat
2003-04-07  0:44                                           ` Valdis.Kletnieks
2003-04-07  1:14                                             ` Pierre Abbat
2003-04-07  4:52                                               ` Valdis.Kletnieks
2003-04-07 16:55                                           ` Hans Reiser
2003-04-07 18:38                                         ` Edward Shushkin
2003-04-07 19:46                                           ` Hans Reiser
2003-04-07 22:36                                           ` Pierre Abbat
2003-04-08 10:10                                             ` Edward Shushkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.