Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
tor-browser-build
Commits
930497f4
Verified
Commit
930497f4
authored
Dec 16, 2019
by
boklm
Browse files
Bug 31988: Add script to generate a mar signing key for nightly builds
parent
b1690c34
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/signing/nightly/.gitignore
0 → 100644
View file @
930497f4
nssdb
tools/signing/nightly/create-nightly-mar-signing-key
0 → 100755
View file @
930497f4
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment