Support for SHA-256

XMLWordPrintable

    • 1

      Issue Summary

      Bitbucket Cloud currently does not support Git repositories initialized with the SHA-256 object format (--object-format=sha256). As SHA-256 provides enhanced security and has been officially supported by Git since version 2.29, it would be beneficial for Bitbucket Cloud to support repositories using SHA-256. This would enable organizations and developers to adopt the more secure hashing algorithm while continuing to use Bitbucket Cloud for hosting and collaboration.

      Steps to Reproduce

      1. Initialize a Git repository with SHA-256:
        git init --object-format=sha256
      1. Attempt to push the repository to a Bitbucket Cloud repository:
        git remote add origin https://<username>@bitbucket.org/<workspace>/<repo>.git
        git push -u origin main

      Expected Results

      Bitbucket Cloud should support repositories using SHA-256, allowing users to push, pull, and perform all Git operations seamlessly.

      Actual Results

      Currently, Bitbucket Cloud does not support SHA-256 repositories. When attempting to push, users encounter an error

      fatal: the receiving end does not support this repository's hash algorithm
      fatal: the remote end hung up unexpectedly
      

            Assignee:
            Unassigned
            Reporter:
            Norbert Csupka (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: