Powerbox for Gtk is a Gtk patch that substitutes the GtkFileChooserDialog, enhancing its security features for requested permissions by applications.
This patch is based on Plash, a tool that provides a restricted execution environment on Linux. Powerbox-for-Gtk modifies Gtk and replaces its file chooser dialog with a Powerbox.
The latest release of Powerbox-for-Gtk includes several updates and improvements:
- Addition of gtk-powerbox.c, an LD_PRELOADed patch that replaces the GtkFileChooserDialog interface with Plash's powerbox.
- Renaming of the "plash" executable to "pola-shell".
- Addition of a log method in fs-operations.c, along with an "end" log message when the fs_op object is dropped.
- Gettextization to enable translations of the software.
- Addition of "-Wl,-z,relro" when linking ld.so in make.sh. This fixes an obscure problem when dlopen()ing libraries that may require an executable stack.
- Interception of getsockname() to return the correct pathname for Unix domain sockets, along with an extension of the g_fds array in libc to contain these pathnames.
- Fixed fstat() to provide the correct information on directory FDs, along with addition of the fsop_dir_fstat method to implement this.
- Implementation of link() and rename() methods in build-fs-dynamic.c to enable hard links inside $HOME for GNOME and KDE apps.
- Changes to filesysobj-real.c to allow rename and hard link calls to work.
While Powerbox-for-Gtk provides a more secure environment for file access, it is important to note that it is a patch and not a standalone software solution. Users should still exercise caution and follow security best practices when working with files and applications.
Version 1.15: N/A