From 00486518508bd998b541cbaceea50ffd96301731 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 27 Sep 2023 00:58:33 -0700 Subject: [PATCH] Add Apache license header --- dom0.sh | 14 ++++++++++++++ fedora-minimal/fedora-minimal.sh | 14 ++++++++++++++ fedora-minimal/media.sh | 14 ++++++++++++++ fedora-minimal/sys-net.sh | 14 ++++++++++++++ kicksecure/element.sh | 14 ++++++++++++++ kicksecure/kicksecure.sh | 15 +++++++++++++++ kicksecure/lokinet.sh | 15 +++++++++++++++ kicksecure/signal.sh | 14 ++++++++++++++ whonix/whonix-gw.sh | 14 ++++++++++++++ whonix/whonix-ws.sh | 14 ++++++++++++++ 10 files changed, 142 insertions(+) diff --git a/dom0.sh b/dom0.sh index 93f7d87..745cbff 100644 --- a/dom0.sh +++ b/dom0.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + sudo mkdir -p /etc/gtk-3.0 echo "[Settings] gtk-theme-name=Arc-Dark diff --git a/fedora-minimal/fedora-minimal.sh b/fedora-minimal/fedora-minimal.sh index 7ab84ce..f1477dd 100644 --- a/fedora-minimal/fedora-minimal.sh +++ b/fedora-minimal/fedora-minimal.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + # Blacklisting kernel modules sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/modprobe.d/30_security-misc.conf -o /etc/modprobe.d/30_security-misc.conf diff --git a/fedora-minimal/media.sh b/fedora-minimal/media.sh index 5f12d30..a40f1c0 100644 --- a/fedora-minimal/media.sh +++ b/fedora-minimal/media.sh @@ -1,3 +1,17 @@ #!/bin/bash +# Copyright (C) 2023 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. + sudo dnf install -y fuse \ No newline at end of file diff --git a/fedora-minimal/sys-net.sh b/fedora-minimal/sys-net.sh index 93186da..cdce6d2 100644 --- a/fedora-minimal/sys-net.sh +++ b/fedora-minimal/sys-net.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + dnf install -y qubes-core-agent-networking qubes-core-agent-network-manager NetworkManager-wifi network-manager-applet notification-daemon gnome-keyring @hardware-support chrony arc-theme systemctl disable --now systemd-timesyncd diff --git a/kicksecure/element.sh b/kicksecure/element.sh index 348ad8e..488e67b 100644 --- a/kicksecure/element.sh +++ b/kicksecure/element.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + sudo curl --proxy http://127.0.0.1:8082/ https://packages.element.io/debian/element-io-archive-keyring.gpg -o /usr/share/keyrings/element-io-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list sudo apt update diff --git a/kicksecure/kicksecure.sh b/kicksecure/kicksecure.sh index 7ce60c4..5255df5 100644 --- a/kicksecure/kicksecure.sh +++ b/kicksecure/kicksecure.sh @@ -1,4 +1,19 @@ #!/bin/bash + +# Copyright (C) 2023 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. + #Adding KickSecure's signing key curl --proxy http://127.0.0.1:8082/ --tlsv1.3 --proto =https --max-time 180 --output ~/derivative.asc https://www.kicksecure.com/derivative.asc sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc diff --git a/kicksecure/lokinet.sh b/kicksecure/lokinet.sh index 97473db..a75e21f 100644 --- a/kicksecure/lokinet.sh +++ b/kicksecure/lokinet.sh @@ -1,4 +1,19 @@ #!/bin/bash + +# Copyright (C) 2023 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. + #DNS doesn't work on an AppVM if Lokinet is used in a ProxyVM so Lokinet has to be installed on the AppVM #The AppVM needs to be granted the network-manager service #There is a risk of leaks because I dont see any killswitch being implemented diff --git a/kicksecure/signal.sh b/kicksecure/signal.sh index 43642cb..67fad91 100644 --- a/kicksecure/signal.sh +++ b/kicksecure/signal.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + curl --proxy http://127.0.0.1:8082/ https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null diff --git a/whonix/whonix-gw.sh b/whonix/whonix-gw.sh index 150c645..4885a06 100644 --- a/whonix/whonix-gw.sh +++ b/whonix/whonix-gw.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + #Install packages sudo apt install --no-install-recommends linux-headers-amd64 lkrg-dkms qt5ct qt5-style-plugins arc-theme -y diff --git a/whonix/whonix-ws.sh b/whonix/whonix-ws.sh index 464b169..f680115 100644 --- a/whonix/whonix-ws.sh +++ b/whonix/whonix-ws.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (C) 2023 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. + #Install packages sudo apt install --no-install-recommends linux-headers-amd64 lkrg-dkms qt5ct qt5-style-plugins arc-theme git -y