Which Bitbucket functions depend on RSA and elliptic-curve keys

Bitbucket Data Center's SSH host key is 2048-bit RSA and its user keys include RSA, ECDSA and Ed25519; Bitbucket Cloud documents RSA, ECDSA and Ed25519 user keys, and the sources do not show ML-KEM hybrid key exchange enabled in either product.

On this page

Which Bitbucket functions depend on RSA and elliptic-curve keys today

Bitbucket Data Center's SSH host key is a 2048-bit RSA key, and its SSH user keys include RSA, ECDSA, Ed25519, and the hardware-backed ED25519-SK and ECDSA-SK types. Bitbucket Cloud documents RSA, ECDSA, and Ed25519 user keys, with minimum sizes of 2048 bits for RSA and 256 bits for ECDSA and Ed25519. The sources listed on this page do not show post-quantum key exchange enabled by default in either product, and they date to 2026-12-04. Platform owners who host Git over SSH, and vendor-risk reviewers recording an answer for this product, should treat the SSH layer as the place where public-key dependence is most concrete.

For Data Center, the SSH server is an Apache Mina SSHD instance bundled with Bitbucket and not integrated with the host's SSH server, so the host key and algorithm settings live in Bitbucket itself. The key is stored at $BITBUCKET_HOME/shared/config/ssh-server-keys.pem and was generated on the first SSH-based git request. Since Bitbucket 6.7.x it has been 2048-bit RSA, where earlier versions used 1024 bits. In a clustered deployment every node reads the same shared directory over NFS, so one host key serves all nodes. An administrator who replaces the key must place a new private key at the same path and restart, and clients that have pinned the old fingerprint will then see a host key change.

A reviewer should confirm three things with the vendor or in the environment: which key exchange algorithms the running version negotiates, whether the plugin.ssh.disabled.key.exchanges property is blank in the live bitbucket.properties, and what Bitbucket Cloud uses for its own TLS key exchange and certificates. The Cloud protocols page does not document key exchange groups or certificate algorithms, so that point must be confirmed directly with Atlassian. Recording the answer requires the configured values, not the defaults alone.

Bitbucket dependencies on RSA and elliptic-curve keys by product and component

This table lists each Bitbucket function that relies on RSA or elliptic-curve keys, the product and version it applies to, what the cited Atlassian sources say, and the date of each source. Read it row by row, because Cloud and Data Center document different settings and some points are not documented at all. Where the sources are silent, the cell says so, and the reader should confirm with Atlassian before recording an answer.

ComponentProduct and versionWhat the sources saySource date
Data Center SSH host keyData Center, Bitbucket 6.7.x and laterStored at $BITBUCKET_HOME/shared/config/ssh-server-keys.pem and generated as a 2048-bit RSA key. Earlier versions used 1024 bits. All nodes share the key over NFS.Atlassian KB, undated in facts
Data Center SSH user key typesData Center, documented SSH accessED25519, RSA2, ECDSA, ED25519-SK and ECDSA-SK are listed. DSA is listed but Atlassian recommends avoiding it.Atlassian docs, undated in facts
Data Center SSH algorithm settingsData Center, configuration properties page labeled 10.5Controlled by plugin.ssh.disabled.ciphers, key.exchanges, macs and signatures. Setting any of these replaces the default list, so defaults must be re-listed. Key exchange and signature defaults are blank.Read 2026-12-04
Data Center HTTPS through TomcatData Center, Bitbucket with server.ssl.enabledHTTPS is off by default. The default protocol list is all, which includes TLSv1 and TLSv1.1. TLSv1.3 needs JVM support and Smart Mirrors do not support it until BSERV-13366 is implemented. Key store and alias defaults are documented.Read 2026-12-04
Data Center system commit signingData Center, Mesh with mesh.enabled=trueSystem GPG key signs merge commits the server creates. It is off by default, only a system administrator can enable it, and the key algorithm and size are not stated.Atlassian docs, undated in facts
Cloud SSH user key formatsBitbucket CloudEd25519 and ECDSA at 256 bits minimum, RSA at 2048 bits minimum, DSA/DSS at 1024 bits minimum.Atlassian docs, undated in facts
Cloud TLS cipher suitesBitbucket Cloud, from July 15, 2024Nine suites are supported: three TLS 1.3 suites and six TLS 1.2 ECDHE suites with RSA or ECDSA authentication. TLS_DHE_RSA suites were deprecated. Key exchange groups and certificate algorithms are not documented.Blog 2024; protocols page undated
Cloud Pipelines OIDC tokenBitbucket Cloud Pipelines, on by default unless oidc is falseThe token is exposed in $BITBUCKET_STEP_OIDC_TOKEN. The token signing algorithm is not documented.Atlassian docs, undated in facts

Which Bitbucket components use public-key cryptography

Bitbucket uses public-key cryptography in several separate places: SSH host and user keys, HTTPS through Tomcat, system commit signing, Cloud TLS and Pipelines OIDC tokens. The Cloud and Data Center deployments have different settings, so each card names the deployment it applies to and what the sources leave open.

SSH host key for Git over SSH

In Bitbucket Data Center, Git over SSH is served by a bundled Apache Mina SSHD server, not the SSH server on the host operating system. The host key at $BITBUCKET_HOME/shared/config/ssh-server-keys.pem is a 2048-bit RSA key in Bitbucket 6.7.x and later, where earlier versions used 1024 bits. All nodes share that path over NFS and so present the same host key. The sources do not state whether ML-KEM hybrid key exchange is enabled by default in 10.2.0, so confirm the negotiated algorithms yourself.

SSH access docs

SSH user keys

Data Center accepts ED25519, RSA2, ECDSA, ED25519-SK and ECDSA-SK user keys and lists DSA but recommends avoiding it. Bitbucket Cloud sets minimum sizes: Ed25519 and ECDSA at 256 bits, RSA at 2048 bits and DSA at 1024 bits. Every one of these is an RSA or elliptic-curve key, so user authentication depends on them. The sources do not state which key exchange groups accompany each user key type, so check that with the client you use.

Minimum Ed25519 and ECDSA
256-bit
Cloud SSH key formats

HTTPS and TLS through Tomcat

Data Center serves HTTPS through Tomcat only when server.ssl.enabled is set, and that setting defaults to false. The protocol list defaults to all, which includes TLSv1.3 where the JVM supports it. Keys come from the keystore at ${bitbucket.shared.home}/config/ssl-keystore with the alias tomcat. The sources do not state the certificate algorithm used by default. Smart Mirrors do not support TLSv1.3 for synchronization to the primary until BSERV-13366 is implemented.

TLS 1.3 setup article

System commit signing with Mesh

Data Center can sign commits it creates itself, such as pull request merge commits, with a system GPG key. Signing is off by default, only a system administrator can enable it, and it requires Mesh with mesh.enabled=true. The public key is served at {bitbucket}/signing/system-public-key.gpg. The sources do not state the key algorithm or size, and the GPG keys page lists no supported key types, so ask Atlassian which algorithm the system key uses.

Signed system commits docs

Cloud TLS and cipher suites

Bitbucket Cloud requires TLS 1.2 or higher and lists nine cipher suites: three TLS 1.3 suites and six TLS 1.2 ECDHE suites with RSA or ECDSA authentication. From July 15, 2024, the two TLS_DHE_RSA suites were deprecated. Atlassian's cloud protocols page does not document key exchange groups or certificate algorithms, so the sources leave those open. Ask Atlassian for them directly before you record an answer.

Supported cipher suites
9
Cloud security protocols

Pipelines OIDC token

Pipelines exposes an OIDC token in $BITBUCKET_STEP_OIDC_TOKEN, and it is on by default unless oidc is set to false. Resource servers that verify this token depend on its signature, but the Pipelines documentation does not state the token signing algorithm. Confirm the algorithm and the signing key type with Atlassian before you rely on the token in a trust policy.

Pipelines OIDC docs

How the answer differs for Bitbucket Cloud and Bitbucket Data Center

Bitbucket Cloud is hosted by Atlassian, so the customer does not configure its SSH server or TLS endpoints. What a customer can see is the user key formats it may register and the protocol rules Atlassian publishes. Atlassian documents Ed25519 and ECDSA keys at 256 bits, RSA keys at 2048 bits, and DSA/DSS keys at 1024 bits as the minimum sizes accepted for SSH user keys. For HTTPS, Atlassian states that TLS 1.2 or higher is required and that TLS 1.1 and lower and all SSL versions are unsupported. It lists nine cipher suites: three TLS 1.3 suites and six TLS 1.2 ECDHE suites with RSA or ECDSA authentication. Bitbucket Pipelines also issues OIDC tokens in $BITBUCKET_STEP_OIDC_TOKEN by default, and the page does not state the signing algorithm.

  • User key formats: Ed25519, ECDSA, RSA and DSA/DSS, with the minimum sizes above.
  • TLS versions: TLS 1.2 or higher is required for all Atlassian apps and services.
  • Cipher suites: Nine suites listed, with the TLS_DHE_RSA suites deprecated from July 15, 2024.
  • Pipelines OIDC: Enabled by default unless oidc is set to false.
  • Not documented: The cloud protocols page does not list TLS key exchange groups or certificate algorithms.

Ask Atlassian for the TLS key exchange groups and certificate algorithms in use for bitbucket.org, and for the signing algorithm of the Pipelines OIDC token, since neither is stated in the sources listed here.

What to check first in your Bitbucket environment

This sequence establishes which Bitbucket deployment you run, which public-key algorithms its SSH and HTTPS paths actually use, and which settings can change them. The output is a dated inventory you can compare against vendor documentation before any upgrade or configuration decision is made.

  1. Confirm your deployment type and version

    A platform engineer or Bitbucket administrator should first establish whether you run Bitbucket Cloud, which Atlassian hosts, or Bitbucket Data Center, which you host, because the controls described below apply only to Data Center. For Data Center, record the exact version from the administration console or the product's about page, since SSH host key sizes and default algorithm lists differ between releases. You know this step is done when the deployment type and full version number are written in your inventory with the date you checked them.

  2. List the SSH user key types in use

    Ask each team that pushes over SSH, and review the SSH keys registered to user accounts, to identify which key types are in use. Bitbucket Data Center documents ED25519, RSA2, ECDSA, ED25519-SK and ECDSA-SK, and lists DSA with a recommendation to avoid it. Bitbucket Cloud documents Ed25519 and ECDSA at 256 bits, RSA at 2048 bits, and DSA at 1024 bits as minimums. You know this step is done when you have a count of keys per type and a list of any DSA or RSA keys that you will need to review.

  3. Check the SSH host key at the documented path

    On the Data Center host, a system administrator should inspect the file at $BITBUCKET_HOME/shared/config/ssh-server-keys.pem and record its algorithm and size. The Data Center SSH host key has been a 2048-bit RSA key since Bitbucket 6.7.x, where earlier versions used 1024 bits. Because all nodes share the $BITBUCKET_HOME/shared directory over NFS, one check covers the whole cluster. You know this step is done when the key type and bit length are recorded against the version from step one.

  4. Confirm the plugin.ssh.disabled settings

    Review bitbucket.properties for plugin.ssh.disabled.ciphers, plugin.ssh.disabled.key.exchanges, plugin.ssh.disabled.macs and plugin.ssh.disabled.signatures. The documented defaults for ciphers and MACs disable legacy algorithms, while the key exchange and signature defaults are blank. Setting any of these properties replaces the default list, so if a team has changed one, compare its current value with the documented defaults and re-list any default entries that should stay disabled. You know this step is done when each property is recorded as default or customized, and any customized value has been compared against the defaults.

  5. Check whether HTTPS is served through Tomcat

    Look for server.ssl.enabled in bitbucket.properties. The documented default is false, which means Tomcat does not serve HTTPS on its own, so HTTPS is typically terminated by a proxy or load balancer in front of Bitbucket. If the property is set to true, also record server.ssl.enabled-protocols, server.ssl.ciphers and the key store path, and note that Atlassian documents TLSv1.3 support as requiring a JVM that supports it. You know this step is done when you have recorded whether Tomcat terminates TLS and, if it does, the protocol and cipher settings in effect.

  6. Confirm whether system commit signing is enabled

    A Bitbucket administrator should check whether system commit signing has been turned on, since it is off by default and only a system administrator can enable it. Signing requires Mesh with mesh.enabled=true, and the public key is served at the signing/system-public-key.gpg path under your Bitbucket base URL. Atlassian's page does not state the key algorithm or size, so record that as a point to confirm with Atlassian rather than assuming it. You know this step is done when you have recorded whether signing is enabled and, if it is, the key details Atlassian confirms.

  7. Check negotiated SSH algorithms with ssh -vvv

    From a client machine, run ssh -vvv -p <port> git@<host> whoami against your Data Center instance, and read the output to see which key exchange, cipher and MAC algorithms the connection negotiated. To see the algorithms the server offers, first set logging.logger.com.atlassian.bitbucket.internal.ssh.server=DEBUG, restart, and read the startup log, then reset the logging level afterward. Repeat the check from a representative set of clients. You know this step is done when you have a dated record of the negotiated algorithms for each client type you tested.

What Atlassian has not documented about post-quantum key exchange

Atlassian's public documentation leaves several key exchange, certificate and signing points unstated for Bitbucket Cloud and Data Center. Each card names one open point and the question to put to Atlassian before you record an answer.

ML-KEM hybrid SSH in Data Center 10.2.0

Jira issue BSERV-20202 adds support for the mlkem768x25519-sha256 SSH key exchange algorithm and is Closed with resolution Fixed in fix version 10.2.0, but the page does not say whether it is enabled by default and names no setting that turns it on. The Bitbucket Data Center 10.2 release notes and change log do not mention SSH, ML-KEM or post-quantum cryptography. Ask Atlassian whether the algorithm is on by default in 10.2.0, and check the negotiated algorithm with ssh -vvv against your own instance.

BSERV-20202 page

Post-quantum key exchange on bitbucket.org

Jira issue BCLOUD-23914, which asks Bitbucket Cloud for post-quantum hybrid SSH key exchange, was Closed with resolution Fixed on 06 Jul 2026. The issue page does not say what was changed or whether bitbucket.org now offers post-quantum key exchange. Ask Atlassian which key exchange algorithms bitbucket.org negotiates today, and confirm the answer from a client connection before you record it.

BCLOUD-23914 page

Cloud TLS groups and certificate algorithms

Atlassian's cloud security protocols page lists the TLS versions and nine cipher suites that Bitbucket Cloud supports, but it does not mention post-quantum cryptography, key exchange groups or certificate algorithms. The cipher suite list therefore does not tell you which elliptic-curve or RSA key exchange groups are offered, or which algorithm signs the Bitbucket Cloud certificate. Ask Atlassian for the supported key exchange groups and certificate key types, and record the answer with its date.

Cloud security protocols

Algorithm of the system GPG key

Bitbucket Data Center signs the commits it creates, such as pull request merge commits, with a system GPG key that an administrator can enable with mesh.enabled=true. The signing page does not state the key algorithm or size, and its GPG keys page lists no supported key types beyond an rsa2048 example. Ask Atlassian which algorithm and size the system key uses, and whether it can be changed, before you treat signed system commits as part of your cryptographic inventory.

Signed system commits

FIPS 140-2 cryptographic modules

Jira issue BSERV-19066 asks for FIPS 140-2 compliant cryptographic modules in self-hosted Atlassian products and was Unresolved, with status Gathering Interest and no fix version, when last updated on 22 Nov 2026. The issue describes JVM or OS level configuration as a possible workaround, but it does not confirm that Bitbucket Data Center uses FIPS-validated modules. Ask Atlassian for the current status and for the modules, if any, that Data Center uses for its TLS and SSH functions.

BSERV-19066 page

Token signing algorithm for Pipelines OIDC

Bitbucket Pipelines exposes an OIDC token in $BITBUCKET_STEP_OIDC_TOKEN, and the feature is on unless oidc is set to false. The Pipelines OIDC documentation does not state the algorithm used to sign that token. Your resource servers will need the signing algorithm to validate it, so ask Atlassian which algorithm signs the token and where its public keys are published.

Pipelines OIDC docs

What can go wrong when you change Bitbucket SSH algorithm settings

Changing the SSH algorithm settings in Bitbucket Data Center is the most direct way an administrator can alter which public-key and key exchange methods clients negotiate, and it is easy to get wrong. Each of the plugin.ssh.disabled.ciphers, plugin.ssh.disabled.key.exchanges, plugin.ssh.disabled.macs and plugin.ssh.disabled.signatures properties replaces the default list rather than adding to it. The documented defaults for ciphers and MACs include entries such as arcfour128, aes128-cbc, 3des-cbc, hmac-md5 and hmac-sha1-96. If you set plugin.ssh.disabled.ciphers to a single value, those defaults are no longer disabled, so you must re-list every default entry you want to keep blocked. Treat each of these properties as a complete replacement and write down the full list before you change anything.

Two other settings deserve separate attention. The property plugin.ssh.dhgex-keysize.min has a default of 1024, and a negative value disables Diffie-Hellman Group Exchange altogether, which removes a key exchange method that clients may depend on. The default for plugin.ssh.dhgex.allow-sha1 is false, and the properties page says the keysize default rises to 2048 in version 8.0. Confirm with your Bitbucket release notes which default applies to your version before you rely on it. For Smart Mirrors, the TLS 1.3 setup in Atlassian's Data Center article does not reach synchronization: Smart Mirrors do not support TLSv1.3 for synchronization to the primary until BSERV-13366 is implemented. Check the status of that issue before you enforce TLS 1.3 across a mirror topology.

Configuration is not the same as the negotiated result, so verify what clients actually receive. Atlassian's knowledge base says to set logging.logger.com.atlassian.bitbucket.internal.ssh.server=DEBUG and restart so the startup log lists the SSH algorithms available, and then to check negotiated algorithms with ssh -vvv -p <port> git@<host> whoami. Run that check from a representative client for each client type in your environment, before and after each change, and record the output. Also note that the SSH host key at $BITBUCKET_HOME/shared/config/ssh-server-keys.pem is an RSA key of 2048 bits since Bitbucket 6.7.x, and in multi-node deployments all nodes share it over NFS, so a single change to the host key affects every node at once.

Questions security leads ask about Bitbucket RSA and ECDSA dependencies

Is Bitbucket quantum safe?

The sources listed on this page do not support calling Bitbucket quantum safe, and Atlassian has not published a post-quantum claim for either product that these sources record. Bitbucket Data Center uses a 2048-bit RSA SSH host key and documents RSA, ECDSA and Ed25519 user keys, and Bitbucket Cloud documents Ed25519, ECDSA and RSA user keys. Those are classical public-key algorithms. The Data Center 10.2 issue for ML-KEM hybrid SSH key exchange (BSERV-20202) is marked Fixed, but the sources do not say whether it is enabled by default. Confirm the current status with Atlassian before answering a questionnaire.

Which Bitbucket Data Center version disables classical SSH algorithms by default?

The sources do not name a Bitbucket Data Center version that adds ML-KEM hybrid key exchange by default, and they do not show that any release removes classical SSH algorithms by default. BSERV-20202 targets fix version 10.2.0, but its page does not say whether the feature is on in that release or what setting enables it. Data Center 10.2 is a Long Term Support release made available on 3 March 2026, and its release notes and change log, as read on 2026-12-04, do not mention SSH, ML-KEM or post-quantum cryptography. To disable classical algorithms yourself, use the plugin.ssh.disabled.* properties in bitbucket.properties, then check the startup log and negotiated algorithms as described in Atlassian's knowledge base article.

Does moving Bitbucket off classical SSH algorithms cost extra?

The sources listed on this page do not give a price for any Bitbucket setting change or upgrade, and they do not state a fee for post-quantum support. The main cost components are internal staff time to change bitbucket.properties, test client compatibility and retest after restarts, plus any upgrade work needed to reach a release that supports the feature. For Data Center, ask Atlassian whether the change is covered by your current license or support terms, and whether any upgrade to 10.2 or later carries a cost. Ask for these details in writing before you budget.

What breaks when classical SSH algorithms are disabled in Bitbucket Data Center?

Clients that offer only the disabled algorithms will fail to connect over SSH, so Git operations over SSH will stop for those users. Two details matter here. First, setting any plugin.ssh.disabled.* property replaces the default list, so you must re-list the defaults (arcfour128, aes128-cbc, hmac-md5 and so on) to keep them disabled. Second, the host key is a 2048-bit RSA key shared across nodes through $BITBUCKET_HOME/shared, so a change to the key affects every node at once. Test with an older client and with CI runners before rolling the change out to all users.

What should we ask Atlassian about Bitbucket post-quantum support?

Ask Atlassian five things and get the answers in writing. First, whether BSERV-20202 (ML-KEM hybrid SSH key exchange) is enabled by default in Data Center 10.2.0, and which property turns it on if not. Second, what BCLOUD-23914 changed on bitbucket.org and whether Cloud offers post-quantum key exchange today. Third, which TLS key exchange groups and certificate algorithms Bitbucket Cloud uses, since the cloud security protocols page does not document them. Fourth, whether the Data Center signing key (documented without an algorithm or size) is RSA or another type. Fifth, the timeline for any post-quantum roadmap and deprecation notice, and whether BSERV-19066 (FIPS 140-2 modules) affects your planning.

Can our team change Bitbucket's SSH settings ourselves or do we need outside help?

Your team can make the configuration change itself if it has administrator access to bitbucket.properties and can restart the service. The Atlassian documentation covers the property names, defaults and verification steps (the startup log and the ssh -vvv command). Outside help is useful when you need to test many client types, support a multi-node cluster with shared storage, or document the change for an audit. DeployOpen plans, implements, tests and documents self-hosted platform changes in the client's own infrastructure under a fixed-scope written agreement, and does not issue audit reports. Ask for a written scope before work starts.

Where SSH and TLS keys sit in Bitbucket Data Center traffic

The diagram starts with a Git client, which reaches Bitbucket Data Center either over SSH to the bundled Apache Mina SSHD server or over HTTPS through Tomcat when server.ssl.enabled is set. The SSH host key lives in $BITBUCKET_HOME/shared/config/ssh-server-keys.pem, and because all nodes mount $BITBUCKET_HOME/shared over NFS, every node presents the same key. System commits such as pull request merges are signed with a system GPG key through Mesh, but only when mesh.enabled=true and an administrator turns signing on. Check each path against the documented key type, and note where the sources do not state the algorithm.

SSH, HTTPS and system signing paths and the keys each one loads.

How DeployOpen helps plan and document Bitbucket cryptography changes

DeployOpen works on Bitbucket's public-key dependencies in two forms: Bitbucket Cloud as hosted by Atlassian, and self-hosted Bitbucket Data Center in your own infrastructure. The work centers on the SSH, HTTPS and signing settings that the product documentation names, and on producing a written record of what was checked, changed and left open.

How we scope

  • Confirm whether Bitbucket Cloud, Data Center or both are in use, and which versions are running.
  • Record which SSH key types, host keys and TLS settings each deployment currently uses, from its own configuration.
  • Agree the scope in writing before work starts, since engagements are fixed-scope with deliverables and timelines set in advance.

How we build

  • Review the Data Center SSH algorithm lists, including plugin.ssh.disabled.key.exchanges and the other plugin.ssh.disabled.* properties, and confirm the negotiated algorithms with test connections.
  • Check the SSH host key path and the server.ssl settings in bitbucket.properties, and test any change in a non-production instance first.
  • Verify the Bitbucket Cloud and Data Center support status against the vendor's published pages and issue records, rather than assuming a setting exists.

How we hand over

  • Deliver a written inventory of each public-key dependency, with the product version and setting it applies to.
  • Document every change made, the test results and the exact configuration values, so your team can repeat or reverse them.
  • List the points the sources do not settle, such as whether a key exchange is on by default, and name who should confirm each with the vendor.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the handover.
  • Re-check the inventory when Bitbucket releases change SSH or TLS behavior, since the documented defaults can change between versions.
  • Prepare evidence for your compliance or audit team, while noting that independent auditors and certification bodies issue any audit reports or certifications.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.