Skip to content

SHA checksum validation #28

Closed

Description

@kurzum

Add a CLI option to validate file integrity.

  • Check the SHA sum of downloaded files against the Databus metadata
  • If no SHA value is provided, skip validation but continue the download

Activity

  1. added
    downloadIssue related to data download functionality from databus
    on Oct 27, 2025
  2. shivansh31414 commented on Oct 28, 2025

    @shivansh31414

    Hi! I'd love to work on this feature. Could you please assign it to me?
    My plan is to:

    • Extract SHA256 metadata during the download process
    • Compute the hash of each downloaded file locally
    • Compare the two and raise a warning if there's a mismatch
    • Add a CLI flag like --validate-sha to toggle this behavior

    Let me know if this approach works or if you'd prefer something different

  3. spyke7 commented on Oct 29, 2025

    @spyke7

    Hi team ! I would also like to work on this feature

  4. Integer-Ctrl commented on Oct 30, 2025

    @Integer-Ctrl
    Contributor

    Hi @shivansh31414 thanks for your interest!

    Yes, your plan sounds good. Adding a toggle such as --validate-sha would be a good approach.
    Maybe this could be more advanced:

    • --validate-sha off → no SHA validation
    • --validate-sha warning → report mismatches as warnings but continue (default if cli option not specified)
    • --validate-sha error → stop execution if any file has a checksum mismatch

    That would give users flexible control depending on their workflow.

  5. Integer-Ctrl commented on Oct 30, 2025

    @Integer-Ctrl
    Contributor

    @spyke7 I think it's sufficient for one person to handle this issue, but we really appreciate your interest. Thanks!

  6. Integer-Ctrl commented on Dec 16, 2025

    @Integer-Ctrl
    Contributor

    User no longer working on issue. Reopened.

  7. agrim-git-hub commented on Dec 25, 2025

    @agrim-git-hub
    Contributor

    Hi! I'd Love to work in this issue and start on my open source journey. I haven't used these libraries in python but I have coding experience and recently only have developed a full stack ML and Generative AI app using RAG and Scikit learn. I had built a pipeline using Cohere's free starter API for students. I trained and ensemble model and then I used vector search and vector databases for personalized answers. After i completed my full project i had containerized it using docker and then created its permanent image. I believe using docker for my project has given me some rough idea on how deploying works and that's why I want to help with this issue. If i could just be guided with what exact libraries I would need to read the documentation, for this repo, I believe I can fix this issue. I'll be glad if i could get some guidance. Looking forward to your reply!

  8. Nama21yo commented on Dec 27, 2025

    @Nama21yo

    Hi @Integer-Ctrl is there anyone who is assigned for this issue. Can I work on it?

  9. Integer-Ctrl commented on Dec 30, 2025

    @Integer-Ctrl
    Contributor

    Hi @agrim-git-hub! Great to see that you want to continue your journey here
    However, the skills and interests you listed aren't quite needed for this issue.

    The task is to check whether the downloaded files have a SHASUM available on the Databus and, if so, to compute the SHASUM locally and verify it against the value provided by the Databus.

    We don't have the resources to guide tickets in great detail. Ideas, drafts, and questions are very welcome, but providing a step-by-step guide would be quite time-consuming.

    Since you were the first to show interest, I'd wait to see whether you still want to proceed with this ticket. Otherwise, I'll hand it over to @Nama21yo if still interested.

  10. Nama21yo commented on Dec 30, 2025

    @Nama21yo

    Yes @Integer-Ctrl am still interested and if this one is taken no worries I Will contribute on other issues. One more thing if possible.could you add me to the slack channel for more discussion the invitation inside the website have expired.
    Here is my email mataniayohanes@gmail.com

  11. agrim-git-hub commented on Dec 30, 2025

    @agrim-git-hub
    Contributor

    hi @Integer-Ctrl , yes i am interested in going ahead with this ticket. No worries, I have started reading on poetry and hashlib. I believe i can solve this issue. Thanks for being supportive nonetheless.

  12. agrim-git-hub commented on Dec 31, 2025

    @agrim-git-hub
    Contributor

    Hi @Integer-Ctrl , I have implemented the changes and raised a PR here: #44. The logic now verifies checksums for downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

downloadIssue related to data download functionality from databus

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions