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.

Checksum verification

See original GitHub issue

Hi everyone!

I’m working with Conan in my master dissertation in order to have an open source C++ package manager. My use-case scenario is the following:

1: I locally receive pre-existing binaries to package. 2: Once packaged, I locally run this command to capture the manifests of all recipes and package binaries for the dependencies of my project: $ conan install . --manifests 3: I inspect the content of the conanmanifest.txt and I see this: nameofthefile: md5 checksum 4: I upload the package on Artifactory to verify the two MD5 checksums, the one I got in the above point 3 with the corresponding generated during the upload by Artifactory itself.

The problem is that they don’t match at all.

I try to explain better what should be the pipeline to be followed in my thesis:

  1. Package locally the prebuilt binaries.
  2. Calculate the checksums associated with them, in this “pre-upload” phase.
  3. Upload the package on Artifactory, verifying the checksums are still the same:
    • If so, OK.
    • If not, abort the operation.
  4. Once the package is uploaded and the above checks are right, download the package from Artifactory.
  5. Calculate again the checksums on the downloaded package and verify if these ones are the same of those calculated in the pre-upload phase.
    • If so, OK.
    • If not, abort the operation.

I’m pretty new in the Conan world, is there an easiest way to succeed in doing all of these operations which I’m missing? Thank everyone so much, in advance.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
valeriomoroni95commented, Sep 5, 2022

@memsharded Brilliant!

Now it works! Thank you so much for your help, it helped me a lot 💯

0reactions
memshardedcommented, Sep 5, 2022

Please try:

$ conan install zlib/1.2.11@ --manifests
# folder is created, ``ls -al``
# you can conan remove the cache if you want to, to force re-download
$ conan remove "*" -f
$ conan install zlib/1.2.11@ --verify
Manifests : C:\Users\memsharded\conanws\kk\.conan_manifests
Manifest for 'zlib/1.2.11': OK
Manifest for 'zlib/1.2.11:3fb49604f9c2f729b85ba3115852006824e72cab': OK
Read more comments on GitHub >

github_iconTop Results From Across the Web

Checksum - Wikipedia
A checksum is a small-sized block of data derived from another block of digital data for the purpose of detecting errors that may...
Read more >
How to Verify the Checksum of an Installer File - Computer Hope
Verifying the checksum of a file helps ensure the file was not corrupted during download, or modified by a malicious third-party before you ......
Read more >
What is a Checksum? | A Definition from TechTarget.com
A checksum is a value that represents the number of bits in a transmission message and is used by IT professionals to detect...
Read more >
How to Check a File Checksum: A Step-by-Step Guide
How to Verify the Checksum of a Downloaded File in 5 Easy Steps · 1. Windows — Download the File · 2. Open...
Read more >
How to Check an MD5 Checksum on desktop/laptop (PC/MAC)
Go to the folder that contains the file whose MD5 checksum you want to check and verify. Command: Type cd followed by the...
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