Which Nextcloud functions depend on RSA and elliptic-curve keys

Nextcloud's public-key dependencies sit in server-side encryption key sealing, end-to-end encryption, app code signing and TLS certificates. The sources checked show no post-quantum algorithm support or enabling setting as of December 4, 2026.

On this page

Which Nextcloud functions rely on RSA and elliptic-curve keys today

In the Nextcloud server line 33 to 35 and the sources checked on December 4, 2026, the public-key dependencies are RSA for server-side encryption key sealing, RSA-OAEP and X.509 certificates for end-to-end encryption client certificates, X.509 and RSA for app signing, and certificates for HTTPS, SMTP TLS and federated shares. In server-side encryption, the key pair is generated with openssl_pkey_new() and each file key is sealed to recipients' public keys with openssl_seal(), and the server source sets private_key_bits to 4096 for RSA key generation. The symmetric parts, including AES-256-CTR for file data and SHA-2 based integrity, are not the exposure here. The end-to-end encryption RFC wraps metadata keys with RSA-OAEP using SHA-256, and client certificates follow trust on first use, with the server acting as root authority by default. App signing uses X.509 certificates issued by the Nextcloud Code Signing Root Authority, with SHA-512 file hashes and a 4096-bit RSA key in the example signing request.

For security leads triaging risk, the practical point is that every one of these dependencies is an RSA or X.509 use, and the sources checked do not describe any ML-KEM or ML-DSA support or any setting that enables it. The admin hardening guide and the configuration reference name no post-quantum option, and the open GitHub issue 61484 requesting hybrid ML-KEM and ML-DSA had no assignee, milestone or linked pull request as of the fetch. A contributor wrote on December 2, 2026 that a maintained PHP implementation of these algorithms would be needed first. Treat this as a finding from the sources listed on this page, not a vendor certification or a statement of roadmap. Confirm the current position with Nextcloud before relying on it in a risk register.

Where you run HTTPS, SMTP and federation, the relevant settings are in your web server, your mail relay and the sharing.federation.allowSelfSignedCertificates option, which defaults to false. The openssl and default_certificates_bundle_path config keys control extra SSL options and the CA bundle, and the hardening guide leaves TLS version and cipher choices to the web server with a pointer to the Mozilla SSL Configuration Generator. Record the certificate type and key algorithm for each of these paths in your inventory so that a later upgrade can be scoped by component.

Where each Nextcloud function uses public-key cryptography, by component

This table lists each Nextcloud function that relies on public-key cryptography, the algorithm the sources name, the component or version it applies to, and what the settings and sources say. Read it as an inventory: where the sources give no RSA key size or no TLS detail, the cell says so and tells you what to confirm with your own configuration or with Nextcloud. The main takeaway is that RSA and X.509 appear in several functions, while the sources show no post-quantum algorithm in any of them.

FunctionPublic-key algorithm namedComponent, version or settingSource and date
Server-side encryptionRSA key pair; keys sealed with openssl_seal()Master key mode, default since Nextcloud 13; 4096-bit RSA in server code, master branchSSE details docs; Server Crypt.php, master branch; SSE configuration docs
End-to-end encryptionRSA-OAEP with SHA-256; X.509 client certificatesE2EE RFC version 2.1; server acts as root authority by defaultE2EE RFC, version 2.1
App signingX.509 certificates with RSA; 4096-bit RSA in example CSRSigning certificate issued by the Nextcloud Code Signing Root Authority shipped with each releaseCode signing docs
HTTPS and certificatesCertificates from a commercial CA or Let's Encrypt; the sources name no TLS algorithm or key sizeWeb server terminates TLS; hardening guide gives no TLS version or cipher list and points to Mozilla's generatorAdmin hardening guide; Source installation guide
SMTP TLSCertificates and TLS; no algorithm namedmail_smtpsecure defaults to an empty string; ssl enables SSL/TLSConfig reference
Federated sharesCertificates; no algorithm namedsharing.federation.allowSelfSignedCertificates defaults to falseConfig reference
Talk TURNThe sources do not describe TLS or DTLS for TURN or signalingTURN secret setting and turn: and turns: server entries; confirm TLS with the Talk documentationTalk TURN docs
Update server connectionHTTPS endpoint; no algorithm namedupdater.server.url defaults to Config reference

Which parts of Nextcloud carry RSA and elliptic-curve keys

Nextcloud uses public-key cryptography in several separate places: server-side encryption, end-to-end encryption, app signing, and the certificates that secure transport. Each one has a different owner and a different upgrade path, so triage them one at a time.

Server-side encryption key pair

When server-side encryption is enabled, Nextcloud generates a key pair with openssl_pkey_new() and seals each file key to recipients' public keys with openssl_seal(). On the master branch, Crypt.php sets private_key_bits to 4096 for RSA key generation. The encryption details page does not state a key size, so confirm the value on your own version by checking Crypt.php for the release you run. Note that the user manual says only file contents are encrypted, not filenames or the search index.

Encryption details docs

End-to-end encryption key wrapping

The end-to-end encryption RFC version 2.1 wraps metadata keys with RSA-OAEP using SHA-256, while file and metadata keys use AES-GCM with 128-bit keys. Client certificates rely on trust on first use, and the server acts as root authority by default. Check whether your clients follow version 2.1 of the RFC, and decide whether trust on first use meets your certificate policy before enabling the feature for sensitive folders.

E2EE RFC

App code signing chain

Apps are verified with an X.509 approach, and each app's signing certificate must be issued by the Nextcloud Code Signing Root Authority that ships with each release. File hashes in signature.json use SHA-512. The example certificate signing request in the docs uses a 4096-bit RSA key. Confirm that the root authority matches your release, and review which apps you install, since the signature chain covers app integrity rather than transport.

Code signing docs

HTTPS and certificate trust

The hardening guide says to always use HTTPS on production servers and to leave TLS setup to the web server, with no TLS version or cipher list given. It recommends HSTS with max-age=15552000 and includeSubDomains, and it points to the Mozilla SSL Configuration Generator. SMTP TLS is enabled with mail_smtpsecure set to ssl, and federated shares reject self-signed certificates by default. Check your web server and certificate chain, since the Nextcloud docs do not set the algorithms.

Admin hardening guide

Talk TURN and media encryption

The Talk TURN docs describe a TURN secret and turn: and turns: server entries, but they do not describe TLS for the TURN or signaling servers, nor DTLS or SRTP for media. Treat the TURN path as unverified until you can confirm the transport and cipher settings with the vendor or in your own deployment. Record this as an open item in your inventory rather than an assumed control.

Talk TURN docs

How the public-key picture differs by deployment and feature

In the default server-side encryption mode, Nextcloud keeps file keys on the server, so the server operator can read stored file contents. The sources say the key pair is generated with openssl_pkey_new() and that each file key is sealed to recipients' public keys with openssl_seal(), but they do not state an RSA key size in the details page. The server's Crypt.php on the master branch sets private_key_bits to 4096 for RSA generation, which is a code-level fact that should be confirmed against the release you run. The symmetric parts use AES-256-CTR by default and SHA256-HMAC for integrity. The following points apply to this mode:

  • Key sealing: RSA public keys wrap the per-file keys through openssl_seal().
  • Key size: The master branch sets private_key_bits to 4096. Confirm this value in your release.
  • Cipher: The default is AES-256-CTR, and the cipher system config value can change it.
  • Scope: Only file contents are encrypted. Filenames, folder structure, previews and the search index are not.
  • Password-derived keys: The details page describes SHA256-PBKDF2 with 100,000 rounds, while Crypt.php on master uses 600,000 iterations for new password hashes, so confirm which value applies to your version.

Check the occ encryption state on your server, and confirm the RSA key size and PBKDF2 settings in the release you actually run.

How public keys flow through a Nextcloud deployment

The flow starts at the client, which connects over HTTPS to the web server that terminates TLS, using certificates whose keys are RSA or elliptic-curve, depending on how the certificate was issued. Behind it, the Nextcloud server holds server-side encryption keys: a per-user RSA key pair seals file keys with openssl_seal(), while the key material and file blocks themselves use AES. End-to-end encrypted clients use RSA-OAEP with X.509 client certificates, app signatures chain to the Nextcloud Code Signing Root Authority with a 4096-bit RSA signing key, and SMTP and federation peers rely on TLS certificates. Check each hand-off separately, because the sources do not name an algorithm for every one of them.

Public-key hand-offs between a client, Nextcloud and its peers.

What a security lead should check next in a Nextcloud deployment

This sequence establishes which Nextcloud release is running, which encryption and end-to-end encryption features are switched on, and which certificates and key sizes sit at the web server and mail relay. It ends with a documented record that shows where public-key cryptography is used and what still needs confirmation with the vendor.

  1. Confirm the running version and edition

    The administrator records the installed server version and the Hub line it belongs to, then compares both against the Nextcloud changelog. The changelog listed 35.0.3, dated November 12, 2026, as the latest release in the Hub 26 Summer line, and mapped Nextcloud 34 to Hub 26 Spring and Nextcloud 33 to Hub 26 Winter. The step closes when the version string from the server matches one entry in that mapping and the mapped Hub line is written into the record. Confirm the edition with the vendor if the deployment is a commercial one, since the sources checked here do not separate editions for this question.

  2. Inventory encryption modes with occ

    Using the occ command line tool, the administrator lists whether server-side encryption is enabled and which master key mode is in use, with commands such as encryption:enable and encryption:disable-master-key named in the configuration docs. Server-side encryption has used master key mode by default since Nextcloud 13, with keys held on the server. The administrator also checks whether end-to-end encryption is enabled for any users or folders. The step closes when the encryption state, key mode and end-to-end encryption status are each written down with the occ output that shows them.

  3. Record certificates and key sizes at the web server

    The administrator inspects the certificate presented on the HTTPS endpoint and records its type, issuer, signature algorithm and key size. The hardening guide requires HTTPS on production servers and leaves TLS setup to the web server, so the web server configuration is the source for the TLS version and cipher suites. The guide gives no cipher list and points to the Mozilla SSL Configuration Generator. The step closes when the certificate type, issuer and key size for the web server are in the record, and the TLS settings are noted as coming from the web server, not from Nextcloud.

  4. Record certificates and key sizes at the mail relay

    The administrator checks the SMTP connection that Nextcloud uses for outgoing mail. The mail_smtpsecure setting defaults to an empty string, and ssl enables SSL/TLS, so the administrator confirms which value is set. The mail relay's own certificate is then inspected for its type, issuer and key size. The step closes when the mail_smtpsecure value, the relay certificate details and the key size are recorded, along with a note on whether federated shares allow self-signed certificates, since that setting defaults to false.

  5. Check the openssl and bundle config paths

    The administrator reads the config file for the openssl setting, which takes a path to an openssl.cnf file for extra SSL options, and for default_certificates_bundle_path, which defaults to the CA bundle at resources/config/ca-bundle.crt. The administrator notes whether either value has been changed from its default and, if so, opens the referenced file to see which certificate authorities and options it sets. The step closes when both paths are recorded with their current values, and any custom CA bundle is listed with the issuers it contains.

  6. Document the findings and open questions

    The administrator writes the version, encryption modes, certificate and key size records, and config paths into a single inventory document with the date of the check. Public-key use in the sources includes RSA for server-side encryption key sealing, RSA-OAEP and X.509 client certificates for end-to-end encryption, X.509 and RSA for app code signing, and the certificates used for HTTPS, SMTP TLS and federated shares. Any point the sources do not settle is listed as a question for the vendor, such as whether post-quantum algorithms are supported. The step closes when the document has been reviewed by the security lead and each open question has an owner.

What Nextcloud has not published on post-quantum, and what to ask

The sources checked for this page name no post-quantum algorithms, settings, certifications or dated plans for Nextcloud. The cards below list each gap so that you can put a specific question to the vendor and record the answer against the functions that depend on RSA and elliptic-curve keys.

No documented ML-KEM key exchange

The admin hardening guide, the server-side encryption docs and the config reference describe no ML-KEM key exchange for HTTPS, federation or client sessions. The sources checked do not show a hybrid key exchange, and the TLS setup they describe is left to the web server. Ask Nextcloud whether any release or edition negotiates ML-KEM, and in which component the negotiation happens. Record the answer against the HTTPS and federation rows of your inventory, since those are the flows where key exchange is set.

Admin hardening guide

No ML-DSA or SLH-DSA signatures

The code signing docs describe X.509 signing with a 4096-bit RSA key and SHA-512 file hashes, and the sources name no ML-DSA or SLH-DSA signature support for app signing, certificates or update checks. Because the signing chain depends on the Code Signing Root Authority shipped with each release, the question is whether a future root or intermediate could use a post-quantum signature. Ask whether Nextcloud plans to sign apps with ML-DSA or SLH-DSA, and whether existing RSA-signed apps would still verify after such a change.

Code signing docs

No enabling setting in the docs

The hardening guide, the SSE configuration docs and the config reference list no setting that turns on post-quantum algorithms. The openssl array and default_certificates_bundle_path settings appear to accept custom SSL options, but the sources do not say whether they can add ML-KEM or ML-DSA. Ask Nextcloud which configuration keys, if any, would enable a post-quantum algorithm, and whether the openssl setting can carry one. Do not treat the presence of those settings as support.

Config reference

No FIPS or CNSA 2.0 statement

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. Federal customers and regulated buyers usually ask for these statements in procurement. Ask Nextcloud whether it has a FIPS validation or a CNSA 2.0 position for any edition, and which modules and versions those would cover. Until the vendor answers in writing, record the field as not stated rather than as compliant.

No post-quantum roadmap date

The changelog lists server 35.0.3 dated November 12, 2026 as the latest release, but the sources checked give no roadmap date for post-quantum work in any Hub line. Without a date, you cannot place the change against your own renewal or certificate cycle. Ask Nextcloud for the planned release and edition for any post-quantum key exchange or signature support, and whether that work sits in the server, the end-to-end encryption client or the apps.

Nextcloud changelog

Open issue 61484 has no owner

GitHub issue 61484, opened June 21, 2026, asks for post-quantum readiness, proposes hybrid ML-KEM and ML-DSA, and suggests moving end-to-end encryption from AES-128-GCM to AES-256-GCM. As of the fetch it had no assignee, milestone or linked pull request. A December 2, 2026 comment says a maintained PHP implementation of ML-KEM and ML-DSA must come first, and a November 18, 2026 comment says phpseclib is not expected to add post-quantum support soon. Ask Nextcloud who owns the issue, whether a milestone is planned, and whether the PHP library dependency has a date.

Issue 61484

What can go wrong when reviewing Nextcloud public-key dependencies

The most common error is reading the AES-256 defaults and concluding that the whole Nextcloud stack is post-quantum ready. The sources show AES-256-CTR as the default cipher for server-side encryption file contents, with integrity from SHA256-HMAC. But the same design seals each file key to recipients' public keys with openssl_seal(), and the server-side encryption code generates RSA keys with private_key_bits set to 4096. Symmetric ciphers are one part of the picture. The public-key layer, which is the part a quantum attacker would target, is not covered by the AES defaults. Review each data flow separately and record the public-key algorithm for each one.

A second error is assuming the end-to-end encryption design is up to date because it uses a strong symmetric cipher. The E2EE RFC version 2.1 wraps metadata keys with RSA-OAEP using SHA-256, and it relies on X.509 client certificates with trust on first use. The open issue #61484, opened June 21, 2026, proposes hybrid ML-KEM and ML-DSA together with a move from AES-128-GCM to AES-256-GCM. That change is only a proposal. As of the fetch, the issue had no assignee, milestone or linked pull request, so the reader should not record AES-256-GCM as current E2EE behavior. Confirm the cipher and wrapping algorithm in the release you run.

A third error is leaving TLS to the web server without checking what it negotiates. The hardening guide says to use HTTPS, redirect HTTP with a 301, and leave the setup to the web server, but it gives no TLS version or cipher suite list and points to the Mozilla SSL Configuration Generator instead. The Talk TURN documentation also does not describe TLS for its signaling or TURN servers. Record the TLS settings of the web server and any TURN or SMTP endpoints separately, because the Nextcloud documentation does not settle them. Finally, the comment on issue #61484 from December 2, 2026 says that any post-quantum change first needs a maintained PHP implementation of ML-KEM and ML-DSA, and another comment from November 18, 2026 says phpseclib is not expected to add post-quantum support soon. Plan on that gap blocking any near-term change, and confirm the current status with Nextcloud before you assume otherwise.

Common questions about Nextcloud's public-key dependencies

Is Nextcloud quantum safe?

The sources checked do not support calling Nextcloud quantum safe, and this page does not make that claim. Nextcloud's documented public-key uses rely on RSA and elliptic-curve or X.509-based mechanisms, including RSA-OAEP for end-to-end encryption and RSA key pairs for server-side encryption. The admin hardening guide does not mention post-quantum cryptography or FIPS, and the sources checked show no documented ML-KEM or ML-DSA support in any edition or setting. Open GitHub issue #61484, opened June 21, 2026, requests post-quantum readiness, but it had no assignee, milestone or linked pull request at the time it was read. Confirm the current position directly with Nextcloud before you record an answer.

Which Nextcloud version does this mapping apply to?

The public-key dependencies described here come from the server documentation and the master branch of the server source, and the config and hardening references were read against the latest published docs. The Nextcloud 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. Older deployments may use different defaults, so record the exact server version you run and check the mapping against that release's documentation. The sources do not state which parameters changed between versions, so confirm any version-specific behavior in your own environment.

Does enabling end-to-end or server-side encryption add cost or change the key algorithms?

Enabling server-side encryption changes the key handling. Since Nextcloud 13 it has defaulted to master key mode, with keys stored on the server, and the encryption details page says file keys are sealed to recipients' public keys with openssl_seal(), although it does not state an RSA key size. The server source sets a 4096-bit RSA key for private key generation, and the file contents use AES-256-CTR. End-to-end encryption uses RSA-OAEP with SHA-256 to wrap metadata keys and AES-GCM with 128-bit keys. The sources do not give a performance or licensing cost for either mode, so ask the vendor and your own testing team for the effect on your hardware. Treat the cost as the time to enable, test and back up keys, and note that the sources do not quantify it.

What breaks if a client rejects a certificate?

A client that rejects a certificate will stop the connection at that step. For HTTPS, the admin hardening guide says to always use HTTPS on production servers and leave TLS setup to the web server, so a certificate that a browser, desktop client or mobile app does not trust blocks the login or sync path. Federated shares add a second risk: the config reference sets sharing.federation.allowSelfSignedCertificates to false by default, so a remote server presenting a self-signed certificate will be refused. For end-to-end encryption, the RFC uses trust on first use for client certificates, with the server acting as root authority by default, so a changed client certificate needs review before the client is trusted again. Check which of these paths applies to your deployment before you change any certificate.

What should we ask Nextcloud about post-quantum plans?

Ask for a dated written position on post-quantum support, covering key exchange and signatures separately. Specifically, ask whether ML-KEM or other post-quantum key exchange is planned for HTTPS and the sync and sharing paths, whether ML-DSA or SLH-DSA is planned for code signing and certificate-based flows, and which server versions and editions would carry it. Ask whether the open issue #61484 has an owner, a milestone and a target release, and whether a maintained PHP implementation of ML-KEM and ML-DSA is needed first, since a contributor noted on December 2, 2026 that this dependency comes before any change. Ask also what the vendor recommends for TLS settings in the interim, since the hardening guide points to the Mozilla SSL Configuration Generator rather than listing versions. Record the answer and its date.

Can our team inventory and configure Nextcloud's public-key use without outside help?

Your team can take a first inventory without outside help, using the documents and the server source named on this page. Start with the HTTPS termination point, the SMTP TLS setting (mail_smtpsecure), federated share certificates, the server-side encryption keys, end-to-end encryption client certificates, and the code signing certificates for apps. Record each item with the server version and the setting that controls it. Outside help becomes useful when the inventory must be turned into a tested plan, when a certificate or key change needs a retest across clients, or when an evidence package must be prepared for an assessment. DeployOpen can plan, test and document a Nextcloud deployment in your infrastructure, but it does not issue audit reports or certifications. The cost depends on the agreed scope, which is set in writing before work starts.

Nextcloud documentation to check each claim against

Every claim on this page should be checked against the Nextcloud documentation before it goes into an inventory or a vendor answer. The Nextcloud About page confirms the company name, Nextcloud GmbH, and the product name, Nextcloud Hub. The Nextcloud changelog lists the latest server release as version 35.0.3, dated November 12, 2026, and maps Nextcloud 34 to Hub 26 Spring and Nextcloud 33 to Hub 26 Winter. Record the version you run, because several of the settings below differ between lines.

For the key and encryption settings, start with the server-side encryption pages. The SSE configuration docs cover the master key mode and the occ encryption commands. The SSE details docs describe the AES-256-CTR file ciphers, the PBKDF2 settings and the openssl_seal() call that seals file keys to public keys, but they state no RSA key size. For that figure, check the Server Crypt.php file on the master branch, which sets private_key_bits to 4096. Confirm which branch your release uses, because master may differ from a shipped version. The SSE user manual confirms that only file contents are encrypted, not filenames, folder structure, previews or the search index.

The remaining public-key uses sit in the code signing, end-to-end encryption and Talk pages. The code signing docs describe X.509 app signing with SHA-512 hashes and a 4096-bit RSA example key. The end-to-end encryption RFC describes RSA-OAEP key wrapping and client certificates, and the Talk TURN docs do not describe TLS or media encryption, so confirm that setup with the vendor. For the post-quantum status, read GitHub issue 61484, which was open with no assignee or linked pull request when checked.

How DeployOpen helps teams review Nextcloud cryptography

DeployOpen plans, implements and documents self-hosted Nextcloud inside your own infrastructure, and it prepares the configuration and evidence your security team needs to review where RSA and elliptic-curve keys are used. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Confirm which Nextcloud version and edition your deployment runs before mapping any public-key dependency.
  • List which features are in use, such as server-side encryption, end-to-end encryption, Talk or federated shares.
  • Agree in writing which HTTPS, SMTP TLS, certificate and app signing paths fall inside the engagement.

How we build

  • Review the web server, HTTPS and HSTS configuration against the Nextcloud hardening guide and your own policy.
  • Check which password hashing, encryption and certificate settings are active, and record their defaults and overrides.
  • Test Talk TURN and signaling paths and document what the Nextcloud documentation does and does not describe.

How we hand over

  • Deliver a written inventory of the RSA and elliptic-curve dependencies found, tied to version and setting.
  • Document each item the sources leave open, with the question to put to Nextcloud or to confirm in your environment.
  • Provide the evidence and configuration records your compliance and security reviewers can check directly.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial review.
  • Re-check the inventory when Nextcloud publishes a new release or when the open post-quantum issue changes status.
  • Keep the documentation current so your team can answer follow-up questions from auditors and vendor-risk reviewers.

Sources and further reading

Talk to our team.

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

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