GitLab compatibility with post-quantum clients, runners and reverse proxies

GitLab's published docs show one post-quantum hybrid key exchange, mlkem768x25519-sha256, as an option in gitlab-sshd and GitLab Shell, but not as a default, and no post-quantum certificates, signatures or runner support is documented as of December 2026.

On this page

Does GitLab work with post-quantum SSH and TLS clients today?

If you run self-managed GitLab behind NGINX and GitLab Runner, the question is whether a post-quantum key exchange already works end to end. The published GitLab documentation shows mlkem768x25519-sha256 as an optional SSH key exchange for gitlab-sshd and GitLab Shell, but not as a default, and it does not describe post-quantum TLS certificates, post-quantum signatures or post-quantum runner authentication. Platform teams and security leads who own SSH access to repositories should care most, because the SSH key exchange is the only point where the docs name a post-quantum algorithm at all. The docs list the algorithms as examples and do not say the hybrid is post-quantum or a default.

For gitlab-sshd, the relevant settings are gitlab_sshd['kex_algorithms'] on Linux package installs and kexAlgorithms in the Helm chart. When these are empty, gitlab-sshd falls back to the defaults of the golang.org/x/crypto/ssh package, which the docs describe as permissive. GitLab Shell merge request !1315, opened August 13, 2025, adds the hybrid to the default key exchange list and removes diffie-hellman-group14-sha1, but the page does not give the release or merge date. In FIPS mode, that merge request drops curve25519-sha256 and ecdh-sha2-nistp521 by default. A GitLab issue about OpenSSH 10.1 warnings notes that the Go server supports mlkem768x25519 only when built with Go 1.24 or later and must be enabled manually. The issue records no resolution.

For TLS, the Linux package docs cover NGINX cipher and protocol overrides, but they do not list any post-quantum groups, and the docs do not say which OpenSSL version adds them. Confirm the NGINX and OpenSSL versions in your build, and check the GitLab release notes for the version you run. Runners trust servers through tls-ca-file and accept PEM only, with no post-quantum certificate or authentication path documented. GitLab's Cryptography Standard states that as of April 2026 no quantum safe cryptographic modules are FIPS certified, and that testing of ML-KEM, ML-DSA and SLH-DSA will start only after quantum-supporting OpenSSL and Linux kernel versions are available. It also says there is no specific timeline for post-quantum cryptography in GitLab offerings. Ask GitLab in writing which client versions, runner images and reverse proxy builds it has tested against the hybrid key exchange before you rely on it.

Which GitLab components support post-quantum options, by version and source date

This table compares each GitLab component named in the sources against what it offers for post-quantum or stronger algorithms, what does not apply, and the date its source was read. Use it to decide which items need a check against your own version and edition, since the sources do not record GitLab's release timing for most changes. The main takeaway is that no component in these sources offers ML-KEM, ML-DSA or SLH-DSA by default, and the only post-quantum key exchange named is mlkem768x25519-sha256, which needs explicit configuration.

ComponentWhat appliesWhat does not applySource read
gitlab-sshdKey exchange, cipher, MAC and public key algorithms can be set in gitlab_sshd settings; mlkem768x25519-sha256 appears only in example kex_algorithms listsThe docs do not call mlkem768x25519-sha256 post-quantum or state it as a default; host key algorithms cannot be set directly2026-12-04
GitLab Shell MR 1315Replaces hard-coded SSH algorithm lists with x/crypto/ssh defaults and adds mlkem768x25519-sha256 to the key exchange listThe page does not state the release or merge date; FIPS mode drops curve25519-sha256 and chacha20-poly1305 by default2026-12-04
NGINX on Linux packagesTLS protocol and cipher overrides via gitlab_rails['nginx']['ssl_ciphers'] and reconfigure; OpenSSL 3 defaults from GitLab 17.7 may break older TLS settingsThe docs do not list the default TLS protocols or ciphers; they point to nginx_helper.rb at the matching Git tag2026-12-04
GitLab Runner TLSTrusts server certificates through tls-ca-file, a predefined certs path, or the system store, in PEM formatAccepts PEM only, not DER; the docs record no post-quantum certificate or TLS algorithm support2026-12-04
Signing keys (SSH, GPG, X.509)SSH signing keys can be ED25519, ED25519_SK, RSA, ECDSA or ECDSA_SK; GPG defaults to RSA with 4096-bit recommendedNo ML-DSA or SLH-DSA signing key type appears in the signed commits pages that were opened2026-12-04
FIPS buildsOmnibus FIPS packages cover RHEL 8 and 9, AmazonLinux 2 and 2023, and Ubuntu 20.04; the ML-KEM768/X25519 hybrid is approved only on the native Go moduleThe hybrid is excluded on golang-fips, and DSA keys are not supported in FIPS mode2026-12-04
Cryptography Standard (company policy)States GitLab will test ML-KEM, ML-DSA and SLH-DSA once quantum-supporting OpenSSL and Linux kernel versions existNo FIPS-certified quantum-safe module existed as of April 2026, and no timeline or roadmap has been published2026-12-04
GitLab.com SSH host keysPublishes fingerprints for ssh-ed25519, ssh-rsa and ecdsa-sha2-nistp256 and uses default key restrictionsThe page says nothing on TLS, ciphers or post-quantum algorithms2026-12-04

Which GitLab parts the post-quantum question touches

GitLab's cryptography sits in several separate places: SSH access, web TLS, runner trust, and commit signing. Each has its own configuration and its own documentation, so a post-quantum review has to cover each one on its own terms. The cards below set out what each part's docs say and what they leave out.

gitlab-sshd key exchange and host keys

gitlab-sshd negotiates key exchange, ciphers, MACs and public key algorithms through gitlab_sshd['kex_algorithms'] and related keys. The docs say that when these are left empty, gitlab-sshd falls back to the permissive defaults of the golang.org/x/crypto/ssh package, which include SHA-1 algorithms. Host key algorithms cannot be set directly and follow the loaded host keys, so host_keys_glob controls which keys are offered. The docs show mlkem768x25519-sha256 only in example lists and do not call it post-quantum or a default. Check the effective kex list on your own server rather than assuming the example is active.

gitlab-sshd docs

NGINX TLS in the Linux package

On Linux package installs, the docs do not list NGINX protocol and cipher defaults on the page itself. They point to ssl_protocols and ssl_ciphers in nginx_helper.rb and tell readers to match the Git tag to their GitLab version. Overrides go in gitlab_rails['nginx']['ssl_ciphers'] in /etc/gitlab/gitlab.rb, applied with gitlab-ctl reconfigure. The docs warn that some older TLS protocols and ciphers may not work with the OpenSSL 3 defaults used from GitLab 17.7. Confirm the active TLS groups with your GitLab version's source before making claims about key exchange.

Linux package SSL docs

Let's Encrypt and certificate paths

On Linux package installs, Let's Encrypt is on by default when external_url uses HTTPS and no other certificates are set. Those certificates expire every 90 days, and renewal runs only when expiry is within 30 days. Without Let's Encrypt, the web certificate is read from /etc/gitlab/ssl/<hostname>.crt and .key, which you can change with ssl_certificate and ssl_certificate_key. The docs do not state which certificate algorithms Let's Encrypt or GitLab will issue, so check the certificate chain your CA issues and record the key type in your inventory.

GitLab Runner trust and tokens

GitLab Runner trusts GitLab's server certificate through tls-ca-file in config.toml, a predefined file under /etc/gitlab-runner/certs/, or the system store. It accepts PEM only, not DER. Each runner authenticates with a runner token that admins can expire, and gitlab-runner reset-token rotates an exposed one. The runner docs do not describe post-quantum TLS or token algorithms, so confirm the TLS library and Go version in your runner image and treat runner trust as a separate inventory line.

Runner TLS docs

Git signing keys

GitLab verifies commits and tags signed with SSH keys, GPG keys or X.509 certificates. SSH signing keys can be ED25519, ED25519_SK, RSA, ECDSA or ECDSA_SK, and the GPG docs name RSA as the default with 4096-bit recommended. None of the signed-commit pages list ML-DSA or SLH-DSA as an accepted type. Inventory which key type each signer uses, since those types are the ones a post-quantum signing change would have to address.

SSH signed commits docs

Where SSH, HTTPS and runner traffic reaches GitLab

The diagram starts with three client paths into a self-managed GitLab instance: Git over SSH to gitlab-sshd, web and API traffic over HTTPS to NGINX, and GitLab Runner connecting over TLS. Gitaly and Workhorse sit behind the front-end components, and the sources cover algorithm settings for the SSH daemon and the NGINX TLS layer, while the sources list no equivalent settings for the internal hops. Check each hand-off separately, since the SSH key exchange, TLS termination and runner trust settings are configured in different places.

Client, runner and internal hops into GitLab, with the hops the sources cover marked in the description.

How the answer changes for SSH, HTTPS and FIPS deployments

On self-managed instances, SSH access to Git repositories is served by gitlab-sshd, and its key exchange, cipher, MAC and public-key algorithms are controlled by explicit settings. The documentation says that when a setting is left empty, gitlab-sshd falls back to the defaults of the golang.org/x/crypto/ssh package, which the docs describe as permissive and which include SHA-1 algorithms. Before GitLab 18.3, GitLab Shell used its own hard-coded lists instead.

  • Settings: gitlab_sshd['kex_algorithms'], gitlab_sshd['ciphers'], gitlab_sshd['macs'] and gitlab_sshd['public_key_algorithms'] (Helm: kexAlgorithms, ciphers, macs, publicKeyAlgorithms). public_key_algorithms was introduced in GitLab 17.2.
  • Post-quantum key exchange: The docs show mlkem768x25519-sha256 only in example kex_algorithms lists that set explicit values. The page does not call it post-quantum and does not state it as a default.
  • Default change: GitLab Shell merge request !1315 replaces hard-coded lists with x/crypto/ssh defaults and adds mlkem768x25519-sha256 to the key exchange list. The page does not state the release or merge date.
  • Host keys: Host key algorithms cannot be set directly. They derive from the loaded host keys, and host_keys_glob (default directory /var/opt/gitlab/gitlab-sshd) can exclude the RSA host key so ssh-rsa is not offered.
  • Go version: The Go SSH server supports mlkem768x25519 only when built with Go 1.24 or later, and it must be enabled manually. An open issue asks GitLab to consider enabling it by default, and the page records no resolution.

Check your release notes and the rendered sshd configuration, and confirm with GitLab which kex and cipher lists your version actually offers.

What a platform team should check next, in order

This sequence establishes which GitLab version and SSH and TLS settings are in place, whether a post-quantum key exchange is actually negotiated, and whether runners trust the server certificate. The result is a dated, versioned record that shows what was tested and what remains unsupported.

  1. Record the installed GitLab version

    The platform owner records the exact GitLab version, edition and installation method (Linux package, Helm chart or source) on the instance. Run sudo gitlab-rake gitlab:env:info on Linux package installs, or check the chart version for Helm. The output is a dated record of the version, since the Git tag used for settings lookup depends on it. Settings described for one release may differ in another, so the version recorded here governs every later step.

  2. Read the gitlab-sshd algorithm settings

    Review gitlab_sshd['kex_algorithms'], ['ciphers'], ['macs'] and ['public_key_algorithms'] in /etc/gitlab/gitlab.rb, or the Helm equivalents. An empty value means gitlab-sshd uses the defaults of the golang.org/x/crypto/ssh package, which the documentation calls permissive and says include SHA-1 algorithms. Check the GitLab documentation tag that matches the installed version for the default lists, and note whether mlkem768x25519-sha256 appears in an explicit list. The output is a written record of each setting and its effective value.

  3. Read the NGINX TLS settings for the tag

    On Linux package installs, the NGINX TLS protocol and cipher defaults are defined in ssl_protocols and ssl_ciphers in nginx_helper.rb, not on the SSL docs page itself. Open the file at the Git tag matching the installed version and compare it with any gitlab_rails['nginx']['ssl_ciphers'] override in /etc/gitlab/gitlab.rb. Note that some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults in GitLab 17.7 and later. The output is the effective TLS configuration for this version.

  4. Test a post-quantum key exchange against the server

    From a client with OpenSSH, run a connection test against the SSH endpoint and check which key exchange algorithm is negotiated, for example with ssh -vv or an ssh-audit style scan of the host. Confirm that the client offers mlkem768x25519-sha256 and that the server accepts it. Note that the server must be built with Go 1.24 or later and have the hybrid enabled manually, as recorded in GitLab issue 568265. The output is the negotiated algorithm, the client and server versions, and the date of the test. Treat a failed negotiation as a finding to record, not a fault to hide.

  5. Confirm runner TLS trust for the server certificate

    Check each runner's config.toml for tls-ca-file, or confirm the server certificate sits in /etc/gitlab-runner/certs/ or the system certificate store. GitLab Runner accepts PEM only and does not support DER. The runner authentication token is separate from TLS, so check its expiration settings too. Run a registration or job test from each runner class and confirm it connects. The output is a list of runners with their trust path and a successful connection test.

  6. Record the result with the date and version

    Write one record that lists the GitLab version and edition, the Git tag used for settings lookup, the effective gitlab-sshd and NGINX settings, the negotiated key exchange, and the runner trust results, each with the date of the check. State which items are not supported today. GitLab's Cryptography Standard says that no quantum safe modules are FIPS certified as of April 2026, and that ML-KEM, ML-DSA and SLH-DSA testing awaits quantum-capable OpenSSL and Linux kernel releases. Confirm any open point with GitLab directly. The output is a dated, versioned record that a reviewer can check later.

What GitLab has not published on post-quantum support

The sources listed on this page show that GitLab has documented its cryptography standard and its FIPS position but has not yet published post-quantum signing, runner or TLS options. Each card below names one gap and the question to put to GitLab about it.

No ML-DSA or SLH-DSA for commits and tags

GitLab signs commits and tags with SSH keys, GPG keys and X.509 certificates, and the signing docs list only classical key types: ED25519, RSA, ECDSA and their security-key variants. The pages checked on 2026-12-04 name no ML-DSA or SLH-DSA signature option. Teams that verify signed Git history should ask GitLab whether ML-DSA or SLH-DSA will be accepted for commit and tag signing, in which releases, and how existing signature verification would behave.

Signed commits docs

No post-quantum TLS certificate or runner token

The Linux package SSL docs describe RSA and ECDSA certificates issued through Let's Encrypt or supplied files, and the runner docs describe authentication tokens without any post-quantum certificate or token type. Runners trust server certificates through PEM files and the system store. Ask GitLab whether post-quantum certificate chains and runner authentication will be supported, and what a self-managed operator must change to use them.

Linux package SSL docs

No default mlkem768x25519 in SSH

The gitlab-sshd docs show mlkem768x25519-sha256 only in example key exchange lists and do not state it as a default. A GitLab Shell merge request adds it to the key exchange list through Go defaults, but the server enables it only when built with Go 1.24 or later and set manually. Issue 568265 asks GitLab to enable it by default and records no resolution. Ask GitLab whether it will be the default, in which release, and what administrators must set until then.

Issue 568265

No official post-quantum roadmap date

GitLab's Cryptography Standard states that there is currently no specific timeline for post-quantum cryptography in its offerings, that full support may occur before 2030, and that an official roadmap will follow once PQC-enabled Linux images are available. It also says testing of ML-KEM, ML-DSA and SLH-DSA will begin only after quantum-supporting OpenSSL and kernel versions exist. Ask GitLab for the release or date it is targeting, and the condition it is waiting on.

Cryptography Standard

What can break or silently fall back to classical algorithms

The most common way a GitLab deployment ends up on classical algorithms without anyone noticing is through empty settings. For gitlab-sshd, leaving gitlab_sshd['kex_algorithms'], ['ciphers'], ['macs'] or ['public_key_algorithms'] unset means the server uses the defaults of the golang.org/x/crypto/ssh package. The GitLab docs describe those defaults as permissive and say they include SHA-1 algorithms. Before GitLab 18.3, GitLab Shell used its own hard-coded lists instead, so the effective set depends on the version you run. Check the release notes for your version and confirm what your instance actually offers, for example with ssh-audit against the gitlab-sshd port, rather than assuming the list is the same as before.

FIPS mode changes the picture again. In GitLab Shell merge request !1315, the FIPS defaults drop key exchanges including curve25519-sha256 and ecdh-sha2-nistp521, along with the chacha20-poly1305@openssh.com cipher and the hmac-sha1 MAC. The GitLab FIPS docs also list the ML-KEM768/X25519 hybrid as approved only on the native Go cryptographic module and excluded on golang-fips. If you run FIPS packages, confirm which Go build and module your gitlab-sshd uses before you count on any hybrid key exchange. Also note that gitlab-sshd host key algorithms cannot be set directly. They follow the loaded host keys, so host_keys_glob can exclude the RSA host key to stop ssh-rsa from being offered.

On the web side, the Linux package SSL docs say that some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults GitLab uses starting in GitLab 17.7. After an upgrade across that boundary, clients that depended on older TLS settings can fail to connect, and the failure may look like a generic handshake error. The NGINX protocol and cipher defaults are not listed on the docs page itself. They sit in nginx_helper.rb under the ssl_protocols and ssl_ciphers keys, and the page tells you to read the version that matches your GitLab release. Set gitlab_rails['nginx']['ssl_ciphers'] in /etc/gitlab/gitlab.rb and run sudo gitlab-ctl reconfigure only after you have checked that the change is what you intend.

The hardest silent fallback to see is on the client side. A client without a hybrid key exchange, such as an older OpenSSH or Git build, will negotiate a classical key exchange with gitlab-sshd even when the server offers a hybrid one. The server's list being correct does not guarantee the negotiated result. Use ssh-audit or a verbose SSH connection on a representative client image to record the algorithm actually chosen, and include runner images, build containers and developer workstations in that inventory. The GitLab issue on OpenSSH 10.1 warnings records that mlkem768x25519 must be enabled manually and was not resolved on the page, so treat any default hybrid exchange as something to verify on your build.

Questions platform and vendor-risk teams ask about GitLab post-quantum support

Is GitLab quantum safe?

GitLab has not published a claim that it is quantum safe, and the sources listed on this page do not show any post-quantum algorithm enabled by default in its products. GitLab's Cryptography Standard states that as of April 2026 none of the existing quantum safe cryptographic modules are FIPS certified, and that GitLab will begin testing ML-KEM, ML-DSA and SLH-DSA once quantum-supporting versions of the OpenSSL module and Linux kernel are available. Treat GitLab as not yet post-quantum for planning purposes, and ask GitLab for its current status in writing before recording an answer in your inventory.

Which GitLab version adds the mlkem option?

The sources listed on this page do not name a GitLab release that adds an mlkem option as a supported setting. The gitlab-sshd documentation shows mlkem768x25519-sha256 only in example kex_algorithms lists that set explicit values, and it does not describe the algorithm as post-quantum or as a default. GitLab Shell merge request !1315 adds that key exchange to the list, but the page does not state a release or merge date for it. A GitLab issue also notes that the Go SSH server supports mlkem768x25519 only when built with Go 1.24 or later and must be enabled manually. Confirm the exact release and build requirements with GitLab before relying on this option.

Does GitLab post-quantum support cost extra?

The sources listed on this page do not give a price for any post-quantum feature from GitLab, and they do not say whether any such feature is tied to a paid edition. The cost to you will depend on your edition and license terms, the effort to upgrade and reconfigure your self-managed instance and runners, and any retesting you need afterward. Ask GitLab to confirm in writing which editions include each feature and whether any part requires an additional subscription. Engagement costs for planning or implementation are quoted from a written scope, and DeployOpen does not publish a price list.

What breaks when GitLab moves to post-quantum algorithms?

The sources listed on this page do not describe a breaking change tied to a post-quantum move. They do show related compatibility limits that affect planning:

  • Some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults that GitLab uses starting in GitLab 17.7.
  • DSA keys are forbidden by default, and DSA keys are not supported in FIPS mode.
  • ED25519_SK and ECDSA_SK need OpenSSH 8.2 or later on both client and server.
  • GitLab Runner accepts PEM certificates only and does not support DER.
  • In FIPS mode, some key exchanges and the hmac-sha1 MAC are dropped by default.

Test these in a staging instance with your own clients, runners and reverse proxies, since the sources do not cover your environment.

What should we ask GitLab about its post-quantum plans?

Ask GitLab for a written answer to each point, dated and tied to a version, edition and component:

  • Whether any ML-KEM, ML-DSA or SLH-DSA algorithm is supported today for SSH, TLS, Git commit signing, runners or certificates, and in which releases.
  • Whether the mlkem768x25519 key exchange is enabled by default, and which Go version and build flags it needs.
  • Whether any post-quantum feature is available in FIPS builds, given that the sources list no certified post-quantum module yet.
  • The timeline and roadmap for post-quantum support, since the Cryptography Standard states there is no specific timeline and that a roadmap will follow once PQC-enabled Linux images are available.
  • Which editions and subscriptions include each feature, and whether any change affects license terms.
Can our team configure GitLab post-quantum settings ourselves?

Your team can make the configuration changes that the sources document, provided it has access to the relevant files and can test them. On Linux package installs, the SSL settings are set in /etc/gitlab/gitlab.rb and applied with sudo gitlab-ctl reconfigure, and gitlab-sshd algorithm lists are set under gitlab_sshd. Those settings do not yet show a supported post-quantum algorithm as a default, so the main work is inventory, testing and checking with GitLab what is supported. Outside help is useful if you need a fixed-scope review of your instance, runners and reverse proxies, or a retest after changes. DeployOpen plans, configures and hardens self-hosted platforms inside your own infrastructure, and the scope and deliverables are agreed in writing before work starts.

Does GitLab support post-quantum signatures for commits, tags and certificates?

The sources listed on this page do not show support for ML-DSA or SLH-DSA signatures. GitLab's signed commits documentation lists SSH keys (ED25519, ED25519_SK, RSA, ECDSA and ECDSA_SK), GPG keys and X.509 certificates, and the GPG pages name RSA as the default option. The user SSH and SSH key restriction pages list only classical key types. Ask GitLab whether any post-quantum signature type is planned for commit signing, SSH authentication or TLS certificates, and get the answer in writing with a version.

How DeployOpen helps platform teams plan and test GitLab changes

DeployOpen approaches GitLab compatibility by first mapping which SSH, TLS and runner settings a self-managed instance actually uses, then testing candidate changes in a non-production environment before they reach users. Work is fixed-scope, and the written scope sets out which components, versions and client types are covered.

How we scope

  • We confirm your GitLab edition, version and deployment method, including whether you run Linux packages, Helm or source installs.
  • We list the clients, Git versions, runners and reverse proxies that connect to your instance, since each affects which key exchange settings apply.
  • The written scope names the GitLab components covered, such as gitlab-sshd, Workhorse and the NGINX layer, before any work starts.

How we build

  • We review the current gitlab-sshd and NGINX settings against the defaults documented for your GitLab version, noting where empty values fall back to library defaults.
  • We test proposed key exchange and cipher changes in a staging instance, confirming connections from each client type before anything changes in production.
  • We check FIPS mode behavior separately, since the documented FIPS configuration excludes some key exchanges that are available in standard mode.

How we hand over

  • You receive a written record of each setting changed, the file or Helm value it lives in, and the GitLab version it was tested against.
  • Runner and reverse proxy configurations are documented with their tested client versions, so your team can repeat the checks after upgrades.
  • We note which points the vendor has not yet addressed, such as the absence of published post-quantum signature support for signing and certificates, so you can track them.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so configuration can be rechecked when GitLab releases change defaults.
  • Support covers re-testing after GitLab upgrades, operating system changes and runner image updates that affect the algorithms offered.
  • Quotes follow from the written scope. Ask for the components, versions and environments included, and whether retesting after each release is part of the retainer.

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.