1
0
Files
electrum/contrib/apparmor/README.md
robertmin2 dd72b5976b AppArmor Profiles for Electrum
AppArmor Profiles for Electrum
2024-04-19 17:25:09 +03:00

33 lines
919 B
Markdown

# Electrum AppArmor Profiles
AppArmor is a Mandatory Access Control (MAC) system which confines programs to a limited set of resources.
AppArmor confinement is provided via profiles loaded into the kernel.
## Installation
Copy the AppArmor profile from `contrib/apparmor/` to `/etc/apparmor.d/`:
```
sudo cp -R -L contrib/apparmor/* /etc/apparmor.d
```
Reload the AppArmor profiles to apply the changes:
```
sudo systemctl reload apparmor
```
Verify that the profile is loaded:
```
sudo apparmor_status
```
Look for the entry corresponding to `electrum`
## Usage
After installing the AppArmor profile, electrum will be restricted to the permissions specified in the profile.
## Compatibility
The help tab may not function as expected as browser permissions can be tricky (Tarball Binaries)
These AppArmor profiles have been tested on the following operating systems:
```
Debian 12
Ubuntu 23.10
Kali Linux 6.6
```