Provider.ts in electron-update does not support SHA2 hashes
See original GitHub issue- electron-builder version: 20.22.0
- electron-updater version: 2.23.2
- Target: Windows and Mac OS X
We use a custom generic update server for delivering app updates and the installation files. Our system only stores the SHA256 code. When delivering our latest.yml / latest-mac.yml files the electron updater throws this error: https://github.com/electron-userland/electron-builder/blob/d5536297dcb9ff4e306ed04b9f354fccbb490eee/packages/electron-updater/src/providers/Provider.ts#L113
The issue is caused above: https://github.com/electron-userland/electron-builder/blob/d5536297dcb9ff4e306ed04b9f354fccbb490eee/packages/electron-updater/src/providers/Provider.ts#L99 where our SHA256 gets dropped.
Is this intentional (and support of SHA256 hashes will be dropped permanently)? Can we add a line:
sha2: updateInfo.sha2,
after line 99?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
2019 SHA-2 Code Signing Support requirement for ...
Summary. To help protect the security of the Windows operating system, updates were previously signed (using both the SHA-1 and SHA-2 hash algorithms)....
Read more >OPAG Error: The '[Certificate Name]' does not support SHA256 ...
When this certificate is selected in the OPAG tool, the error message "The certificate does not support sha256 hash algorithm" is triggered.
Read more >Automated Malware Analysis Report for Personlig Sentralbord ...
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF.MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND.NONINFRINGEMENT. IN NO EVENT SHALL ...
Read more >SHA256 Hashing Support for setCustomerIDs
Along with the Experience Cloud visitor ID, you can associate additional customer IDs, authentication status and hash type (SHA-256) with each ...
Read more >SHA-256 Compatibility
SHA-2 is a set of cryptographic hash functions which includes SHA-224, SHA-256, ... Not all software supports every digest size within the SHA-2...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why not simply use
latest.yml
generated by electron-builder?You can expect fix this weekend.