forked from divested/brace
Toolkit compatible with multiple Linux distros that allows for installation of handpicked applications, along with corresponding configs that have been tuned for reasonable privacy and security.
- JavaScript 57.9%
- Shell 42.1%
| brace | chromium: remove all policies | |
| module_restricter | mr: additions | |
| unused | Various | |
| .gitignore | Update .gitignore | |
| .gitlab-ci.yml | Fix the CI build for Arch | |
| brace.install | Tweaks | |
| brace.spec | chromium: remove all policies | |
| LICENSE | Going the distance... [pt3] | |
| permissions.facl | chromium: remove all policies | |
| PKGBUILD | chromium: remove all policies | |
| README.md | chromium: remove all policies | |
| TODO | Various tweaks | |
brace-usability
Overview
Brace offers a wide range of opinionated settings that prioritize privacy, security, and usability for a curated set of Linux programs.
brace-usability is a fork that modifies a few of the Brace settings in order to allow its usage without affecting usability as much.
Compatibility
- Fedora
Fallback Compatibility
- Below distros are untested and maintained only as a fallback if Fedora goes away
- Arch Linux
- openSUSE
- RHEL-like (CentOS, Rocky, Alma)
- Debian
License
AGPL-3.0-or-later where applicable
Prebuilts
- Fedora via CI: https://gitlab.com/lucasmz/brace-usability/-/jobs/artifacts/master/browse?job=build_rpm
- Arch via CI: https://gitlab.com/lucasmz/brace-usability/-/jobs/artifacts/master/browse?job=build_arch
- Debian via CI: https://gitlab.com/lucasmz/brace-usability/-/jobs/artifacts/master/browse?job=build_deb
Building
- git clone [THIS REPO]
- RPM: rpmbuild -ba brace.spec
- Arch Linux: makepkg
- Debian: dpkg-deb --root-owner-group --build brace
Supported Configuration Targets
- chrony
- GNOME, MATE, Cinnamon
- GRUB
- Kernel
- NetworkManager
- polkit
- systemd
- TLP
- udev
Additional Inclusions
- brace-audit helper to verify settings are applied
- brace-enable-auto-updates helper to enable dnf automatic updates
- brace-enable-rpmfusion helper to enable rpmfusion-free repo for eg. codecs
- brace-installer helper with categories of packages to install
- brace-rpm-verify helper to verify integrity of installed packages
- brace-supplemental-changes helper to change additional global and per-user settings
- brace-update-system helper to update to next major version
- restic-backup@.* systemd units for daily backups
Note
This list may not always have its contents applied in brace-usability.
Known Issues
- A reboot is required on openSUSE after install for dconf changes to take effect.
- Compatibility is best with Fedora, and that is the primary test-bed.
- Restrictions on /sys/bus/scsi in 99-brace-sys.conf can break disc drive access by some programs.
Credits
- userjs-arkenfox.js
- @thorin-oakenpants + @earthlng + @claustromaniac
- MIT:
github.com/arkenfox/user.js@af51631597/LICENSE.txt - https://github.com/arkenfox/user.js
- 99-brace-proc.conf and 99-brace-sys.conf
- Topi Miettinen (@topimiettinen)
- GPL-2.0+:
salsa.debian.org/corsac/hardening-runtime/-@1a31553672/debian/copyright salsa.debian.org/corsac/hardening-runtime/-@1a31553672
- brace-rpm-verify
- @doktor5000
- CC BY-SA 3.0: https://stackoverflow.com/help/licensing
- https://unix.stackexchange.com/a/217024
- firewalld IPv6 drop zone fix
- Mark
- CC BY-SA 3.0: https://stackoverflow.com/help/licensing
- https://serverfault.com/a/775153
- restic-backup.service
- chrony.brace.conf
- modprobe.d/brace.conf additional module blocking
- @madaidan
- List likely uncopyrightable
- https://madaidans-insecurities.github.io/guides/linux-hardening.html#kasr-kernel-modules