Can Nextcloud be switched to post-quantum algorithms today?
As of December 4, 2026, the sources listed on this page do not document any Nextcloud setting, edition or server version that enables post-quantum key exchange or signatures. Administrators of Nextcloud Hub, including those running server version 35.0.3 on the Hub 26 Summer line, should not expect a setting in the admin hardening guide, the server-side encryption documentation or the config reference that switches on ML-KEM or ML-DSA. Security leads who must record an answer for their inventory can record that the vendor sources checked do not show post-quantum support, and that the open GitHub issue requesting it, #61484, had no assignee, milestone or linked pull request when fetched.
The settings covered on this page are classical hardening, not post-quantum enablement. They include HTTPS and HSTS in the web server, the hashing_default_password and hashingCost options for password hashing, the openssl and default_certificates_bundle_path options for TLS, and the mail_smtpsecure setting for SMTP. Server-side encryption uses RSA for key sealing and AES-256-CTR for file data, and the sources do not state an RSA key size for those keys. Confirm with Nextcloud, in the release notes for your exact server version, whether any post-quantum option has been added since the sources were checked.
Before planning changes, confirm three things in your own environment: which server version and edition you run, whether the end-to-end encryption module is in use (its RFC uses RSA-OAEP and X.509 client certificates), and whether any app you depend on is signed with the RSA-based code signing chain. Those dependencies, not any switch in the admin panel, are what a post-quantum migration would have to address, and the sources do not describe a timeline for it.
Which Nextcloud settings apply to which version, and what the sources say
This table lists each Nextcloud setting area named in the sources, the version or default it applies to, whether it is post-quantum, and the source and date. Read the post-quantum column as a record of what the sources say, since no row is marked post-quantum. The latest release listed is server 35.0.3, dated November 12, 2026, and the changelog was read December 4, 2026.
| Component | Version or default | Post-quantum | Source and date |
|---|---|---|---|
| HTTPS and HSTS | Use HTTPS in production; HSTS example uses max-age=15552000 with includeSubDomains, preload optional | No | Admin hardening guide, read December 4, 2026 |
| Password hashing | Argon2id preferred when PHP supports it; hashing_default_password defaults to false; hashingCost defaults to 10 | No | Admin hardening guide and config reference, read December 4, 2026 |
| Server-side encryption | Master key mode by default since Nextcloud 13; AES-256-CTR and RSA key generation with private_key_bits set to 4096 in master branch code | No | SSE configuration docs, SSE details docs and Crypt.php on master, read December 4, 2026 |
| End-to-end encryption | Client protocol version 2.1: RSA-OAEP with SHA-256 for metadata keys, AES-GCM with 128-bit keys, PBKDF2-HMAC-SHA256 at 600,000 iterations | No | E2EE RFC version 2.1, read December 4, 2026 |
| Code signing | App signatures use X.509 certificates with SHA-512 file hashes; example CSR uses a 4096-bit RSA key | No | Code signing docs, read December 4, 2026 |
| Talk TURN | TURN secret setting with turn: and turns: server entries; the docs do not describe TLS or media encryption setup | No | Talk TURN docs, read December 4, 2026 |
| Outbound SMTP | mail_smtpsecure defaults to an empty string; ssl enables SSL/TLS | No | Config reference, read December 4, 2026 |
| Updater | updater.server.url defaults to an HTTPS endpoint at updates.nextcloud.com | No | Config reference, read December 4, 2026 |
What to change now, in order, and how to confirm each step
This sequence brings Nextcloud's classical transport, password and mail settings to the documented baseline before any post-quantum work. Each step ends with a check you can record, so the inventory shows what was changed and what still needs the vendor's answer. Nextcloud documentation in the sources does not show a post-quantum switch, so these steps address the classical hardening that the guidance covers.
Confirm the Nextcloud server version
Start by recording the server version your instance runs, since the hardening guide and config reference describe settings per release. The changelog listed server version 35.0.3, dated November 12, 2026, as the latest release in the Hub 26 Summer line, with Nextcloud 34 mapped to Hub 26 Spring and Nextcloud 33 to Hub 26 Winter. Run the occ status command on the server and compare the output with the installed release. The step is done when the version is written in your inventory alongside the date you checked it, and you have confirmed the documentation you are reading matches that release.
Enforce HTTPS with a 301 redirect
The admin hardening guide says to always use HTTPS on production servers and to redirect HTTP to HTTPS with a 301. The web server, not Nextcloud, handles this setup, so the web server administrator makes the change in the vhost or proxy configuration. The source installation guide says plain HTTP works but is strongly discouraged, and recommends a commercial CA or Let's Encrypt certificate over a self-signed one. The step is closed when a request to the HTTP address returns a 301 to the HTTPS address, which you can confirm with curl's header output against your own hostname.
Add the HSTS header
The hardening guide's example sends the Strict-Transport-Security header with max-age=15552000 and includeSubDomains. Adding preload is described as optional, and it is a commitment you should make only after confirming every subdomain serves HTTPS. The web server administrator adds the header to the HTTPS virtual host. The step is closed when the response headers from the HTTPS site include the Strict-Transport-Security value you configured, checked with curl against the production hostname.
Set TLS versions and ciphers from the Mozilla generator
The hardening guide lists no TLS versions or cipher suites and points to the Mozilla SSL Configuration Generator, so choose the profile from that tool for your web server and OpenSSL version. The profile is applied by the web server administrator and needs to match the server software actually running, not a template copied from another system. Nextcloud's own documentation does not set these values. The step is closed when an external scan of the HTTPS endpoint shows the protocol versions and cipher suites you selected, and the settings are recorded in your inventory with the server version they apply to.
Set password hashing and cost deliberately
Review hashing_default_password and hashingCost in config.php. The config reference says hashing_default_password defaults to false, which means Argon2 is used when available, and setting it to true makes Nextcloud use PHP's PASSWORD_DEFAULT instead. The hashingCost setting defaults to 10. The hardening guide says Argon2id is preferred when PHP supports it, with Argon2i and bcrypt as fallbacks, and that existing hashes are upgraded after a successful password verification. Confirm your PHP build supports Argon2 before deciding, and record the chosen values. The step is closed when config.php holds the values you decided on and the occ config:system:get command returns them.
Review openssl and the certificate bundle path
The config reference lists the openssl setting, an array that defaults to empty and takes a path to an openssl.cnf file for extra SSL options. It also lists default_certificates_bundle_path, which defaults to the CA bundle shipped at resources/config/ca-bundle.crt. Check whether your installation sets either value and whether the file it points to exists and is current, since outbound TLS to update servers, mail and federated shares depends on that bundle. The step is closed when occ config:system:get returns the values you intend to run, and the bundle file is confirmed present and readable by the web server user.
Set mail_smtpsecure to ssl
The config reference sets mail_smtpsecure to an empty string by default, and ssl is the value that enables SSL/TLS for SMTP. Set it in config.php or with occ config:system:set mail_smtpsecure, and make sure your mail server accepts TLS on the port you configured. The mail administrator should confirm the server certificate is trusted by the bundle you reviewed in the previous step. The step is closed when a test message sent from the Nextcloud mail settings page completes over a TLS connection, which your mail server logs will show.
Confirm federated self-signed certificates stay disabled
The config reference says sharing.federation.allowSelfSignedCertificates defaults to false for federated shares. Check that the value is still false in config.php, since an override set during testing can persist. Leaving it false means federated shares require certificates the server trusts rather than self-signed ones. The step is closed when occ config:system:get sharing.federation.allowSelfSignedCertificates returns false, and you have noted the result in your inventory with the date.
How the answer differs by deployment and by server-side encryption mode
A source installation runs on a server the organization builds and maintains itself, so the administrator controls the web server, PHP, TLS configuration and certificates. The Nextcloud source installation guide says plain HTTP works but is strongly discouraged, and it recommends a certificate from a commercial certificate authority or Let's Encrypt over a self-signed one. The hardening guide tells administrators to always use HTTPS on production servers, redirect HTTP to HTTPS with a 301, and leave HTTPS setup to the web server, because it gives no TLS version or cipher suite list and points to the Mozilla SSL Configuration Generator.
- Certificate source: The administrator chooses the certificate authority and key size, so the certificate chain is a decision made outside Nextcloud.
- TLS settings: The hardening guide names no TLS version or cipher suites, so the web server's own configuration determines the handshake.
- HSTS: The guide's example header is Strict-Transport-Security with max-age=15552000 and includeSubDomains, with preload described as optional.
- Password hashing: The config reference says hashing_default_password defaults to false, which uses Argon2 when available, and hashingCost defaults to 10.
- Trust and proxy settings: The openssl setting and default_certificates_bundle_path control extra SSL options and the CA bundle Nextcloud uses.
Confirm which TLS library and version your web server and PHP build use, because the sources listed on this page do not say which post-quantum options either one exposes.
A Snap installation packages Nextcloud with its dependencies, and the source installation guide says Snap installs include automated HTTPS through Let's Encrypt or a self-signed certificate. The administrator therefore inherits a certificate arrangement that the snap sets up, rather than building one from scratch. That lowers the setup work, but it also means the certificate source and renewal behavior are set by the package, so the administrator should check which option the install uses.
- Let's Encrypt: The snap can obtain and renew a certificate automatically, which depends on the host being reachable for validation.
- Self-signed certificate: The snap can fall back to a self-signed certificate, which clients will not trust unless the organization distributes its root.
- Update path: Snap updates arrive through the snap channel, so the timing of any cryptographic change follows that channel rather than a manual upgrade.
- Outbound checks: The default updater endpoint is which the config reference lists as an HTTPS endpoint.
- Configuration access: Snap installs keep the configuration in a different location than a source install, so the keys listed in the config reference should be located before any change.
Confirm with the Nextcloud snap documentation which certificate mode your install uses and how it renews, because the sources listed on this page do not describe the snap's TLS settings in detail.
Server-side encryption in master key mode has been the default since Nextcloud 13, and the keys are stored on the server, so the administrator can access files. The occ commands encryption:enable, encryption:disable-master-key and encryption:encrypt-all control the mode. The encryption details page says private keys and file blocks are AES-256-CTR encrypted by default, with integrity from SHA256-HMAC, and that the key pair is generated with openssl_pkey_new() and file keys are sealed with openssl_seal(), though it does not state an RSA key size.
- Default mode: Master key mode applies since Nextcloud 13 unless the administrator changes it.
- Commands: encryption:enable, encryption:disable-master-key and encryption:encrypt-all are the documented occ commands for this mode.
- Scope: Only file contents are encrypted, not filenames, folder structure, previews or the search index.
- Key size: The server source sets private_key_bits to 4096 for RSA key generation, and the code uses 600000 PBKDF2 iterations for new password hashes.
- Public-key use: RSA is used to seal per-file keys, so the public-key dependency sits inside the encryption app.
Confirm with the vendor that the server-side encryption mode in your release matches the code on the master branch, because the sources listed on this page do not confirm the released version's key sizes.
End-to-end encryption moves key control to the client, so the server holds only ciphertext and the users hold the keys. The end-to-end encryption RFC, version 2.1, wraps metadata keys with RSA-OAEP using SHA-256, uses AES-GCM with 128-bit file and metadata keys, and derives the private-key encryption key with PBKDF2-HMAC-SHA256 at 600,000 iterations from a 12-word mnemonic. Client certificates rely on trust on first use, with the server acting as root authority by default. Administrators therefore cannot recover a lost key on the server side.
- Key control: Keys live on the clients, so the server cannot read the protected content.
- Public-key use: RSA-OAEP and X.509 client certificates carry the public-key dependency for this mode.
- Trust model: Trust on first use means a user accepts the first certificate presented, which the administrator should explain to users.
- Symmetric parts: AES-GCM with 128-bit keys protects the content, and the RFC describes no post-quantum change to it.
- Issue 61484: The open GitHub issue asks for hybrid ML-KEM and ML-DSA and a move to AES-256-GCM, but it had no assignee, milestone or linked pull request as of the fetch.
Confirm with the vendor whether a key recovery procedure exists for your deployment, because the sources listed on this page do not describe one.
A federal contract that cites CNSA 2.0 raises a question the sources listed on this page do not answer: they say nothing about Nextcloud's position on CNSA 2.0 or a post-quantum roadmap date. The checked sources also contain no statement on FIPS, and the admin hardening guide does not mention FIPS or post-quantum cryptography. The CNSA 2.0 reference is therefore a contract question for the vendor, not something the administrator can settle from the configuration.
- Vendor position: Ask Nextcloud in writing whether its product meets CNSA 2.0 requirements and on what date.
- Algorithm support: No documented ML-KEM key exchange or ML-DSA or SLH-DSA signature support appears in the pages checked.
- Contract terms: Get any compliance commitment written into the contract, with the product version it covers.
- Configuration limits: No edition or setting that enables post-quantum algorithms was found in the hardening guide, the SSE docs or the config reference.
- Developer status: A contributor wrote on December 2, 2026 that a maintained PHP implementation of ML-KEM and ML-DSA is a prerequisite, which the thread reports as not yet in place.
Ask the vendor for its written position on CNSA 2.0 before relying on any settings described on this page.
Which Nextcloud components use public-key cryptography today
Several parts of Nextcloud rely on RSA, X.509 and elliptic-curve or RSA-based key operations, while the symmetric parts use AES and SHA-2. The cards below list each component, the key type it depends on, and what that means when you plan post-quantum enablement. None of them has a documented post-quantum option in the sources reviewed.
HTTPS, SMTP TLS and federated shares
Your HTTPS certificate, the TLS connection to your mail server and the trust used for federated shares all rest on X.509 certificates and RSA keys. The hardening guide says to always use HTTPS in production and leaves TLS configuration to your web server, with no cipher suite list given. For federated shares, sharing.federation.allowSelfSignedCertificates defaults to false. Check which key type your certificate authority issues and what your web server and mail server can negotiate.
Server-side encryption key pairs
When server-side encryption is enabled, each user's key pair is generated with openssl_pkey_new(), and file keys are sealed to recipients' public keys with openssl_seal(). The sources list 4096 as the private_key_bits value in Crypt.php on the master branch, which sets the RSA key size for these pairs. Keys are held on the server, so the administrator can access files. Confirm the key size and sealing behavior in the release you run before you plan any change.
End-to-end encryption keys
End-to-end encryption uses RSA-OAEP with SHA-256 to wrap metadata keys, AES-GCM with 128-bit file and metadata keys, and PBKDF2-HMAC-SHA256 at 600,000 iterations to derive the key that protects the private key from a 12-word mnemonic. Client certificates are trusted on first use, and the server acts as root authority by default. The RSA-OAEP step is the public-key dependency here, so check the RFC version your clients implement before planning changes.
E2EE RFCApp code signing
Apps are verified with an X.509-based approach. File hashes in signature.json use SHA-512, and the signing certificate must be issued by the Nextcloud Code Signing Root Authority shipped with each release. The example certificate signing request uses a 4096-bit RSA key. Verification happens on your server when you install or update apps, so an app signed under a different key type or authority will not pass. Review the signing chain for every third-party app before enabling it.
Talk TURN server credentials
Talk relays calls through TURN servers configured with a shared secret and turn: or turns: entries. The Talk documentation does not describe TLS setup for the TURN or signaling servers, and it does not describe DTLS or SRTP media encryption. Confirm with the vendor and your own configuration what protects the TURN connection and the media path, since the sources do not say which public-key operations are involved.
What the open GitHub issue says about post-quantum support
The only public record of Nextcloud post-quantum work that the sources list is GitHub issue #61484, opened on June 21, 2026. The issue asks for post-quantum readiness, proposes hybrid ML-KEM and ML-DSA, and proposes moving end-to-end encryption from AES-128-GCM to AES-256-GCM. When it was fetched, the issue had no assignee, no milestone and no linked pull request. An open issue is a request, not a plan. Administrators should not read it as a schedule, and should not assume any part of the proposal will ship in a given release line such as Hub 26 Summer.
Two comments in the thread show the obstacles that the maintainers and contributors are discussing. On December 2, 2026, a contributor wrote that any post-quantum change first needs a maintained PHP implementation of ML-KEM and ML-DSA that Nextcloud can depend on. On November 18, 2026, another commenter wrote that phpseclib is not expected to add post-quantum support soon. These are individual comments by participants in the issue. They are not statements or commitments from Nextcloud GmbH, and they do not set a timeline. Confirm with the vendor before treating either comment as a position of the company.
The administrator-facing documents do not reflect this discussion yet. The admin hardening guide makes no mention of FIPS or post-quantum cryptography, and the sources checked contain no Nextcloud statement on CNSA 2.0 and no post-quantum roadmap date. Before you record an answer for an audit or procurement file, ask Nextcloud directly whether a post-quantum key exchange or signature option is planned, which release it would appear in, and whether any FIPS or CNSA 2.0 alignment is intended. Keep the issue link and its retrieval date in your evidence, since the issue may change.
Enabling post-quantum settings in Nextcloud follows four checks, and the sources show no post-quantum option yet
The path starts by confirming the Nextcloud server version, using the changelog to match the release line. Next, it checks the admin hardening guide, the server-side encryption docs and the config reference for any post-quantum option in the edition and settings documented. The sources found none, so the next step is to apply the classical hardening the docs describe, including HTTPS, HSTS and Argon2id password hashing. Finally, track GitHub issue 61484 and request a roadmap or contract position from the vendor.
Decision path for enabling post-quantum settings, with the current no-option branch.
What engineers and vendor-risk reviewers ask about Nextcloud post-quantum settings
Is Nextcloud quantum safe?
The sources checked do not support calling Nextcloud quantum safe. Nextcloud's documentation does not describe ML-KEM key exchange or ML-DSA or SLH-DSA signatures in any edition, and the admin hardening guide does not mention post-quantum cryptography. The public issue tracker shows a request for post-quantum readiness, opened June 21, 2026, that has no assignee, milestone or linked pull request. The public-key parts of the product are RSA for server-side encryption key sealing, RSA-OAEP and X.509 for end-to-end encryption, and X.509 and RSA for app code signing. Treat the product as not documented for post-quantum use, and confirm the current position with Nextcloud before recording an answer.
Which Nextcloud version do I need for post-quantum settings?
No post-quantum version is documented in the sources checked. The latest server release listed on the Nextcloud changelog page, as read on December 4, 2026, is server version 35.0.3, dated November 12, 2026, in the Hub 26 Summer line. Nextcloud 34 maps to Hub 26 Spring and Nextcloud 33 maps to Hub 26 Winter. Because no release is documented as adding post-quantum algorithms, record the version you run and the date you checked, and ask Nextcloud whether any release is planned to add them.
Does enabling post-quantum settings in Nextcloud cost extra?
The sources checked do not mention a paid edition, license or add-on for post-quantum settings, and they name no such setting. Because none is documented, nothing in them shows a cost difference. Confirm with the vendor whether any post-quantum capability is tied to a particular subscription, support tier or hosting plan, and ask for that in writing. For your own budget, the recurring costs you control are staff time for inventory, testing and client updates, and any outside help you choose to buy. Ask any quote to list those components separately.
What breaks if I change the TLS or password hashing settings?
Changes to TLS and hashing affect different parts of the system. The hardening guide says to use HTTPS on production servers and to leave TLS setup to the web server, and it gives no TLS version or cipher list, so test the web server configuration with clients before a change. Password hashing prefers Argon2id when PHP supports it, and the hardening guide says existing hashes are upgraded after a successful password verification. The config reference says hashing_default_password defaults to false, and setting it to true makes Nextcloud use PHP's PASSWORD_DEFAULT instead. Test logins on a staging copy, because users with older hashes will be upgraded when they next sign in.
What should I ask Nextcloud about post-quantum plans?
Ask for a written answer to each of these points, and record the date and the person who gave it:
- Whether any Nextcloud release supports ML-KEM key exchange or ML-DSA or SLH-DSA signatures, and in which edition.
- Which settings enable them, and whether hybrid modes are offered.
- Whether post-quantum support depends on a PHP library, and whether Nextcloud has a maintained dependency in view.
- Whether a roadmap date exists, and whether it covers end-to-end encryption, server-side encryption and code signing.
- Whether they have a position on CNSA 2.0 or FIPS, if a federal customer is in scope.
The public issue tracker shows that a maintainer-level dependency is a prerequisite for any change, so ask what that dependency is and when it is expected.
Can my team enable post-quantum settings ourselves or do we need outside help?
The sources checked do not describe any post-quantum setting you can enable, so there is nothing documented for your team to switch on. Your team can still do the preparatory work from the documentation: confirm the server version, enforce HTTPS as the hardening guide describes, review the server-side encryption and end-to-end encryption configuration, and record the public-key dependencies in your inventory. Whether outside help is needed depends on how much of that inventory and testing your team can cover in-house. DeployOpen plans, implements, tests and documents self-hosted open-source platforms, and it prepares evidence for compliance assessments. It does not issue audit reports or certifications. Engagements are fixed-scope, with the scope and deliverables agreed in writing before work starts.
How DeployOpen works on this
DeployOpen approaches post-quantum settings in Nextcloud as an inventory and configuration exercise, not a feature switch. The sources reviewed do not show a Nextcloud edition or setting that enables post-quantum algorithms, so the work centers on the TLS, key, encryption and app-signing settings that exist today, and on documenting what remains unsupported.
How we scope
- Confirm the Nextcloud server version and edition in use, and which hub release line it maps to.
- Inventory which deployment options are in play: HTTPS termination, server-side encryption, end-to-end encryption, Talk and federated shares.
- Agree a written scope that states which settings will be reviewed and which post-quantum questions will be put to Nextcloud directly.
How we build
- Review the HTTPS, HSTS and certificate configuration against the admin hardening guide and the Mozilla SSL Configuration Generator.
- Check password hashing settings and server-side encryption parameters, including the defaults documented in the config reference.
- Test the end-to-end encryption, Talk TURN and app code-signing paths to record which public-key algorithms each one uses today.
How we hand over
- Deliver a dated configuration record showing each setting reviewed, its value and the documentation it was checked against.
- Provide a cryptographic inventory listing every public-key dependency found, with the component and version it applies to.
- Document open items, including the post-quantum support questions that Nextcloud has not yet answered in its published sources.
How we support
- Re-check settings after each Nextcloud server release, since defaults and documentation can change between hub releases.
- Track the upstream post-quantum issue and any roadmap notices, and report changes to the inventory when they appear.
- Engagements are fixed-scope, and ongoing support and continuous review are available as a retainer.

