Archived
1
0

add "root trust" keys

This commit is contained in:
jeff
2015-10-27 10:02:34 -04:00
parent d3a423a72f
commit 086eec72d8
4 changed files with 30 additions and 23 deletions

10
contrib/tools/keys/keys.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
#
# script to make sql file for inserting all "currently trusted" keys
#
root=$(readlink -e $(dirname $0))
touch $root/keys.sql
for key in $(cat $root/keys.txt) ; do
echo "insert into modprivs(pubkey, newsgroup, permission) values('$key', 'overchan', 'all');" >> keys.sql ;
done