Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PoC] Switch Windows Signing to GoogleCloud KMS #711

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flichtenheld
Copy link
Member

@flichtenheld flichtenheld commented Aug 8, 2024

The goal of this switch is to save costs (only paying for a key in KMS instead of a full running hardware HSM), increase
flexibility (by being able to authenticate via Identity Federation from e.g. running AWS node or GHA runner), without reducing security (key is still stored in hardware HSM in backend, non-exportable).

  • windows-msi: Switch signing to use jsign.jar instead of signtool to allow more flexibility in key stores.
  • windows-msi: Switch sign-openvpn.bat to only sign one architecture. (Cleanup)
  • windows-msi: Fix sign-openvpn.bat to sign openvpnmsica.dll instead of non-existant openvpnmsica.exe. (Bugfix)
  • windows-msi: Fix sign-openvpn.bat to not sign unit tests executables and cmocka.dll. (Cleanup)
  • windows-msi: Remove sign-binaries.bat intermediate script. Didn't seem to serve any purpose anymore. (Cleanup)
  • release: Remove AWS CloudHSM support and add GoogleCloud KMS instead. Adapt to changes in windows-msi.
  • .github: Implement signing of snapshot builds.

The goal of this switch is to save costs
(only paying for a key in KMS instead of
a full running hardware HSM), increase
flexibility (by being able to authenticate
via Identity Federation from e.g. running
AWS node or GHA runner), without reducing
security (key is still stored in hardware
HSM in backend, non-exportable).

- windows-msi: Switch signing to use jsign.jar
  instead of signtool to allow more flexibility
  in key stores.
- windows-msi: Switch sign-openvpn.bat
  to only sign one architecture. (Cleanup)
- windows-msi: Fix sign-openvpn.bat to
  sign openvpnmsica.dll instead of non-existant
  openvpnmsica.exe. (Bugfix)
- windows-msi: Fix sign-openvpn.bat to not
  sign unit tests executables and cmocka.dll.
  (Cleanup)
- windows-msi: Remove sign-binaries.bat intermediate
  script. Didn't seem to serve any purpose anymore.
  (Cleanup)
- release: Remove AWS CloudHSM support and add
  GoogleCloud KMS instead. Adapt to changes in
  windows-msi.
- .github: Implement signing of snapshot builds.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant