summaryrefslogtreecommitdiff
path: root/dtools/bin/make-upload
blob: 73a0feb63accfdd4bf505ad8cf3d47e99adf1ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

read -s -p "GPG Passphrase: " passphrase

for file in "$@"
do
	echo "directory: gnuradio" > $file.directive
	echo "$passphrase" | gpg --passphrase-fd 0 --clearsign $file.directive
	rm $file.directive
	echo "$passphrase" | gpg --passphrase-fd 0 -b $file
done
passphrase="XYZabcdefhghakdsj;lasjdf;ajfdiuiwjr;lajv;laoisfuaoieurlkajdsflkajsdfoiuew"