public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] how to handle sensitive files when generating binary packages
@ 2007-06-20  4:47 Mike Frysinger
  2007-06-20 10:45 ` Andrew Gaffney
                   ` (2 more replies)
  0 siblings, 3 replies; 56+ messages in thread
From: Mike Frysinger @ 2007-06-20  4:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

there are many files out there that contain critical information about your 
system ... lets look at /etc/shadow

baselayout installs this file, yet it is not listed in CONTENTS for a very 
good reason ... if someone were to run `quickpkg baselayout` and post the 
file somewhere, they could easily have done so without realizing the 
implications.  social engineering on irc for example would be trivial to 
accomplish this and say hello to my little root shell.

however, there are certainly cases where the admin fully knows what they're 
doing and they want to create a binary package of their system with these 
sensitive files ... so where to meet in the middle.

mayhaps we need a new function to be run in src_install() to label files 
as "sensitive" ... so baselayout would do:
esosensitive /etc/{fstab,group,passwd,shadow}
and then we expand the format of CONTENTS in the vdb:
priv /etc/fstab <hash> <mtime>

any other potential ideas ?  (pretend my idea here isnt the greatest thing 
since Robot Chicken)
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

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

end of thread, other threads:[~2007-06-22  6:28 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-20  4:47 [gentoo-dev] how to handle sensitive files when generating binary packages Mike Frysinger
2007-06-20 10:45 ` Andrew Gaffney
2007-06-20 10:49 ` Marius Mauch
2007-06-20 11:54   ` [gentoo-dev] VDB Changes (Was Re: how to handle sensitive files when generating binary packages) Steve Long
2007-06-20 19:57   ` [gentoo-dev] how to handle sensitive files when generating binary packages Mike Frysinger
2007-06-20 20:18     ` Petteri Räty
2007-06-20 20:27       ` Mike Frysinger
2007-06-20 20:35         ` Ciaran McCreesh
2007-06-20 20:48           ` Olivier Crête
2007-06-20 20:55             ` Ciaran McCreesh
2007-06-20 20:54           ` Mike Frysinger
2007-06-20 21:01             ` Ciaran McCreesh
2007-06-20 21:19               ` Mike Frysinger
2007-06-20 21:22                 ` Ciaran McCreesh
2007-06-20 21:38                   ` Mike Frysinger
2007-06-20 21:48                     ` Ciaran McCreesh
2007-06-20 21:59                       ` Mike Frysinger
2007-06-20 22:02                 ` Olivier Crête
2007-06-20 22:28                   ` Mike Frysinger
2007-06-20 22:41                     ` Olivier Crête
2007-06-20 22:50                       ` Mike Frysinger
2007-06-20 23:11                         ` Chris Gianelloni
2007-06-20 23:44                           ` Mike Frysinger
2007-06-20 22:31               ` Chris Gianelloni
2007-06-20 22:35                 ` Ciaran McCreesh
2007-06-20 22:49                   ` Luca Barbato
2007-06-20 23:08                   ` Chris Gianelloni
2007-06-20 23:12                     ` Daniel Ostrow
2007-06-20 23:51                       ` [gentoo-dev] " Steve Long
2007-06-20 23:18                     ` [gentoo-dev] " Ciaran McCreesh
2007-06-21  7:57                   ` Tobias Klausmann
2007-06-20 22:58               ` Jan Kundrát
2007-06-20 21:04       ` William L. Thomson Jr.
2007-06-20 21:11     ` Ned Ludd
2007-06-20 21:38       ` Mike Frysinger
2007-06-20 13:04 ` Olivier Crête
2007-06-20 13:15   ` Matthias Schwarzott
2007-06-20 15:43     ` [gentoo-dev] " Duncan
2007-06-20 16:44     ` [gentoo-dev] " Marius Mauch
2007-06-20 20:07   ` Mike Frysinger
2007-06-20 20:12     ` Ciaran McCreesh
2007-06-20 20:19       ` Andrew Gaffney
2007-06-20 20:25         ` Ciaran McCreesh
2007-06-20 20:53           ` Andrew Gaffney
2007-06-20 21:09             ` William L. Thomson Jr.
2007-06-21  1:38               ` [gentoo-dev] User warnings (Was Re: how to handle sensitive files when generating binary packages) Steve Long
2007-06-21  1:42             ` [gentoo-dev] Re: how to handle sensitive files when generating binary packages Steve Long
2007-06-21  0:13           ` [gentoo-dev] " Josh Saddler
2007-06-21  2:24             ` Mike Frysinger
2007-06-21  3:04               ` Mike Frysinger
2007-06-21  3:18                 ` Josh Saddler
2007-06-21  6:11                 ` Ned Ludd
2007-06-21  6:23                   ` Vlastimil Babka
2007-06-21  6:17                 ` Vlastimil Babka
2007-06-22  6:24                   ` Mike Frysinger
2007-06-20 20:26       ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox