Does Gitea's SSH and HTTPS access already allow post-quantum key exchange?
If you self-host Gitea, the answer depends on how you run it. The built-in SSH server can negotiate the hybrid mlkem768x25519-sha256 key exchange when you leave the SSH_SERVER_KEY_EXCHANGES setting empty on Gitea 1.25 or later. A contributor stated in Gitea issue 35653 that on the rootless image this empty setting enables all recommended algorithms, and that any manually set key exchange list must be removed to get that behavior. The rootful Docker image takes a different route: it uses the OpenSSH server from its Alpine base, and the issue was closed on 2026-08-03 because that base ships OpenSSH 10.3. Confirm which image you run, and check the SSH server version inside it, before you assume either path applies to you.
HTTPS works differently. When SSL_CURVE_PREFERENCES is unset, Gitea uses Go's default curve handling, and Go 1.24 added X25519MLKEM768 to crypto/tls and enables it by default when no curve preferences are set. The tlsmlkem=0 GODEBUG setting reverts that default. Gitea's v28.0.0 release notes include a change to use Go's TLS defaults, but the sources do not say whether any release has set these defaults deliberately for post-quantum use. The latest release is v28.4.0, published 2026-11-15, and its go.mod declares Go 1.27. Confirm the Go toolchain your build uses and whether GODEBUG is set in your environment.
The Gitea config cheat sheet, checked 2026-12-04, still lists the default SSH key exchanges without any mlkem entry, so the documentation does not describe the post-quantum behavior. Treat the documented defaults as incomplete rather than as a statement of what your server negotiates. To establish the actual behavior, test your deployment with an SSH client that reports its negotiated key exchange, and capture a TLS handshake against your HTTPS endpoint. Record the Gitea version, the image or binary, and the Go or OpenSSH version alongside the result, so the evidence can be reviewed later.
Which Gitea versions, SSH modes and TLS settings apply to post-quantum key exchange
This table lists each Gitea component that negotiates keys, the version or tag it applies to, the source and date of the fact, and whether that row shows post-quantum key exchange, classical only, or unconfirmed. Read each row against your own deployment: the built-in SSH server, the rootful image with OpenSSH, HTTPS through Go's crypto/tls, and the settings the configuration cheat sheet still lists. The main takeaway is that post-quantum key exchange is confirmed for the built-in SSH server on Gitea 1.25 with an empty key exchange setting, while the cheat sheet defaults do not yet show it.
| Component | Version or tag | Source and date | Post-quantum key exchange |
|---|---|---|---|
| Built-in SSH server, rootless image | Gitea 1.25 onward, with SSH_SERVER_KEY_EXCHANGES left empty | Gitea issue 35653, contributor statement dated 2025-10-15 | Post-quantum (mlkem768x25519-sha256 via the x/crypto default list, per the same issue and PR 34667) |
| Built-in SSH server, cheat sheet defaults | Gitea config cheat sheet, checked 2026-12-04 | Gitea config cheat sheet, checked 2026-12-04 | Unconfirmed: the listed defaults contain no mlkem entry |
| Rootful Docker image with OpenSSH | Alpine release shipping OpenSSH 10.3, per Gitea issue 35653 | Gitea issue 35653, closed 2026-08-03 | Unconfirmed: the sources do not say which OpenSSH key exchange methods are enabled by default |
| HTTPS via Go crypto/tls, Go 1.24 or later | Gitea release v28.4.0, Go toolchain go1.27.4 | Go 1.24 release notes; Gitea go.mod v28.4.0, dated 2026-11-15 release | Post-quantum when the Config.CurvePreferences default is in effect (X25519MLKEM768 on by default in Go 1.24) |
| HTTPS settings SSL_CURVE_PREFERENCES and SSL_CIPHER_SUITES | Unset (empty) by default in the config cheat sheet | Gitea config cheat sheet, checked 2026-12-04 | Unconfirmed: an unset value uses Go's default, but the sources do not say which curves a given build negotiates |
| Gitea v28.0.0 TLS change | v28.0.0, entry Enhance(tls): use go's tls defaults | Gitea releases page | Post-quantum only if the Go runtime in use is 1.24 or later |
| Commit signing (SSH format) | SIGNING_FORMAT ssh, algorithm ed25519 | Gitea signing documentation, checked 2026-12-04 | Classical only: ed25519 is the only SSH signing algorithm named |
| OpenPGP signing and feature request | ProtonMail/go-crypto v1.5.2 in main-branch go.mod; issue 35502 opened 2025-09-16 | Gitea issue 35502; Gitea go.mod main | Classical only: the library does not support ML-KEM according to the open request |
Which parts of Gitea touch SSH and HTTPS key exchange
Gitea's SSH and HTTPS key exchange is shaped by several separate components: the built-in SSH server, the system OpenSSH server, the [server] TLS settings, automatic certificates, the Go runtime, and the host keys the built-in server creates. Each one answers a different part of the key exchange question, so check them one at a time.
Built-in SSH server key exchange settings
The built-in SSH server reads SSH_SERVER_KEY_EXCHANGES, SSH_SERVER_CIPHERS and SSH_SERVER_MACS under [server]. The configuration documentation lists SSH_SERVER_KEY_EXCHANGES defaults that do not include any ML-KEM entry, as checked on 2026-12-04. Gitea's source leaves these values nil when unset, which means the algorithm list comes from the x/crypto library. Confirm the effective list on your running instance rather than relying on the documented defaults. The sources do not say which Gitea release first exposes the library default in a running instance.
Config cheat sheetSystem OpenSSH server behavior
When the system OpenSSH server is used, the documentation says the SSH_SERVER_* settings have no effect, so key exchange is set by the OpenSSH build in the container or host. Issue #35653 was closed on 2026-08-03 because the rootful Docker image uses an Alpine base that ships OpenSSH 10.3. Check the OpenSSH version and its KexAlgorithms setting in your own image. The sources do not state which OpenSSH releases negotiate ML-KEM by default.
TLS settings for HTTPS
PROTOCOL=https serves TLS from CERT_FILE and KEY_FILE. SSL_MIN_VERSION, SSL_MAX_VERSION, SSL_CURVE_PREFERENCES and SSL_CIPHER_SUITES default to empty, and the documentation says an unset value uses Go's defaults. The v28.0.0 release notes record a change to use Go's TLS defaults. The sources do not say whether the default curve list includes the hybrid X25519MLKEM768 group in a given Gitea release, so confirm it with a TLS handshake test against your build.
Gitea releasesAutomatic certificates with ENABLE_ACME
ENABLE_ACME is false by default. When enabled, Gitea obtains certificates from an ACME CA, using the Let's Encrypt production CA if ACME_URL is empty, and CERT_FILE and KEY_FILE are ignored. This setting controls certificate issuance, not the key exchange itself. The sources do not say how a certificate's key type relates to the key exchange negotiated with clients. Check which key type the ACME flow issues in your deployment.
Config cheat sheetGo runtime tlsmlkem setting
Go 1.24 added X25519MLKEM768 to crypto/tls and enables it by default when CurvePreferences is nil. The GODEBUG setting tlsmlkem=0 reverts that default. Gitea's go.mod at v28.4.0 declares go 1.27 with toolchain go1.27.4, so the runtime in a release build is Go 1.27. Check the GODEBUG environment in your deployment, because a value of tlsmlkem=0 turns the hybrid group off. The sources do not show how Gitea's own build sets this value.
Go 1.24 release notesHost key types generated by the built-in server
If no SSH host key files exist, the built-in server generates RSA, ECDSA and ED25519 host keys named gitea.rsa, gitea.ecdsa and gitea.ed25519. The documented defaults are a 4096-bit RSA key, a 256-bit ECDSA key and an ED25519 key. Host keys authenticate the server and are separate from key exchange, so their type does not change the key exchange algorithm. The sources do not say whether any generated host key type is quantum-resistant. Confirm the host key types your instance presents.
How the answer changes by deployment model and Gitea version line
The rootless image runs Gitea with its built-in Go SSH server rather than the system OpenSSH server. The sources tie the key exchange behavior to Gitea 1.25 and later, and to the Go toolchain Gitea compiles against. Pull request #34667, merged 2025-06-09 into milestone 1.25.0, switched the built-in server to Go's x/crypto defaults. In that default list, mlkem768x25519-sha256 is the first entry and requires Go 1.24 or later.
- Key exchange default: On Gitea 1.25 with the built-in server, leave
SSH_SERVER_KEY_EXCHANGESempty so the default list applies. Issue #35653 reports a contributor's statement from 2025-10-15 that an empty value enables all recommended algorithms. - Overrides to remove: Any manually set
SSH_SERVER_KEY_EXCHANGESmust be deleted, because the same issue says it replaces the defaults. - Documentation mismatch: The config cheat sheet, checked 2026-12-04, still lists key exchange defaults with no
mlkementry. The Gitea source leaves that setting nil when unset, so the documentation does not show the active list. - Ciphers and MACs:
SSH_SERVER_CIPHERSandSSH_SERVER_MACSare also nil when unset in the source. Confirm the effective values in your own build. - Host keys: If no host key files exist, Gitea generates RSA, ECDSA and ED25519 keys.
Confirm the running version and the exact key exchange list your server advertises before recording an answer for this tab.
The rootful Docker image runs the system OpenSSH server inside an Alpine base, so the SSH_SERVER_* settings in Gitea's configuration have no effect on SSH negotiation. Issue #35653 was closed as completed on 2026-08-03 because this image is based on an Alpine release that ships OpenSSH 10.3. The sources tie SSH key exchange in this image to that OpenSSH version rather than to Gitea's own defaults.
- Server authority: The cheat sheet states that the
SSH_SERVER_*settings do nothing when the system OpenSSH server is used, so do not tune them for this image. - Image tag: Record the exact image tag and confirm it ships the OpenSSH version named in the issue.
- Gitea version: Record the Gitea release in the image. The latest stable release on GitHub at 2026-12-04 is v28.4.0, published 2026-11-15.
- Key exchange in OpenSSH: The sources do not list which post-quantum key exchange methods OpenSSH 10.3 offers or enables by default. Confirm them with
sshd -Tor the OpenSSH documentation inside the running container. - Client side: Confirm the SSH clients your developers and runners use also support the same key exchange.
The sources stop at the Alpine and OpenSSH version named in the issue. Verify the negotiated algorithms in your own environment.
A binary built from source takes its crypto behavior from the Go toolchain and the golang.org/x/crypto version used at compile time. The sources tie the post-quantum key exchange to Go 1.24 and later, because crypto/tls enables X25519MLKEM768 by default and x/crypto's ssh defaults require Go 1.24 or later. The v28.4.0 release declares go 1.27 with toolchain go1.27.4 and golang.org/x/crypto v0.58.0.
- Toolchain check: Record the Go version used to build the binary. A build with Go older than 1.24 does not include the mlkem768x25519-sha256 default.
- TLS default reversion: Setting the GODEBUG value
tlsmlkem=0reverts the crypto/tls default, so check the runtime environment for that value. - TLS settings:
SSL_CURVE_PREFERENCESandSSL_CIPHER_SUITESdefault to empty, and the documentation says an unset value uses Go's default. Confirm they are unset. - Dependencies: Compare
golang.org/x/cryptoin your build'sgo.modwith the version in the release. - Built-in SSH: The same key exchange rules as the rootless image apply to a self-built binary on Gitea 1.25 and later.
The sources do not say which Go version a given Gitea release is built with for other platforms. Confirm the toolchain in your own build pipeline.
Gitea builds older than 1.25 predate the change in pull request #34667 that moved the built-in SSH server to Go's x/crypto defaults. The sources do not say how those older builds negotiate key exchange, so no post-quantum key exchange should be assumed for them. The change that introduced the default list landed in the 1.25.0 milestone.
- Version line: Record the exact Gitea version. The sources tie the default key exchange behavior to the 1.25.0 milestone and later.
- Explicit settings: If the older build's configuration sets
SSH_SERVER_KEY_EXCHANGESexplicitly, that list governs the handshake. Check the file and the running process. - Upgrade path: The sources do not list the upgrade steps or compatibility notes for moving from an older line to 1.25 or later. Confirm them in the release notes for each version you pass through.
- Signing: Commit signing under
[repository.signing]uses OpenPGP by default and checks signatures against keys in the database orTRUSTED_SSH_KEYS. The sources do not say whether older builds differ here. - Post-quantum signing: Issue #35502 reports that the OpenPGP library does not support ML-KEM, and it was still open with no maintainer reply when checked.
The sources do not cover the key exchange behavior of Gitea builds older than 1.25. Confirm it by testing the running server.
How a client's SSH or HTTPS connection reaches the key exchange choice
The diagram starts at the client connecting to Gitea and first branches on the SSH server: the built-in Go server, or the system OpenSSH server in the rootful Docker image. On the built-in path, leaving SSH_SERVER_KEY_EXCHANGES unset lets the Go default offer mlkem768x25519-sha256 when available. On the HTTPS path, PROTOCOL=https serves TLS through Go's crypto/tls, where an unset SSL_CURVE_PREFERENCES uses Go's default key exchange. Check which server and which settings are actually in effect, because the cheat sheet settings are ignored on the OpenSSH path.
Branches by SSH server choice and by whether SSL_CURVE_PREFERENCES is set.
What an administrator should check, in order
Running these checks in sequence tells you which Gitea and Go versions you have, whether a manual key exchange setting is holding back post-quantum key exchange, which SSH server actually answers, what the HTTPS listener negotiates, and what a real client connection gets. Each step closes with an observable result you can record.
Record the Gitea and Go versions in use
Confirm the Gitea version running in your deployment, from the admin dashboard or the image tag you pulled, and the Go toolchain it was built with. The latest stable release listed on the project's GitHub releases page at the time of this check was v28.4.0, which declares go 1.27 in its go.mod. Post-quantum key exchange in the built-in Go SSH server depends on the x/crypto and Go versions compiled into the binary, so you need the exact build, not just the release name. Write both versions into your inventory before changing anything. This step is done when you have a recorded Gitea version and Go toolchain for each running instance.
Check for a manually set SSH_SERVER_KEY_EXCHANGES
Inspect the [server] section of app.ini, and the environment variables passed to the container, for SSH_SERVER_KEY_EXCHANGES. A Gitea contributor noted in issue 35653 that on the rootless image with the built-in Go SSH server, leaving this option empty enables all recommended algorithms, and that a manually set value must be removed. If the key is present, remove it, restart Gitea, and record the change. Note that the configuration cheat sheet still lists defaults without an mlkem entry, so an empty setting is not a sign the documentation is current. This step is done when the key is absent from every configuration source you control and the change is written into your change log.
Confirm which SSH server runs in the deployed image
Determine whether the deployment uses Gitea's built-in Go SSH server or the system OpenSSH server. The configuration documentation says the SSH_SERVER_* settings have no effect when the system OpenSSH server is used, so the key exchange behavior you check next depends on this choice. For the rootful Docker image, the project noted that it uses OpenSSH, based on an Alpine release that ships OpenSSH 10.3; confirm this against the tag you actually run, for example by checking the sshd version inside the container. This step is done when you have written down which SSH server handles port 22 for each instance.
Check Go tlsmlkem and SSL_CURVE_PREFERENCES for HTTPS
For HTTPS, check two things. First, confirm the Go toolchain does not disable the hybrid key exchange by default: Go 1.24 enabled X25519MLKEM768 in crypto/tls when CurvePreferences is nil, and the GODEBUG setting tlsmlkem=0 reverts that default, so verify that GODEBUG does not contain tlsmlkem=0 in the environment or container. Second, inspect SSL_CURVE_PREFERENCES in the [server] section. The documentation says unset values use Go's defaults, so if the setting is present, record its value and decide with your security team whether it should be removed. This step is done when you have recorded the GODEBUG value and the SSL_CURVE_PREFERENCES state for each HTTPS listener.
Test a client connection to confirm the negotiated key exchange
Verify the configuration from the outside. For SSH, connect with a client that reports its negotiated key exchange algorithm, for example by running ssh with verbose logging and reading the line that names the key exchange. For HTTPS, connect with a TLS client that reports the negotiated group, and check whether the handshake uses a hybrid group such as X25519MLKEM768. Run the test from a client whose own software supports post-quantum key exchange, because a client that does not offer it cannot negotiate it, whatever the server supports. Record the server version, the client version, and the negotiated algorithm for each test. This step is done when the recorded negotiation matches what you expect, or when a mismatch has been traced to a specific setting or client version.
What the sources do not show and what to ask Gitea or your vendor
The Gitea sources checked on 2026-12-04 leave several points open about post-quantum SSH and HTTPS access. Each card below names one gap, the question to put to Gitea maintainers or your vendor, and who is best placed to answer it.
No ML-KEM entry in the cheat sheet
The config cheat sheet, checked 2026-12-04, still lists SSH_SERVER_KEY_EXCHANGES defaults of curve25519-sha256, ecdh-sha2 variants and diffie-hellman-group14 entries, with no mlkem entry. The main-branch source leaves these values nil when unset, so the documented list may not reflect what the built-in server actually negotiates. Ask Gitea maintainers whether the documentation will be updated to show the effective key exchange list for each release, and confirm the negotiated algorithm on your own instance with an SSH client's verbose output.
Config cheat sheetNo maintainer statement on the default
Pull request #34667 says Go's x/crypto provides good defaults including a post-quantum key exchange, but the sources do not show a maintainer statement that this default is a deliberate post-quantum choice. The author's reasoning and the merge discussion are the nearest evidence. Ask Gitea maintainers whether the mlkem768x25519-sha256 default was chosen on purpose, and whether it will remain the default in future releases.
Pull request 34667OpenSSH version outside the rootful image
Issue #35653 was closed on 2026-08-03 because the rootful Docker image uses the OpenSSH server, which ships OpenSSH 10.3 on its Alpine base. The sources do not show which OpenSSH version a non-Docker or distribution-packaged deployment uses, or whether its default key exchange includes a post-quantum algorithm. Confirm the installed OpenSSH version with ssh -V on the host and check its KexAlgorithms output with ssh -Q kex.
HTTPS curve preferences per release
The SSL_CURVE_PREFERENCES setting defaults to empty and the documentation says an unset value uses Go's default, but the sources do not state which curves or hybrid groups each Gitea release negotiates over HTTPS. Go 1.24 enables X25519MLKEM768 by default when CurvePreferences is nil, and the v28.0.0 notes say Gitea now uses Go's TLS defaults. Ask Gitea maintainers to confirm the built-in Go version and TLS curve list for each release you run, and test the negotiated group against your own endpoint.
Go 1.24 release notesPost-quantum OpenPGP still an open request
Feature request issue #35502 asks for an option to use the system GPG binary because Gitea's OpenPGP library, ProtonMail/go-crypto, does not support post-quantum algorithms such as ML-KEM. It was still open with no maintainer reply when checked. Ask Gitea maintainers whether they plan to accept or prioritize the request, and ask your vendor which OpenPGP library and version your signing workflow depends on.
Issue 35502Signing and JWT settings in scope
The sources describe commit signing under [repository.signing] with the SSH and OpenPGP formats, and JWT signing under [oauth2] with RS256 as the default. The signing documentation and the config cheat sheet do not say whether these settings are in scope for a post-quantum review, and they mention no ML-DSA or SLH-DSA support. Ask Gitea maintainers which signing algorithms are supported in each format, and ask your security lead whether commit signing and JWT keys belong in your migration inventory.
Signing documentationWhat can silently fall back to classical key exchange
Gitea's built-in SSH server gets its key exchange list from SSH_SERVER_KEY_EXCHANGES under [server]. When that key is unset, the source leaves the list nil, which lets the Go x/crypto/ssh library use its own defaults. Those defaults list mlkem768x25519-sha256 first, but only on Go 1.24 or later. The Gitea config cheat sheet, checked 2026-12-04, still lists a fixed set of defaults that contains no mlkem entry, so the documentation and the code disagree. Confirm which behavior your release actually has before you rely on either. A manually set SSH_SERVER_KEY_EXCHANGES list replaces the library default and can remove the post-quantum option entirely. Gitea issue 35653 records a contributor advising that any manually set value be removed on Gitea 1.25 to get all recommended algorithms. That is a contributor statement, not a tested outcome, so check it in your own environment.
The Go toolchain controls the TLS side. Go 1.24 enables X25519MLKEM768 in crypto/tls by default when Config.CurvePreferences is nil, and the GODEBUG setting tlsmlkem=0 reverts that default. Setting GODEBUG=tlsmlkem=0 in the service environment therefore disables the hybrid key exchange for HTTPS, and any SSL_CURVE_PREFERENCES value that is not empty sets the curve list explicitly and may omit the hybrid group. Gitea's config cheat sheet describes SSL_CURVE_PREFERENCES as defaulting to empty, with an unset value using Go's default. Gitea v28.0.0 also includes the release note Enhance(tls): use go's tls defaults, which points toward inheriting those defaults. Check the effective value of each setting on the running instance, not only the file.
The Go toolchain version is the other lever. Gitea v28.4.0 declares go 1.27 with toolchain go1.27.4 and golang.org/x/crypto v0.58.0. A Gitea build made with an older toolchain, or a rebuilt image that pins an older Go, will not carry the same defaults. The x/crypto default list needs Go 1.24 or later, so a build on an earlier toolchain falls back to classical groups without any error. Record the Go version of each binary you deploy, and recheck it after every rebuild.
The system OpenSSH server is a separate path. The documentation says that SSH_SERVER_CIPHERS, SSH_SERVER_KEY_EXCHANGES, SSH_SERVER_MACS and SSH_SERVER_HOST_KEYS have no effect when the system OpenSSH server is used. Key exchange for those connections is set by the OpenSSH version and its sshd_config in the container or host. Gitea issue 35653 records that the rootful image, which uses OpenSSH, ships OpenSSH 10.3 on the Alpine release it is built from, and the issue was closed as completed on 2026-08-03. Confirm the OpenSSH version and its KexAlgorithms setting in your own image, because the Gitea setting will not change them.
Compatibility is the reason operators override these settings, and it is also where fallback can happen quietly. Older SSH clients, TLS clients and middleboxes such as inspection devices or load balancers may not offer or accept the hybrid group, so a team may pin a classical list to restore access. The sources listed on this page do not record tested results for any particular client or middlebox. Test each client class and each path your users cross, and record which key exchange was actually negotiated.
Questions administrators ask about Gitea post-quantum SSH and HTTPS
Is Gitea quantum safe?
The sources listed on this page do not support calling Gitea quantum safe, and no Gitea release or configuration setting is documented as providing post-quantum protection for all of its functions. What the sources do show is narrower. Gitea v28.4.0, the latest stable release as of 2026-12-04, is built with Go 1.27 and golang.org/x/crypto v0.58.0. Go 1.24 added the X25519MLKEM768 hybrid key exchange to crypto/tls by default, and x/crypto's default SSH key exchange list starts with mlkem768x25519-sha256. Whether a given Gitea deployment actually negotiates that algorithm depends on the SSH server path, the Go version and the settings you apply. Confirm the exact negotiated algorithms in your own environment before stating a result.
Which Gitea version should we run for post-quantum SSH?
Run a Gitea release built with a Go toolchain of 1.24 or later, since the post-quantum hybrid key exchange in crypto/tls and x/crypto depends on it. The sources list v28.4.0, published 2026-11-15, as the latest stable release, and its go.mod declares go 1.27 with toolchain go1.27.4 and golang.org/x/crypto v0.58.0. Pull request #34667, merged into the 1.25.0 milestone, updated x/crypto and made the built-in SSH server use default parameters. Confirm which Gitea release and Go toolchain your binary or image was built with, since the release notes do not state the key exchange algorithms per version.
Does enabling post-quantum SSH in Gitea cost extra?
The sources do not state any licensing fee for Gitea's post-quantum-capable settings. Gitea is MIT-licensed open-source software, so the software itself carries no license charge. The costs you should expect are internal and labor-related: upgrading to a current release, testing SSH and HTTPS clients, updating any manually set key exchange lists, and checking clients that do not support the hybrid algorithm. Any engagement with an outside party is priced from a written scope, and DeployOpen does not publish a price list, so request a quote built from your own inventory.
What breaks when we change Gitea's SSH key exchange settings?
Clients that cannot negotiate the algorithms you leave in place will fail to connect. In Gitea, SSH_SERVER_KEY_EXCHANGES, SSH_SERVER_CIPHERS and SSH_SERVER_MACS are used only by the built-in SSH server and have no effect when the system OpenSSH server is used. The Gitea source leaves these values nil when unset, while the config cheat sheet still lists defaults without any mlkem entry, so the documented values and the code disagree. Issue #35653 reports that a manually set SSH_SERVER_KEY_EXCHANGES must be removed on Gitea 1.25 to get the recommended algorithms. Test each change in staging with the clients you actually use, and keep a rollback copy of the previous settings.
Does post-quantum SSH affect Gitea's commit signing or JWT signing?
Changing the SSH key exchange does not change how Gitea verifies commit signatures or issues JWTs. Those are separate functions with their own settings. Commit signing is configured under [repository.signing], with SIGNING_FORMAT defaulting to openpgp, and the signing documentation names ed25519 as the only SSH signing algorithm it mentions. JWT signing is set by [oauth2] JWT_SIGNING_ALGORITHM, which defaults to RS256. Gitea's OpenPGP library, ProtonMail/go-crypto, does not support post-quantum algorithms, according to feature request issue #35502, which was still open with no maintainer reply when checked. The sources do not show any post-quantum signing or JWT algorithm in Gitea, so treat these functions as unchanged until the vendor documents otherwise.
What should we ask the Gitea project or vendor about post-quantum support?
Ask for the exact release and Go toolchain that include the hybrid SSH key exchange, and whether the built-in SSH server negotiates mlkem768x25519-sha256 by default. Ask whether the config cheat sheet will be updated to list post-quantum key exchanges, since it currently does not. Ask whether HTTPS on PROTOCOL=https uses Go's default TLS curve preferences, which include the hybrid group, and whether SSL_CURVE_PREFERENCES can be set to a post-quantum option. Ask for a timeline or statement on post-quantum signing for commits, JWT and OpenPGP, and on the open feature request #35502. Ask in writing and file the answers with the release tag, date and source link.
Can our own administrators do this, or do we need outside help?
Your own administrators can do much of it, provided they can read the Gitea configuration, run test clients and maintain a staging instance. The core tasks are upgrading the binary or image, reviewing [server] SSH and TLS settings, removing manually set key exchange lists where the release notes or issues say so, and testing SSH and HTTPS clients. Outside help is useful when you need an inventory of every client, a staging test plan, evidence for a compliance assessment, or a hardened, self-hosted deployment. DeployOpen plans, implements and tests self-hosted platforms inside the client's own infrastructure, on fixed-scope engagements agreed in writing, and it does not issue audit reports or certifications.
How DeployOpen works on this
DeployOpen plans and verifies Gitea key exchange changes inside your own infrastructure, from the Gitea version and SSH settings you run through to the clients that connect to them. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm which Gitea release, SSH mode (built-in or system OpenSSH) and HTTPS setup your instance runs
- Record the SSH_SERVER_KEY_EXCHANGES, SSH_SERVER_CIPHERS and SSH_SERVER_MACS values currently set, if any
- Agree in writing which clients, git versions and automation tools are in the written scope
How we build
- Test the key exchange algorithms your Gitea SSH server actually offers, using the version and mode you run
- Compare the built-in SSH server behavior with the system OpenSSH image you deploy, noting which settings apply to each
- Check HTTPS settings such as PROTOCOL, SSL_MIN_VERSION and certificate handling against your written scope
How we hand over
- Deliver a written record of the version, settings and client results observed during testing
- Document which values were left unset, which were set manually, and why each choice was made
- Include a list of items to confirm with the Gitea project or your own environment, marked as open
How we support
- Retest the key exchange configuration after you upgrade Gitea or change its SSH or HTTPS settings
- Ongoing support and continuous testing are available as a retainer, scoped separately in writing
- Re-check the Gitea release notes and configuration documentation when a new version is published

