Verified Commit 930497f4 authored by boklm's avatar boklm
Browse files

Bug 31988: Add script to generate a mar signing key for nightly builds

parent b1690c34
#!/bin/bash
set -e
nssdb="$(dirname "$0")/nssdb"
if test -d $nssdb
then
echo "Error: $nssdb already exists" >&2
exit 1
fi
mkdir -p $nssdb
chmod 700 $nssdb
certutil -d $nssdb -N --empty-password
certutil -d $nssdb -S -x -g 4096 -Z SHA384 -n nightly-marsigner -s "CN=Tor Browser Nightly MAR signing key" -t,,
certutil -d $nssdb -L -r -n nightly-marsigner -o $nssdb/nightly-marsigner.der
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment