Bug 1234339 part 1, Inform the updater and maintenance service of the new SHA2 certificate issuer, r=callek, a=rkent
This commit is contained in:
Родитель
6ede8b1146
Коммит
656d2e8a81
|
@ -23,8 +23,12 @@
|
|||
!define PreReleaseSuffix "@PRE_RELEASE_SUFFIX@"
|
||||
!define BrandFullName "${BrandFullNameInternal}${PreReleaseSuffix}"
|
||||
|
||||
!define CERTIFICATE_NAME "Mozilla Corporation"
|
||||
!define CERTIFICATE_ISSUER "DigiCert Assured ID Code Signing CA-1"
|
||||
!define CERTIFICATE_NAME "Mozilla Corporation"
|
||||
!define CERTIFICATE_ISSUER "DigiCert SHA2 Assured ID Code Signing CA"
|
||||
; Changing the name or issuer requires us to have both the old and the new
|
||||
; in the registry at the same time, temporarily.
|
||||
!define CERTIFICATE_NAME_PREVIOUS "Mozilla Corporation"
|
||||
!define CERTIFICATE_ISSUER_PREVIOUS "DigiCert Assured ID Code Signing CA-1"
|
||||
|
||||
# NO_INSTDIR_FROM_REG is defined for pre-releases which have a PreReleaseSuffix
|
||||
# (e.g. Alpha X, Beta X, etc.) to prevent finding a non-default installation
|
||||
|
|
|
@ -219,7 +219,7 @@ Section "MaintenanceService"
|
|||
; These keys are used to bypass the installation dir is a valid installation
|
||||
; check from the service so that tests can be run.
|
||||
; WriteRegStr HKLM "${FallbackKey}\0" "name" "Mozilla Corporation"
|
||||
; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "DigiCert Assured ID Code Signing CA-1"
|
||||
; WriteRegStr HKLM "${FallbackKey}\0" "issuer" "DigiCert SHA2 Assured ID Code Signing CA"
|
||||
${If} ${RunningX64}
|
||||
SetRegView lastused
|
||||
${EndIf}
|
||||
|
|
|
@ -577,6 +577,12 @@
|
|||
DeleteRegKey HKLM "$R0"
|
||||
WriteRegStr HKLM "$R0\0" "name" "${CERTIFICATE_NAME}"
|
||||
WriteRegStr HKLM "$R0\0" "issuer" "${CERTIFICATE_ISSUER}"
|
||||
; These values associate the allowed certificates for the previous
|
||||
; installation, so that we can update from it cleanly using the
|
||||
; old updater.exe (which will still have this signature).
|
||||
WriteRegStr HKLM "$R0\1" "name" "${CERTIFICATE_NAME_PREVIOUS}"
|
||||
WriteRegStr HKLM "$R0\1" "issuer" "${CERTIFICATE_ISSUER_PREVIOUS}"
|
||||
|
||||
SetRegView lastused
|
||||
ClearErrors
|
||||
${EndIf}
|
||||
|
|
Загрузка…
Ссылка в новой задаче