Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
henry
tor-browser-build
Commits
9281ddbf
Unverified
Commit
9281ddbf
authored
1 year ago
by
boklm
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40875: Update Windows signing config
parent
143097f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/signing/wrappers/sign-exe
+6
-6
6 additions, 6 deletions
tools/signing/wrappers/sign-exe
with
6 additions
and
6 deletions
tools/signing/wrappers/sign-exe
+
6
−
6
View file @
9281ddbf
...
...
@@ -11,10 +11,12 @@ if test $(whoami) != 'signing-win'; then
exit
2
fi
yubi
pass
=
"
$1
"
pass
=
"
$1
"
to_sign_exe
=
"
$2
"
tpo_cert
=
/home/signing-win/tpo-cert.crt
key_dir
=
/home/signing-win/keys/key-1
tpo_cert
=
$key_dir
/the_tor_project_inc.crt
tpo_key
=
$key_dir
/private.pem
if
!
test
-f
"
$tpo_cert
"
;
then
echo
"File
$tpo_cert
is missing"
>
&2
...
...
@@ -26,12 +28,10 @@ rm -f "$output_signed_exe"
export
'YUBIHSM_PKCS11_CONF=/signing/tor-browser-build/tools/signing/machines-setup/etc/yubihsm_pkcs11.conf'
/home/signing-win/osslsigncode/bin/osslsigncode
\
-pkcs11engine
/usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so
\
-pkcs11module
/usr/lib/x86_64-linux-gnu/pkcs11/yubihsm_pkcs11.so
\
-pass
"
$yubipass
"
\
-pass
"
$pass
"
\
-h
sha256
\
-certs
"
$tpo_cert
"
\
-key
1c40
\
-key
"
$tpo_key
"
\
"
$to_sign_exe
"
"
$output_signed_exe
"
chmod
644
"
$output_signed_exe
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment