question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

placement of sha256 checksums on releases page

See original GitHub issue

sha256 checksums are not in a properly formatted files(or a file). this makes it difficult to use them.


in case more information is required

example file( https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS ) with proper formatting.

58405101948aff46d5261e0a4d3e8f98ea3dc5366a9ada881ebe921eafd5f737  debian-edu-10.0.0-amd64-netinst.iso
de14801ab29ea71e606ff516e87b1ca68499de21098f994778f77121ea41323d  debian-mac-10.0.0-amd64-netinst.iso

most recent affected releases: https://github.com/PowerShell/PowerShell/tree/v7.0.0-preview.2 https://github.com/PowerShell/PowerShell/releases/tag/v6.2.2 https://github.com/PowerShell/PowerShell/releases/tag/v6.1.5


current workaround(incomplete, not preferred):

  1. Scroll up or down till you find it. Select the checksums on releases page and click Inspect Element and the copy the contents of
<ul>...</ul>
  1. Remove the useless text …

note- its not preferred because most people don’t expect this to be how a popular project to provide checksums.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
TravisEz13commented, Sep 23, 2021

I created https://github.com/PowerShell/PowerShell/pull/16147 to add the sha256 hashes.

0reactions
TravisEz13commented, Oct 2, 2021

We are going to be required to provide this format for the contents of our packages. Generating this should be simple as we will have a task to just generate this. Imagine this for packages, how much more difficult would this be to use?

{
    "Outputs": [
        {
            "Source": "/Accessibility.dll",
            "AzureArtifactsHash": "044D5A90000300000004000000FFFF0000B800000000000000400000000000000000",
            "Sha256Hash": "CF21AA06D52BE85EE2C995BC475E0A90E773AC59B9621D95A53C172FD98DB87F"
        },
        {
            "Source": "/api-ms-win-core-datetime-l1-1-0.dll",
            "AzureArtifactsHash": "044D5A90000300000004000000FFFF0000B800000000000000400000000000000000",
            "Sha256Hash": "913EAAA7997A6AEE53574CFFB83F9C9C1700B1D8B46744A5E12D76A1E53376FD"
        },
        {
            "Source": "/zh-Hant/WindowsFormsIntegration.resources.dll",
            "AzureArtifactsHash": "044D5A90000300000004000000FFFF0000B800000000000000400000000000000000",
            "Sha256Hash": "143F539D34A0653DF145CF3592AA64D60A05147F00ABAC14A6F43E2B59708EC1"
        }
    ],
    "CloudBuildId": "101010",
    "Repo": "https://github.com/powershell/powershell",
    "Branch": "doentexist",
    "CommitId": "6ee476e9c6d25f12257f5f97635c77b586bff314",
    "Version": "7.2.10",
    "Timestamp": 1633150231
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

HowToSHA256SUM - Community Help Wiki
See the SHA-256 checksum file for the release you're using under http://releases.ubuntu.com, such as http://cdimage.ubuntu.com/daily-live/ ...
Read more >
How to take sha256sum of file and compare to check in ...
I have downloaded an archive file and an accompanying checksum file. Here is how I verify that the hash of the downloaded archive...
Read more >
Verify SHA-256 checksum
Verify file's SHA-256 checksum to check there's no malicious actor replacing the file or packets being lost.How to In a command line, run...
Read more >
How to get a sha256 hash code for a github repo?
I solve the problem I am posting here what I have tried so that if anyone experiences the same problem can get help...
Read more >
Gitlab sha256sum different everytime we download a release
Someone reported that every time he downloads the release without changes, the checksums are different. I tested it and it is changing everytime ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found