VirtualBox

Changeset 107319 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 13, 2024 4:29:57 PM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166350
Message:

Additions: If the build is SHA2 signed only (used by ARM64 because there is no legacy) just the SHA2 cert is relevant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r107281 r107319  
    8686 endef
    8787
    88  if !defined(VBOX_CERTIFICATE_SHA2_SUBJECT_NAME) && !$(intersects win all 1,$(VBOX_WITH_CORP_CODE_SIGNING))
     88 if !defined(VBOX_CERTIFICATE_SUBJECT_NAME) && !$(intersects win_planb,$(VBOX_WITH_CORP_CODE_SIGNING))
     89  # No SHA1 cert at all, no weird Plan B style signing, just the SHA2 cert.
     90  $(evalcall2 def_VBoxAdditionsInstCertFiles,vbox-sha256.cer,$(VBOX_PATH_ADDITIONS)/VBoxGuest.sys, \
     91        extract-exe-signer-cert, 1)
     92  VBOX_GA_CERT_ROOT_SHA2 := vbox-sha256-root.cer
     93  $(evalcall2 def_VBoxAdditionsInstCertFiles,$(VBOX_GA_CERT_ROOT_SHA2),$(VBOX_PATH_ADDITIONS)/VBoxGuest.sys, \
     94        extract-signer-root --self-signed-roots-from-system, 1)
     95  ifdef VBOX_TSA_SHA2_URL_ARGS
     96   VBOX_GA_CERT_ROOT_SHA2_TS := vbox-sha256-timestamp-root.cer
     97   $(evalcall2 def_VBoxAdditionsInstCertFiles,$(VBOX_GA_CERT_ROOT_SHA2_TS),$(VBOX_PATH_ADDITIONS)/VBoxGuest.sys, \
     98        extract-timestamp-root --self-signed-roots-from-system, 1)
     99  endif
     100 else if !defined(VBOX_CERTIFICATE_SHA2_SUBJECT_NAME) && !$(intersects win all 1,$(VBOX_WITH_CORP_CODE_SIGNING))
     101  # No SHA2 signing, just the SHA1 cert.
    89102  $(evalcall2 def_VBoxAdditionsInstCertFiles,vbox.cer,$(VBOX_PATH_ADDITIONS)/VBoxGuest.sys, \
    90103        extract-exe-signer-cert, 0)
     
    98111  endif
    99112 else
     113  # Dual signing, both SHA1 and SHA2 driver cert, plus maybe SHA2 userland cert.
    100114  $(evalcall2 def_VBoxAdditionsInstCertFiles,vbox-sha1.cer,$(VBOX_PATH_ADDITIONS)/VBoxGuest.sys, \
    101115        extract-exe-signer-cert, 0)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette