Skip to content

feat: git cloning should verify the cryptograhic hash #587

Description

@yurivict

Feature Description

The cloning operation here just clones the latest revision.

Git is not a secure protocol and resulting download can be easily substituted by a malicious party who might control network connections.

Such git clone should be always for a particular repository tag or revision, and should always verify the cryptographic hash of the downloaded content.

In fact there is no need for clone. You can just download a desired tarball.

The Solution

Verify cryptographic hash.

Considered Alternatives

Alternatives are not secure.

Additional Context

No response

Related Features to This Feature Request

  • Metal support
  • CUDA support
  • Vulkan support
  • Grammar
  • Function calling

Are you willing to resolve this issue by submitting a Pull Request?

Yes, I have the time, and I know how to start.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions