summaryrefslogtreecommitdiffstats
path: root/sign_torrents
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2023-12-13 19:33:06 -0800
committerDan Fandrich <dan@coneharvesters.com>2024-02-03 17:55:09 -0800
commit068a3ef548b34c0d0abe50fc982616c279001bcd (patch)
treea206385be299b33c74b38179be6753817a070699 /sign_torrents
parent0227d4d3beee7c000d77c0c7c8aa1823f2372e4a (diff)
downloadmgatools-068a3ef548b34c0d0abe50fc982616c279001bcd.tar
mgatools-068a3ef548b34c0d0abe50fc982616c279001bcd.tar.gz
mgatools-068a3ef548b34c0d0abe50fc982616c279001bcd.tar.bz2
mgatools-068a3ef548b34c0d0abe50fc982616c279001bcd.tar.xz
mgatools-068a3ef548b34c0d0abe50fc982616c279001bcd.zip
Add new scripts
These were being used on rabbit.
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