2017-09-25 15 views
0

빌드 프로세스 중에 Windows/NSIS 용 전자 빌더를 실행 한 후 dev-ops 팀은 배포 전에 exe 코드에 서명 할 수있는 빌드 스크립트를 설정합니다. 서버에 도착한 후 sha512 체크섬이 일치하지 않으면 전자 업데이트 프로그램이 실패합니다 (설치 중에 오류가 완전히 다운로드 된 후 오류가 발생 함). 또한 서버에서 exe 파일을 가져 와서 Visual Studio CMD에서 codesign 유틸리티를 실행 한 다음 다시 업로드 해 보았습니다. 자동 업데이트 프로그램도 동일한 오류로 실패합니다.코드 서명 후 체크섬 불일치가 발생했습니다. 전자 작성기/업데이터

이 생성 된 후에도 인 exe에 서명 할 수 없으며 자동 업데이터가 작동하도록 허용 할 수 있습니까?

서명 :

signtool.exe sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 /sha1 value "path"

로그인 : package.json에

Error: sha512 checksum mismatch, expected [value], got [different value]

구성 :

"build": { 
    "appId": "com.stripped.stripped.stripped", 
    "directories": { 
     "output": "dist-exe", 
     "app": "dist" 
    }, 
    "win": { 
     "target": "nsis", 
     "icon": "dist/assets/favicon/favicon-256x256.ico", 
     "verifyUpdateCodeSignature": false, 
     "publish": { 
      "provider": "generic", 
      "url": "##{ElecronAppUpdaterLocation}##" 
     } 
    }, 
    "nsis": { 
     "artifactName": "Setup_${version}.${ext}", 
     "installerIcon": "dist/assets/favicon/favicon-256x256.ico", 
     "installerHeaderIcon": "dist/assets/favicon/favicon-256x256.ico" 
    } 
} 

답변