diff options
author | 2016-01-14 15:25:10 -0500 | |
---|---|---|
committer | 2016-01-14 15:25:10 -0500 | |
commit | 64505c744e88cffac273a337b73d2cf3b59dd41b (patch) | |
tree | 783b12f655ea4df31c1c9ca71850335a60dc8a39 | |
parent | Merge pull request #227 from genodeftest/patch-2 (diff) | |
download | firejail-64505c744.tar.gz firejail-64505c744.tar.zst firejail-64505c744.zip |
fix SHA1 issue when signing the realease
-rw-r--r-- | Makefile.in | 1 | ||||
-rwxr-xr-x | mkasc.sh | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index af360df20..1de44c578 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -198,4 +198,5 @@ cppcheck: clean | |||
198 | 198 | ||
199 | scan-build: clean | 199 | scan-build: clean |
200 | scan-build make | 200 | scan-build make |
201 | asc:; ./mkasc.sh $(VERSION) | ||
201 | 202 | ||
diff --git a/mkasc.sh b/mkasc.sh new file mode 100755 index 000000000..09c7a35d4 --- /dev/null +++ b/mkasc.sh | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | echo "Calculationg SHA256 for all files in /transfer - firejail version $1" | ||
4 | |||
5 | cd /transfer | ||
6 | sha256sum * > firejail-$1-unsigned | ||
7 | gpg --clearsign --digest-algo SHA256 < firejail-$1-unsigned > firejail-$1.asc | ||
8 | gpg --verify firejail-$1.asc | ||
9 | rm firejail-$1-unsigned | ||
10 | |||