Comments (7)
This works to convert, tested with one of the actual values to confirm:
[System.BitConverter]::ToString([Convert]::FromBase64String($Hash)).Replace('-', '').ToLower()
from evergreen.
Thank GitHub Copilot 😂
from evergreen.
Decoding from base64 doesn't give us much to work with:
$base64String = "4rX5bXdtzujmFu6u12fKCcudIEoMMDNUDpgMIrgM79I="
$bytes = [System.Convert]::FromBase64String($base64String)
[System.Text.Encoding]::UTF8.GetString($bytes)
Returns this:
��mwm�����g� ˝ J
03T�
"�
��
from evergreen.
Yeah, I added the ?
because I don't know if it is base64. I couldn't get anything meaningful out of it either, but it sure looks like Base64.
I guess all I'm trying to do is point out that the sha256
attribute is incorrect. I don't know which end of the process creates the problem. (IMHO, it's probably Microsoft.)
from evergreen.
I think it's base64 too, everything I plug it into says it's base64. I don't understand why we aren't getting anything meaningful out of it.
The value comes straight out of the update feed from MS. Should be the property be removed perhaps?
from evergreen.
Unless we expect MS to care enough to fix the problem, I would say it should be removed. Better to not have a checksum property at all than to claim to have one but it is wrong/invalid.
I suppose there is a middle ground, but it requires some validation: Confirm that what the feed returns is hexadecimal and 64 characters long. If not, leave the sha256 property blank (or remove it) for that version.
from evergreen.
thanks @DanGough
from evergreen.
Related Issues (20)
- [Bug]: McneelRhino reports "Cannot validate argument on parameter 'Uri'"
- [Bug]: ChromiumChromeDriver reports HTTP 410
- [Bug]: MozillaFirefox outputs HTTP 403/404 HOT 2
- SourceForge changes affecting downloads with Save-EvergreenApp HOT 5
- [Bug]: VMware applications fail due to changes to product API HOT 1
- [Enhancement]: Add new Fast/Slow releases to Zoom HOT 3
- [Bug]: Firefox Error 404 HOT 1
- [Feature]: Microsoft ODBC Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft OLE DB Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft SSMS Additional 'Base Version' attribute HOT 3
- [Bug]: Get-EvergreenApp for AzureCLI does not return 64 bit installer HOT 2
- [Bug]: 7zip not working HOT 4
- [Bug]: GoogleChrome Version in Evergreen is 112 but when you download is it the expected 113 HOT 1
- [Bug]: Can't retrieve a list of Google Chrome Enterprise installs HOT 3
- [Bug]: Google Chrome Returning 410 error HOT 3
- [Bug]: MicrosoftAzureDataStudio - No update feed found for win32-x64 and insider HOT 2
- [Bug]: The Download size for 7zip is incorrect HOT 1
- [Bug]: VLC not currently returning latest version (3.0.21) HOT 3
- [New app]: ControlUp Agent manager
- [Bug]: Slack no longer working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evergreen.