aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-11-09 18:31:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-11-09 18:31:54 -0200
commit5a538984ec71b08d065a2882d9eb289e9b218cce (patch)
tree9e5b0ad411a0e195c69d930bf041519dd7548c8a /share
parentdcdc85b913556c7101a04eb89b65f8dbad460e43 (diff)
downloadtrashman-5a538984ec71b08d065a2882d9eb289e9b218cce.tar.gz
trashman-5a538984ec71b08d065a2882d9eb289e9b218cce.tar.bz2
Adds autocanary
Diffstat (limited to 'share')
-rw-r--r--share/hoarder/autocanary/info1
-rwxr-xr-xshare/hoarder/autocanary/unix/linux/debian/install36
2 files changed, 37 insertions, 0 deletions
diff --git a/share/hoarder/autocanary/info b/share/hoarder/autocanary/info
new file mode 100644
index 0000000..5e7bc06
--- /dev/null
+++ b/share/hoarder/autocanary/info
@@ -0,0 +1 @@
+makes generating machine-readable, digitally signed warrant canary statements simpler
diff --git a/share/hoarder/autocanary/unix/linux/debian/install b/share/hoarder/autocanary/unix/linux/debian/install
new file mode 100755
index 0000000..c7b7748
--- /dev/null
+++ b/share/hoarder/autocanary/unix/linux/debian/install
@@ -0,0 +1,36 @@
+#!/usr/bin/env sh
+#
+# Install AutoCanary
+#
+# https://github.com/firstlookmedia/autocanary
+# https://www.zdnet.com/article/autocanary-security-app-warrant-canary-first-look-intercept/
+# https://canarywatch.org
+
+# Parameters
+SHARE="$1"
+LIB="$2"
+
+# Include basic functions
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
+
+# Requirements
+trashman_apt_install build-essential fakeroot python3-all python3-stdeb python3-pyqt5 python3-feedparser gnupg2
+
+# Go to working folder
+mkdir -p $HOME/.local/share
+cd $HOME/.local/share
+
+# Get the code
+if [ -d "autocanary" ]; then
+ cd autocanary && git pull || exit 1
+else
+ git clone https://github.com/firstlookmedia/autocanary && cd autocanary || exit 1
+fi
+
+# Create symlink to scripts
+mkdir -p $HOME/.local/bin
+cd $HOME/.local/bin
+#ln -sf $HOME/.local/share/autocanary/dev_scripts/autocanary
+echo "cd $HOME/.local/share/autocanary/dev_scripts && ./autocanary" > autocanary
+chmod +x autocanary autocanary-gui