mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2025-02-20 18:21:34 -05:00
Compare commits
5 Commits
27d697ffc5
...
380faedd0d
Author | SHA1 | Date | |
---|---|---|---|
380faedd0d | |||
403c798238 | |||
624943db7b | |||
7fc29b213d | |||
418edc11ef |
8
etc/qubes-rpc/qubes.SshAgent
Normal file
8
etc/qubes-rpc/qubes.SshAgent
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Qubes App Split SSH Script
|
||||
|
||||
# safeguard - Qubes notification bubble for each ssh request
|
||||
notify-send "[$(qubesdb-read /name)] SSH agent access from: $QREXEC_REMOTE_DOMAIN"
|
||||
|
||||
# SSH connection
|
||||
socat - "UNIX-CONNECT:$SSH_AUTH_SOCK"
|
@ -147,6 +147,8 @@ sudo chmod 644 /etc/ld.so.preload
|
||||
|
||||
# Enable hardened_malloc for Flatpak
|
||||
sudo flatpak override --system --filesystem=host-os:ro --env=LD_PRELOAD=/var/run/host/usr/lib64/libhardened_malloc.so
|
||||
|
||||
## Unforunately, user override needs to be run per-app VM
|
||||
flatpak override --user --filesystem=host-os:ro --env=LD_PRELOAD=/var/run/host/usr/lib64/libhardened_malloc.so
|
||||
|
||||
# Setup DNF
|
||||
|
33
fedora-gnome/thunderbird.sh
Normal file
33
fedora-gnome/thunderbird.sh
Normal file
@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2025 Thien Tran
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
# use this file except in compliance with the License. You may obtain a copy of
|
||||
# the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
unpriv(){
|
||||
sudo -u nobody "${@}"
|
||||
}
|
||||
|
||||
download() {
|
||||
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | sudo tee "${2}" > /dev/null
|
||||
}
|
||||
|
||||
sudo dnf install -y thunderbird
|
||||
|
||||
# Change the GPG Domain name appropriately
|
||||
echo 'QUBES_GPG_DOMAIN=vault' | sudo tee -a /etc/environment
|
||||
|
||||
# Disable hardened_malloc (for now)
|
||||
sudo rm /etc/ld.so.preload
|
@ -24,4 +24,10 @@ download() {
|
||||
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | sudo tee "${2}" > /dev/null
|
||||
}
|
||||
|
||||
sudo dnf install -y keepassxc openssh-askpass
|
||||
download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/qubes-rpc/qubes.SshAgent /etc/qubes-rpc/qubes.SshAgent
|
||||
sudo chmod +x /etc/qubes-rpc/qubes.SshAgent
|
||||
|
||||
# Not using openssh-askpass here, because of this bug:
|
||||
# https://github.com/QubesOS/qubes-issues/issues/9741
|
||||
|
||||
sudo dnf install -y keepassxc
|
Loading…
Reference in New Issue
Block a user