What MAC algorithms does Bitbucket support?

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Fetching the Bitbucket Cloud fingerprint fails due to a restriction of the MACs algorithm on the server.

A message authentication code (MAC), is a short piece of information used for authenticating a message. 

Diagnosis

The issue is caused by a restriction on the MAC algorithm on the server. Restriction to accept only specific MAC algorithms leads to failure in fetching the Bitbucket Cloud fingerprint.

Cause

Bitbucket Cloud supports HMAC-SHA2-256 MAC algorithm. The root cause of the issue is the restriction on the MAC algorithm used on the customer server and not allowing HMAC-SHA2-256 MAC algorithm

Solution

Allow HMAC-SHA2-256 as a supported algorithm.

Updated on February 25, 2025

Still need help?

The Atlassian Community is here for you.