Which GitLab functions depend on RSA and elliptic-curve keys today
If you are inventorying GitLab's public-key use, start with the four places it depends on RSA, ECDSA or ED25519 keys: SSH access for Git, web TLS for the instance, commit and tag signing, and trust between GitLab Runner and the instance. The GitLab sources listed on this page show no ML-DSA or SLH-DSA support for any of these functions as of 2026-12-04. Platform owners of self-managed GitLab need this inventory to decide which settings to review, and security leads recording exposure need it to state accurately what the vendor has and has not published.
SSH is the function with the most configurable detail. GitLab's SSH key restriction page lists DSA, RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK as key types, forbids DSA by default, and lets admins set a minimum length per type under Admin > Settings > General > Visibility and access controls. For the server side, gitlab-sshd exposes kex_algorithms and public_key_algorithms settings, and when left empty it falls back to the permissive defaults of the golang.org/x/crypto/ssh package, which include SHA-1 algorithms. The docs show mlkem768x25519-sha256 only in example key exchange lists, not as a default.
Web TLS and runner trust are configured separately. On Linux package installs, the NGINX cipher and protocol defaults are not listed on the docs page itself, so confirm them against the nginx_helper.rb file for your exact GitLab version. Let's Encrypt is enabled by default when external_url uses HTTPS and no other certificates are configured, with 90-day certificates. GitLab Runner trusts server certificates through tls-ca-file or the system store and accepts PEM only. For signing, SSH signing keys may be RSA, ECDSA, ED25519 or their security-key variants, and GPG defaults to RSA. The sources do not list restricted GPG algorithms, so confirm that point with GitLab. GitLab's Cryptography Standard says no quantum-safe module is FIPS certified as of April 2026, and that PQC testing will begin only once quantum-capable OpenSSL and Linux kernel versions exist. It gives no timeline, so record that as an open question.
Which GitLab component uses which public-key type, and the stronger settings that exist
This table compares each GitLab component that uses public-key cryptography with the key types it supports, the default setting and the stronger options the sources describe. Read each row as a question to answer for your own instance, since defaults differ by component and release. All rows reflect sources read on 2026-12-04.
| Component | Key types or algorithms in use | Default or stronger setting | Version or edition |
|---|---|---|---|
| gitlab-sshd (SSH access) | DSA, RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK user keys | DSA forbidden by default. ED25519 preferred. RSA at least 4096 bits if used. | Self-managed, all editions; public_key_algorithms added in 17.2 |
| gitlab-sshd algorithm lists | Key exchange, ciphers, MACs and public key algorithms | Empty settings fall back to permissive x/crypto/ssh defaults that include SHA-1, unless set explicitly | Before 18.3 GitLab Shell used hard-coded lists |
| gitlab-sshd host keys | Host key algorithms derived from loaded host keys | Exclude the RSA host key via host_keys_glob to stop ssh-rsa being offered | Self-managed, all editions |
| NGINX TLS (Linux package) | Protocols and ciphers set by ssl_protocols and ssl_ciphers | Override with gitlab_rails['nginx']['ssl_ciphers'] and reconfigure; check the tag matching your version | Linux package installs; OpenSSL 3 defaults from GitLab 17.7 |
| SSH commit signing | ED25519, ED25519_SK, RSA, ECDSA or ECDSA_SK keys | Usage type must be Authentication and Signing or Signing; no stronger setting listed on the page | All tiers, per signed commits docs |
| GPG commit signing | RSA as the documented default option | Use 4096-bit RSA keys as recommended; restricted algorithm list not published | All tiers, per GPG signed commits docs |
| GitLab Runner TLS trust | Server certificates in PEM format | Set tls-ca-file in config.toml; DER is not supported | GitLab Runner, configuration docs |
Which GitLab components depend on public-key cryptography
GitLab uses public-key cryptography in several separate places: SSH access, web HTTPS, commit and tag signing, and the trust relationship between runners and the instance. Each one is controlled by different settings and is owned by a different team, so an inventory should list them individually.
SSH access through gitlab-sshd
gitlab-sshd handles Git over SSH and uses host keys and user public keys for authentication and key exchange. The algorithms are set with gitlab_sshd['kex_algorithms'], ['ciphers'], ['macs'] and ['public_key_algorithms'], introduced in GitLab 17.2 for the last one. When these are left empty, gitlab-sshd uses the defaults of the golang.org/x/crypto/ssh package, which the docs describe as permissive and which include SHA-1 algorithms. Check the values actually loaded on your instance, and confirm whether the RSA host key is loaded because it determines whether ssh-rsa is offered.
gitlab-sshd docsWeb HTTPS through NGINX
The NGINX layer in front of GitLab terminates HTTPS using a certificate and private key, by default /etc/gitlab/ssl/<hostname>.crt and .key. Let's Encrypt is enabled by default when external_url uses HTTPS and no other certificates are configured, and its certificates last 90 days. The TLS protocol and cipher defaults are set in nginx_helper.rb for your Git tag, so confirm the values for your version and override them with gitlab_rails['nginx']['ssl_ciphers'] if needed. Some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults used from GitLab 17.7.
Linux package SSL docsCommit and tag signing
GitLab verifies signed commits and tags made with SSH keys, GPG keys or X.509 certificates. SSH signing keys can be ED25519, ED25519_SK, RSA, ECDSA or ECDSA_SK, and must have the usage type Authentication & Signing or Signing. GPG signing defaults to RSA and the docs recommend 4096-bit keys. These keys belong to users, not to the instance, so the instance setting does not control them. Ask which key types your developers use and whether signatures are required for protected branches.
Signed commits docsRunner trust through tls-ca-file
A GitLab Runner trusts the instance's server certificate through tls-ca-file in config.toml, a predefined file such as /etc/gitlab-runner/certs/gitlab.example.com.crt, or the system certificate store. The runner accepts only PEM files and does not support DER. Trust here is a certificate chain decision, so the CA that signs your GitLab certificate determines what the runner accepts. Confirm which trust path each runner uses, since a runner can silently fall back to the system store.
Runner TLS docsRunner authentication token
Each runner connects to a GitLab instance using a runner authentication token. This token is an authentication credential, not a public-key operation, but it is part of the same trust chain and must be protected like one. Admins can set token expiration, and gitlab-runner reset-token resets a token that has been exposed. Record which runners have tokens with expiration set and which do not, and check that exposed tokens have been reset.
Runner configuration docsWhich SSH key exchange algorithms gitlab-sshd offers, and what the defaults include
The key exchange algorithms that gitlab-sshd offers to SSH clients are controlled by the kex_algorithms setting under gitlab_sshd, with ciphers, macs and public_key_algorithms set alongside it. Whatever is listed there is what the server offers during negotiation, so the value you set determines which post-quantum or classical options a client can even select. The Helm chart uses the matching key kexAlgorithms. Before planning any change, an administrator should check which of these settings are explicitly set in their deployment, because an empty value does not mean no algorithms are offered.
When a setting is left empty, gitlab-sshd uses the defaults of the golang.org/x/crypto/ssh package. The gitlab-sshd documentation calls these defaults permissive and says they include SHA-1 algorithms. Before GitLab 18.3, GitLab Shell used its own hard-coded lists instead. Host key algorithms cannot be set directly. They are derived from the host keys that are loaded, so an administrator who wants to stop ssh-rsa from being offered can use host_keys_glob to exclude the RSA host key. Confirm which host keys exist in /var/opt/gitlab/gitlab-sshd on each node, since that directory is the default glob location.
The value mlkem768x25519-sha256 appears in the gitlab-sshd documentation only inside example kex_algorithms lists where the administrator has set explicit values. The documentation does not call it post-quantum and does not present it as a default. GitLab Shell merge request !1315 shows it added to the key exchange list when hard-coded lists were replaced with x/crypto/ssh defaults, and it notes that FIPS mode removes several key exchanges by default. GitLab issue 568265 observes that the Go server supports this algorithm only when built with Go 1.24 or later and must be enabled manually, and it asks GitLab to consider enabling it by default. The page records no resolution to that request. Confirm the Go version of your build and whether you have set this value explicitly before relying on it.
How the dependency changes by deployment model and FIPS mode
On self-managed Linux package installs, GitLab's web layer is served by NGINX, and the TLS protocol and cipher defaults are not listed on the SSL docs page itself. Those defaults live in the ssl_protocols and ssl_ciphers keys of nginx_helper.rb, so the docs direct you to the Git tag that matches your GitLab version. The docs also say some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults GitLab uses starting in GitLab 17.7.
- Cipher override: Set
gitlab_rails['nginx']['ssl_ciphers']in/etc/gitlab/gitlab.rb, then runsudo gitlab-ctl reconfigure. - Certificate paths: By default the web certificate and key are read from
/etc/gitlab/ssl/<hostname>.crtand/etc/gitlab/ssl/<hostname>.key, and extra CA certificates go in/etc/gitlab/trusted-certs. - Let's Encrypt: Enabled by default when
external_urluses HTTPS and no other certificates are configured. Certificates expire every 90 days, and renewal runs only within 30 days of expiry. - HTTP/2 and HSTS: HTTP/2 is on by default with HTTPS, and HSTS is on by default with a two-year
max_age, adjustable throughgitlab_rails['nginx']['hsts_max_age']. - SSH on this model: The sources listed here do not state the gitlab-sshd default algorithm lists for Linux package installs, so confirm them against your release's
gitlab-sshdsettings.
Before you answer for a Linux package install, record the GitLab version, read the ssl_ciphers value in effect on the host and confirm with GitLab which default applies to your tag.
In Helm or Kubernetes deployments, SSH access is served by gitlab-sshd, and its algorithms are set through chart values rather than gitlab.rb. The docs map the Linux package keys to Helm names: ciphers, kexAlgorithms, macs and publicKeyAlgorithms. The publicKeyAlgorithms setting was introduced in GitLab 17.2, so older charts will not accept it.
- Empty means defaults: When a setting is left empty, gitlab-sshd uses the defaults of the
golang.org/x/crypto/sshpackage. The gitlab-sshd docs describe these defaults as permissive and say they include SHA-1 algorithms. - Older releases: Before GitLab 18.3, GitLab Shell used its own hard-coded algorithm lists instead of the library defaults.
- Host keys are derived, not set: Host key algorithms cannot be configured directly. They follow the loaded host keys, and
host_keys_glob(default directory/var/opt/gitlab/gitlab-sshd) can exclude the RSA host key sossh-rsais not offered. - Hybrid key exchange:
mlkem768x25519-sha256appears only in examplekex_algorithmslists that set explicit values. The docs do not call it post-quantum or state it as a default. - Library support: Merge request !1315 replaces hard-coded lists with library defaults and adds
mlkem768x25519-sha256to the key exchange list. A related issue notes the Go server supportsmlkem768x25519only when built with Go 1.24 or later and that it must be enabled manually.
Before you answer for a chart deployment, record the chart and GitLab versions and read the effective kexAlgorithms value from the running gitlab-sshd configuration.
GitLab.com is operated by GitLab, so customers do not set its SSH or TLS algorithms. The public settings docs publish SSH host key fingerprints and known_hosts lines for ssh-ed25519, ssh-rsa and ecdsa-sha2-nistp256, and state that GitLab.com uses the default SSH key restrictions. The page says nothing about TLS, ciphers or post-quantum support.
- Host keys to verify: Compare the published fingerprints for
ssh-ed25519,ssh-rsaandecdsa-sha2-nistp256before trusting a host key. - Default key restrictions: DSA keys are forbidden by default, and RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK are allowed. Admins of a group or instance can raise minimum lengths under Visibility and access controls, but on GitLab.com the default restrictions are the published baseline.
- Preferred key types: The user SSH docs mark ED25519 as preferred and recommend at least 4096 bits if RSA is used. ED25519_SK and ECDSA_SK need OpenSSH 8.2 or later on both client and server.
- TLS and ciphers: The sources listed here do not describe GitLab.com's TLS protocols, cipher suites or certificate chain.
- Post-quantum: GitLab.com's published settings do not mention post-quantum algorithms.
For GitLab.com, confirm the current host keys and TLS posture with GitLab directly, and record the answer as a vendor statement with its date.
FIPS deployments use GitLab's FIPS-compatible build and a restricted set of cryptographic modules, which changes which key exchanges and algorithms are available. GitLab's FIPS docs list two modules: the native Go Cryptographic Module (CMVP certificate 5247, FIPS 140-3) and the OpenSSL FIPS Provider (certificate #4746). The ML-KEM768/X25519 hybrid key exchange is approved only on the native Go module and is excluded on the golang-fips build.
- Module choice: The native Go module and the OpenSSL FIPS Provider are different paths, so record which one your build uses.
- Excluded algorithms: In FIPS mode, GitLab Shell merge request !1315 drops
curve25519-sha256,ecdh-sha2-nistp521, the cipherchacha20-poly1305@openssh.comand the MAChmac-sha1by default. - DSA is unsupported: DSA keys are not supported in FIPS mode.
- Supported operating systems: Omnibus FIPS packages cover RHEL 8 and 9 and compatible distributions, Amazon Linux 2 and 2023, and Ubuntu 20.04. On RHEL, enable FIPS with
fips-mode-setup --enableand restart. - Certification status: GitLab's Cryptography Standard states that as of April 2026, none of the existing quantum-safe cryptographic modules are FIPS certified, and that ML-KEM, ML-DSA and SLH-DSA can be used in a FIPS environment only with a FIPS-certified module.
Before you answer for a FIPS deployment, confirm the module, the operating system and the exact key exchanges offered, since the excluded set differs from the default.
What GitLab's Cryptography Standard says about post-quantum algorithms
GitLab's Cryptography Standard sets out what the company says it will do with post-quantum cryptography, and the statements matter most for the decisions that follow from them. The standard says that as of April 2026 none of the existing quantum-safe cryptographic modules are FIPS certified. It also says GitLab will begin testing ML-KEM, ML-DSA and SLH-DSA once quantum-supporting versions of the OpenSSL module and the Linux kernel are available. These are statements of intent and dependency, not a commitment to ship, a certification, or a support date. Attribute each point to the standard when you record it.
For parameters, the standard names ML-KEM-1024 and ML-DSA-87 as the ones GitLab will support, and says GitLab will strongly prefer pure post-quantum algorithms over hybrid modes. It also says ML-KEM, ML-DSA and SLH-DSA can only be used in a FIPS environment with a FIPS-certified module. Teams running GitLab under FIPS requirements should treat that last condition as a gating item: confirm with GitLab which module and version would satisfy it before planning any change. Note that the standard's preference for pure algorithms does not match the hybrid key exchange that already appears in GitLab's SSH settings, so do not assume hybrid configurations will carry forward.
On timing, the standard states there is currently no specific timeline for post-quantum cryptography within GitLab's offerings. It says full post-quantum cryptography may occur before 2030, and that an official roadmap will be developed once post-quantum-enabled Linux images become available. Ask GitLab for the roadmap in writing and record the date of the answer, because the standard itself defers the schedule. Any plan that depends on a GitLab release date should be marked as unconfirmed until the roadmap is published.
What to check first in a GitLab public-key inventory
This sequence turns GitLab's public-key settings into a dated record your team can check. It starts with SSH key policy and gitlab-sshd algorithms, moves to TLS and runner trust, and ends with signing keys and runner tokens. Each step names the setting or file to read and the entry to record.
Export allowed SSH key types and minimum lengths
An administrator signs in to the GitLab UI, opens Admin, then Settings, then General, then Visibility and access controls, and reads the SSH key restrictions section. Record which of DSA, RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK are allowed, and the minimum length set for each type. The GitLab SSH key restrictions page says DSA is forbidden by default and the other five types are allowed by default. Your record is a dated table of allowed types and minimum lengths, with a note that any type not listed is at its default setting. Confirm the values against your own instance, since defaults can be changed by administrators.
Record gitlab-sshd algorithm settings and version
On a Linux package install, read gitlab_sshd['ciphers'], ['kex_algorithms'], ['macs'] and ['public_key_algorithms'] from the server configuration, or the Helm values ciphers, kexAlgorithms, macs and publicKeyAlgorithms on a chart install. Note the GitLab version, because public_key_algorithms was introduced in GitLab 17.2. Where a setting is empty, record that gitlab-sshd uses the defaults of the golang.org/x/crypto/ssh package, which the GitLab docs describe as permissive and including SHA-1 algorithms. Also record the Git tag that matches your GitLab version, as the GitLab SSL docs direct. Confirm the defaults against the release you run, since GitLab Shell changed its algorithm handling in merge request !1315.
Record TLS certificate source and NGINX overrides
On a Linux package install, check whether the certificate comes from Let's Encrypt, which is on by default when external_url uses HTTPS and no other certificates are set, or from files at /etc/gitlab/ssl/<hostname>.crt and .key, or from custom paths set in gitlab_rails['nginx']['ssl_certificate'] and ['ssl_certificate_key']. Read /etc/gitlab/gitlab.rb for gitlab_rails['nginx']['ssl_protocols'] and ['ssl_ciphers']. If neither is set, the GitLab SSL docs do not list the defaults on that page, so record the defaults from the Git tag matching your version. Note any ssl_verify_client setting, and any hsts_max_age value. Your record is the certificate source, the file paths, and the NGINX protocol and cipher values in effect.
List signing key types for commits and tags
Ask a sample of maintainers and release engineers which keys they use to sign commits and tags, and export the key list from each user's GPG keys, SSH signing keys and X.509 certificates in their profile settings. GitLab accepts SSH signing keys of type ED25519, ED25519_SK, RSA, ECDSA or ECDSA_SK, and the usage type must be Authentication & Signing or Signing. For GPG, the docs name RSA as the default and recommend 4096-bit keys. Record the key type, length and usage type for each key, with the owner's role. Your record is a list of signing key types in use, which the page does not restrict by algorithm for GPG.
List runner tls-ca-file paths and token expiry
On each runner host, open config.toml and record the tls-ca-file path for every runner. If none is set, note whether a predefined file in /etc/gitlab-runner/certs/ or the system certificate store is used instead. The GitLab Runner TLS docs say runners accept PEM only and do not support DER, so check each file's format. Then, in the GitLab UI or through the API, check each runner's authentication token expiration setting, and list any runner that has no expiration or an unexpected one. Your record covers each runner's CA file path, its format, and its token expiry status, so you can confirm which trust anchors and tokens are in use.
What GitLab has not published on post-quantum signatures and key exchange
Has GitLab published ML-DSA or SLH-DSA support for SSH keys, commit signing, runners or TLS certificates?
No. The sources checked on 2026-12-04 do not show ML-DSA or SLH-DSA support for SSH key types, commit and tag signing, runner authentication or TLS certificates. The user SSH docs, the SSH key restriction page, the signed commits pages and the Cryptography Standard list only classical key types: DSA, RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK for SSH, and SSH, GPG and X.509 for signing. Treat this as absent from published material, not as a confirmed roadmap. Ask GitLab in writing whether any ML-DSA or SLH-DSA key type is planned for each function, which release would carry it, and whether it will need a FIPS-certified module. Record the answer with the date and the document checked. Your own SSH, signing and certificate inventory will show which of these functions your instance actually exposes.
Does GitLab's Cryptography Standard give a specific post-quantum timeline?
No. The Cryptography Standard states that there is currently no specific timeline for post-quantum cryptography within GitLab's offerings. It says full PQC may occur before 2030 and that an official roadmap will be written once PQC-enabled Linux images are available. The same document says GitLab will begin testing ML-KEM, ML-DSA and SLH-DSA once quantum-supporting versions of the OpenSSL module and Linux kernel exist, and that as of April 2026 none of the existing quantum-safe modules are FIPS certified. So the dependency is on upstream OpenSSL and kernel work, not on a GitLab date. Ask GitLab for the trigger it will use to publish a roadmap, the estimated release window once that trigger is met, and whether it will notify customers before changes to defaults. A planning date you set yourself should be tied to these written conditions, not to the 2030 phrase.
Does gitlab-sshd offer a post-quantum key exchange by default?
The sources do not show one. The gitlab-sshd docs list mlkem768x25519-sha256 only in example kex_algorithms lists where the value is set explicitly. The page does not call it post-quantum and does not state it as a default. When kex_algorithms is left empty, gitlab-sshd uses the defaults of the golang.org/x/crypto/ssh package, which the page calls permissive and says include SHA-1 algorithms. Before GitLab 18.3, GitLab Shell used its own hard-coded lists. GitLab Shell merge request 1315 (opened August 13, 2025) replaces those lists with x/crypto/ssh defaults, and its ssh-audit comparison shows mlkem768x25519-sha256 added and diffie-hellman-group14-sha1 removed. The merge request does not give the release or merge date. To check your own instance, run ssh-audit against the gitlab-sshd port and compare the negotiated key exchange with what your clients offer. Then ask GitLab which release first ships the merge and whether a fresh install uses it without manual settings.
Is there a recorded resolution for GitLab issue 568265 on OpenSSH 10.1 warnings?
No resolution is recorded on the issue page. Issue 568265 says that GitLab uses the Go x/crypto/ssh server, which supports mlkem768x25519 only when built with Go 1.24 or later, and that the algorithm must be enabled manually. It asks GitLab to consider enabling it by default. The issue as read on 2026-12-04 shows no decision, no assigned release and no closing comment. Until that changes, administrators who see OpenSSH 10.1 warnings about the key exchange must enable mlkem768x25519 themselves through gitlab_sshd['kex_algorithms'] (Helm: kexAlgorithms), after confirming the build uses Go 1.24 or later. Check the Go version of your gitlab-sshd build and test the change against your clients before rolling it out. Ask GitLab whether the issue is scheduled, and whether a default change would be listed in release notes.
Which TLS protocol and cipher defaults does GitLab use on Linux package installs?
The GitLab Linux package SSL docs do not list the NGINX TLS protocol and cipher defaults on the page itself. They point to the ssl_protocols and ssl_ciphers keys in nginx_helper.rb and tell you to pick the Git tag that matches your GitLab version. The same docs say some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults GitLab uses from GitLab 17.7. To see the defaults for your release, open nginx_helper.rb at the tag for your installed version. To override them, set gitlab_rails['nginx']['ssl_ciphers'] in /etc/gitlab/gitlab.rb and run sudo gitlab-ctl reconfigure. The docs also enable HTTP/2 and HSTS (two-year max_age by default, changeable through gitlab_rails['nginx']['hsts_max_age']). Ask GitLab in writing for the defaults of each supported release and whether any post-quantum key exchange is part of them, since the docs do not say.
Does GitLab state its signing and certificate key support for post-quantum algorithms?
The signing and certificate pages describe classical algorithms only, and the sources do not describe any post-quantum option. GitLab supports signing of commits and tags with SSH keys, GPG keys and X.509 certificates. SSH signing keys can be ED25519, ED25519_SK, RSA, ECDSA or ECDSA_SK, with usage type Authentication & Signing or Signing. The GPG docs name RSA as the default option and recommend 4096-bit keys, and they list no restricted GPG algorithms. Runners trust server certificates through tls-ca-file in config.toml or a predefined file in /etc/gitlab-runner/certs, accept PEM only and do not support DER. Each runner uses a runner authentication token, which admins can set to expire and which gitlab-runner reset-token can replace. For each of these, ask GitLab whether the signing or certificate path will accept ML-DSA or SLH-DSA, what it would require from your PKI and CA, and whether a hybrid option is planned. Your own signing key inventory is the input for that conversation.
What should you ask GitLab before you rely on its SSH or TLS defaults for post-quantum planning?
Ask four written questions and record each answer with the date and version. First, which key exchange, host key and signature algorithms gitlab-sshd negotiates by default on each supported release, given that the docs describe the defaults as permissive. Second, whether the TLS settings in nginx_helper.rb at your version include any post-quantum key exchange, and whether your Linux image's OpenSSL build supports it. Third, which FIPS build you run, because FIPS mode changes the allowed set: the FIPS docs say FIPS mode drops curve25519-sha256, ecdh-sha2-nistp521, chacha20-poly1305 and hmac-sha1 by default, and that the ML-KEM768/X25519 hybrid is approved only on the native Go module and excluded on golang-fips. Fourth, what GitLab will publish and when. Your own test of the live endpoints, with ssh-audit and an TLS scanner run against your gitlab-sshd and NGINX ports, gives evidence that does not depend on the vendor's wording.
Who does the work if your GitLab instance needs post-quantum changes?
Your team, GitLab, or a partner you contract, each owns a different part. GitLab owns the product defaults, the timing of any post-quantum support and the release notes. Your operations team owns the configuration on your own instance, which includes gitlab.rb settings, gitlab-sshd keys and reconfigure runs, and the Helm values on Kubernetes installs. Your security team owns the test evidence and the decision to accept an algorithm, including FIPS-mode constraints. Your runner and client teams own the Git and OpenSSH versions on developer machines and build agents, because a server can only negotiate what the client offers. Costs in this area come from staff time for inventory and testing, from any downtime window for reconfigure runs, and from upgrades to OpenSSH, Go or the operating system when the current versions are too old. These costs recur with each GitLab release. Ask any partner for a written scope that names which of these tasks it covers and what evidence it hands over.
What can go wrong when auditing GitLab's public-key settings
The most common audit error with GitLab's SSH settings is assuming that an empty value means a safe value. For the gitlab-sshd component, the docs state that when gitlab_sshd['ciphers'], ['kex_algorithms'], ['macs'] or ['public_key_algorithms'] is left empty, gitlab-sshd uses the defaults of the golang.org/x/crypto/ssh package, which the page describes as permissive and as including SHA-1 algorithms. Before GitLab 18.3, GitLab Shell used its own hard-coded lists instead. Merge request !1315 in GitLab Shell replaces those lists with the x/crypto/ssh defaults, and its ssh-audit comparison shows diffie-hellman-group14-sha1 removed and mlkem768x25519-sha256 added. Confirm the GitLab version on each instance, and record the effective algorithm lists rather than the configured ones.
Host keys need a separate check. The docs say gitlab-sshd host key algorithms cannot be configured directly and are derived from the loaded host keys, so the RSA host key can keep ssh-rsa offered unless host_keys_glob excludes it. The default directory for host_keys_glob is /var/opt/gitlab/gitlab-sshd. Verify the offered host key types from a client, for example with ssh-audit, rather than relying on the settings file. The mlkem768x25519-sha256 value appears only in example kex_algorithms lists in the docs, which do not call it post-quantum or state it as a default, so do not record it as enabled without testing.
Key type and client version issues also affect the audit. ED25519_SK and ECDSA_SK keys need OpenSSH 8.2 or later on both client and server, so a user with an older client will fail to authenticate with those key types, and the failure will look like a server problem. On the TLS side, the Linux package SSL docs say some older TLS protocols and cipher suites may be incompatible with the OpenSSL 3 defaults that GitLab uses from GitLab 17.7, so a protocol that worked before an upgrade may now be refused. Confirm these points against your own clients and the Git tag that matches your GitLab version.
Where GitLab public keys sit in access, signing and runner paths
This diagram follows four paths that rely on public keys in a self-managed GitLab deployment. A developer's SSH session reaches gitlab-sshd, governed by the key types allowed under SSH key restrictions and the algorithms set in gitlab_sshd['public_key_algorithms'] and kex settings. An HTTPS request passes through the NGINX layer, which presents the certificate at /etc/gitlab/ssl or a Let's Encrypt certificate. A signed commit is verified against the user's SSH, GPG or X.509 key. A runner connects with its authentication token and trusts the server through tls-ca-file. Check the key types, the cipher and kex settings, and the certificate source on each edge.
Public-key dependencies across SSH, HTTPS, commit signing and runner connections.
Questions engineers and vendor-risk reviewers ask about GitLab's public-key dependencies
Is GitLab quantum safe?
The sources do not support calling GitLab quantum safe. GitLab's Cryptography Standard says 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. It also states there is currently no specific timeline for post-quantum cryptography within GitLab's offerings. What you can verify is the classical key types each function uses today, which are listed in the sections that follow, and whether GitLab has shipped any post-quantum option for the function you care about. Confirm the current position with GitLab directly before recording an answer.
Which GitLab version or setting should I check first?
Start with the SSH algorithm settings on your gitlab-sshd deployment, since that is where GitLab documents explicit control over key exchange and public key algorithms. On Linux package installs, check the NGINX TLS settings in /etc/gitlab/gitlab.rb, and note the OpenSSL 3 default change that starts in GitLab 17.7, which may affect older TLS protocols and cipher suites. Also check which SSH key types your instance allows under Admin > Settings > General > Visibility and access controls. The gitlab-sshd public_key_algorithms setting was introduced in GitLab 17.2, so an instance older than that cannot set it. Pick the Git tag that matches your GitLab version when reading the NGINX defaults, because the docs do not list them on the page.
Do the stronger SSH options cost extra?
The GitLab docs we reviewed do not state a price for any SSH option, and they do not describe a paid tier that unlocks stronger key exchange. The cost you can plan for is operational: confirming that your OpenSSH clients and server are version 8.2 or later if you use ED25519_SK or ECDSA_SK keys, and reviewing the gitlab-sshd algorithm lists after upgrades, since the defaults changed in recent releases. If you run FIPS mode, the docs say that mode drops some key exchanges and ciphers by default, which changes which options are available. Ask GitLab in writing whether any of these settings require a particular license tier or support plan for your deployment.
What breaks if I restrict key types?
Restricting key types affects users and automation that present keys GitLab no longer accepts. By default, GitLab forbids DSA keys and allows RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK, and admins can raise the minimum length per type. Users with existing keys below a new minimum, and any runner or script that authenticates with those keys, will fail until they rotate. In FIPS mode, DSA keys are not supported at all. Before tightening, list the keys in use across your user accounts and service integrations, and test a restricted policy in a staging instance. The sources do not say how GitLab handles already-registered keys that fall outside a new restriction, so confirm that behavior with GitLab.
What should I ask GitLab about its public-key roadmap?
Ask GitLab for a dated, written position on each function that uses public-key cryptography in your deployment, not a general assurance. Useful questions are: whether ML-KEM, ML-DSA or SLH-DSA is supported for SSH, TLS, Git commit signing, runner authentication or certificates, and in which release; whether any post-quantum option will be FIPS certified and on which module version; which algorithm parameters GitLab plans to support, since its standard names ML-KEM-1024 and ML-DSA-87 and prefers pure algorithms over hybrids; and whether a roadmap with dates will be published and when. Ask how a self-managed customer is notified of changes and what the upgrade path looks like. Record each answer with the date it was given.
Can my team do the inventory ourselves or do we need outside help?
Your team can start the inventory itself, because the work is largely reading configuration and recording what you find. Collect the gitlab.rb settings for NGINX, the gitlab-sshd algorithm and host key settings, the allowed SSH key types, the certificates in /etc/gitlab/ssl and trusted-certs, runner tls-ca-file settings, and the signing key types your projects use. Outside help becomes useful when you need the findings checked against your own topology, when you must produce evidence for an assessment, or when you have to test a restricted configuration without disrupting users. DeployOpen can plan and run this as a fixed-scope engagement, with scope and deliverables agreed in writing before work starts. A quote follows from that written scope.
Does GitLab's signing support use post-quantum signatures?
The sources we reviewed show no post-quantum signature support for GitLab's signing features. Commit and tag signing accept SSH keys (ED25519, ED25519_SK, RSA, ECDSA, ECDSA_SK), GPG keys, and X.509 certificates, and the GPG docs name RSA as the default with a recommended 4096-bit length. The signed commits pages list only these classical key types. If your release process depends on signature verification, record which key types each project uses today and ask GitLab whether ML-DSA or SLH-DSA is planned for Git signing, with a release and a date.
How DeployOpen works on this
DeployOpen treats the question of which GitLab functions depend on RSA and elliptic-curve keys as an inventory problem first. We map each dependency in your self-managed instance, runners and signing workflows against the settings the documentation names, then build and test changes in your own environment before anything reaches production. Each step ends in written evidence your security and compliance teams can review.
How we scope
- Written scope fixes which GitLab instances, runners, SSH paths and signing workflows are included before work starts.
- We list the key types in use: DSA, RSA, ECDSA, ED25519, ECDSA_SK and ED25519_SK, and check them against your SSH key restrictions.
- Scope also records which GitLab release and Linux distribution each instance runs, since NGINX and SSH defaults depend on the version.
How we build
- We review gitlab-sshd settings for ciphers, kex_algorithms, macs and public_key_algorithms, and note where empty values fall back to library defaults.
- We review NGINX TLS settings, including ssl_ciphers and ssl_protocols, and test changes with sudo gitlab-ctl reconfigure in a non-production environment first.
- We check GPG and SSH signing key types for commits and tags, and confirm runner TLS trust through tls-ca-file, testing each change before rollout.
How we hand over
- Deliverables include a dependency inventory listing each function, the configuration key that controls it and its current value.
- We document each change with the exact setting, the GitLab version it applies to and the test results from your environment.
- Handover notes flag any item the GitLab documentation does not cover, such as post-quantum support, so you can confirm it with GitLab directly.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing upgrades and re-checks after each GitLab release are available as a retainer, since defaults in this area change between versions.
- We can re-run the inventory when your GitLab version, runner images or signing policy changes, and update the evidence accordingly.

