From f9e25d7e30205756088e7dd330b8070fb5195ae9 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 17 Sep 2026 15:05:37 +0100 Subject: Permit the Mattermost Snap to use GNOME Keyring --- scripts/canonical-system.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/canonical-system.sh') diff --git a/scripts/canonical-system.sh b/scripts/canonical-system.sh index e6f0825..cd85879 100644 --- a/scripts/canonical-system.sh +++ b/scripts/canonical-system.sh @@ -13,6 +13,10 @@ sudo apparmor_parser --skip-kernel-load --skip-cache canonical/apparmor/dotfiles sudo install -m 644 canonical/apparmor/dotfiles-nix /etc/apparmor.d/dotfiles-nix sudo apparmor_parser --replace /etc/apparmor.d/dotfiles-nix sudo snap connect thunderbird:gpg-keys +sudo install -D -m 644 scripts/mattermost_keyring.py /usr/local/lib/dotfiles/mattermost_keyring.py +sudo install -m 644 canonical/systemd/dotfiles-mattermost-keyring.{service,path} /etc/systemd/system/ +sudo systemctl daemon-reload +sudo systemctl enable --now dotfiles-mattermost-keyring.path dotfiles-mattermost-keyring.service systemctl --user daemon-reload systemctl --user enable --now gpg-agent.socket gpg-agent-ssh.socket podman.socket echo 'Existing GPG agent processes keep their executable until the next login.' -- cgit v1.3.1