summaryrefslogtreecommitdiffstats
path: root/sign_torrents
diff options
context:
space:
mode:
Diffstat (limited to 'sign_torrents')
-rwxr-xr-xsign_torrents5
1 files changed, 5 insertions, 0 deletions
diff --git a/sign_torrents b/sign_torrents
new file mode 100755
index 0000000..321dac2
--- /dev/null
+++ b/sign_torrents
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+for chksum in *.torrent; do
+ gpg --homedir "/var/lib/releasekey/keys" --output "$chksum.gpg" --yes --detach-sig "$chksum"
+done