fix SHA1 issue when signing the realease

This commit is contained in:
netblue30 2016-01-14 15:25:10 -05:00
parent 7393f2f5f4
commit 64505c744e
2 changed files with 11 additions and 0 deletions

View file

@ -198,4 +198,5 @@ cppcheck: clean
scan-build: clean
scan-build make
asc:; ./mkasc.sh $(VERSION)

10
mkasc.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
echo "Calculationg SHA256 for all files in /transfer - firejail version $1"
cd /transfer
sha256sum * > firejail-$1-unsigned
gpg --clearsign --digest-algo SHA256 < firejail-$1-unsigned > firejail-$1.asc
gpg --verify firejail-$1.asc
rm firejail-$1-unsigned