Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 52 and Version 53 of mmcco


Ignore:
Timestamp:
Jul 22, 2015, 4:59:55 AM (9 years ago)
Author:
mmcco
Comment:

Pidgin processes need continued access to /usr/share for GTK stuff, other related privsep fixes

Legend:

Unmodified
Added
Removed
Modified
  • mmcco

    v52 v53  
    135135Privilege separation is one of the easiest ways to improve Pidgin's security.
    136136
    137 Generally, there are only two types of file access for Pidgin/libpurple:
     137After initial library loading, there are three types of file access for Pidgin:
    138138* access to libpurple-specific files in `~/.purple/`
    139139* access to files in arbitrary locations for file transfers
     140* GTK-related files (icons, etc.) from `/usr/share`
    140141
    141 This makes the solution pretty clear: have a process for Pidgin's core that's chrooted to `~/.purple/` and a file transfer helper process with arbitrary file access.
     142Of course, the third does not apply to libpurple.
    142143
    143 Later, additional daemons could be added for things like logging and chrooted to subdirectories of `~/.purple/`. This would further protect user credentials and OTR keys.
     144This suggests a solution: we can have a process for Pidgin's core that's restricted to `~/.purple/` and `/usr/share`, and a file transfer helper process with arbitrary file access.
     145
     146Later, additional daemons could be added for things like logging and restricted to subdirectories of `~/.purple/`. This would further protect user credentials and OTR keys.
    144147
    145148=== Breakages ===
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!