Does a post-quantum upgrade of Dropbear need new hardware, licenses or a redesign?
For planners of embedded routers and appliances running Dropbear, the upgrade is primarily a version and build-option change for the key exchange, not a hardware or architecture project. The default source enables the hybrid key exchanges sntrup761 with x25519 and mlkem768 with x25519, and in the version reviewed, host and user signatures remain classical (RSA, ECDSA and Ed25519). Dropbear is licensed under an MIT-style license, and the sources reviewed do not indicate that any license purchase is required. The checked date for these facts is 2026-12-04, and the latest release listed on the project homepage is 2026.94, dated 23 July 2026.
The practical cost is mostly in the firmware and build pipeline. The post-quantum additions are described in the CHANGES file as increasing code size, which matters on flash-constrained devices, so the team should compare the resulting binary against its partition size before committing to a release. Enabling or disabling the hybrid methods is done at build time by setting DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 in localoptions.h, and the man pages reviewed document no runtime switch for them beyond the -Q kex query. Teams should confirm the exact release and any packaging changes with their own build system, since release 2026.92 fixed builds for older platforms that use the debian/ directory packaging.
The main decision is whether signatures need to change at all. Because no post-quantum signature option appears in the reviewed source, a redesign of certificates or host key handling is not indicated by these sources, and planners should confirm this with the project or their own build before scheduling one. Whether an existing device can accept a newer Dropbear build depends on its bootloader, flash layout and update path, which the sources do not cover, so those should be checked with the device vendor.
Which Dropbear releases and components the post-quantum facts apply to
This table lists each Dropbear component, its classical or post-quantum status in the reviewed master branch, and the release that introduced or changed it. Read each row against the release and fetch date in the source column, because the default settings were checked on 2026-12-04 and can change with a new build. The main takeaway is that only the key exchange has post-quantum options, and those options are hybrids enabled by default.
| Component | What the facts say | Release or date | Source and fetch date |
|---|---|---|---|
| Key exchange (sntrup761 and mlkem768 with x25519) | Post-quantum hybrids, both enabled by default at build time (DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 set to 1) | Added in 2025.87, dated 5 March 2025 | Dropbear default_options.h and CHANGES, fetched 2026-12-04 |
| Host and user signatures (RSA, DSS, ECDSA, Ed25519) | All classical; no post-quantum signature option is listed in the version reviewed | Not stated in the facts for a specific release | Dropbear default_options.h, checked 2026-12-04 |
| Classical key exchange (DH group14, curve25519, ECDH) | Classical defaults remain on alongside the hybrids | Not stated in the facts for a specific release | Dropbear default_options.h, fetched 2026-12-04 |
| Ciphers and MACs (AES-CTR, chacha20-poly1305, HMAC-SHA2-256) | Classical defaults; 3DES, CBC and GCM are off by default | Not stated in the facts for a specific release | Dropbear default_options.h, fetched 2026-12-04 |
| Build controls (localoptions.h) | Algorithms are enabled or disabled at build time by editing localoptions.h; no runtime switch for the post-quantum key exchange appears in the man pages reviewed | Not stated in the facts for a specific release | Dropbear INSTALL.md and default_options.h, fetched 2026-12-04 |
| Runtime query (-Q, -c, -m) | The -Q option lists supported algorithms; -c and -m select ciphers and MACs when DROPBEAR_USER_ALGO_LIST is enabled | Not stated in the facts for a specific release | dropbear.8 and dbclient.1 man pages, fetched 2026-12-04 |
| Packaging fix for older platforms | Fixed sntrup and mlkem builds on older platforms that use debian/ directory packaging | 2026.92, dated 6 July 2026 | Dropbear CHANGES, fetched 2026-12-04 |
| Latest release | 2026.94 is the latest release listed on the project homepage | 2026.94, dated 23 July 2026 | Dropbear homepage, fetched 2026-12-04 |
Which parts of a Dropbear deployment an upgrade touches
A Dropbear upgrade is mostly a build-time change: the key exchange options are set in localoptions.h and then compiled in. Host keys, user keys and client algorithm lists are separate components, and each one changes in a different way. Check each component before and after the build, and use the -Q query to confirm what the build supports.
Key exchange build options in localoptions.h
Post-quantum key exchange is enabled or disabled at build time by setting DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 to 1 or 0 in localoptions.h in the build directory. Both default to 1 in src/default_options.h on the master branch, and both are hybrids with x25519. The classical options, including curve25519, ECDH and DH group14, remain in the build alongside them. Confirm the settings in the built binary rather than assuming the defaults apply to your build.
Host key files and their locations
The server reads host key files at startup from /etc/dropbear/, using names such as dropbear_ed25519_host_key by default. The -r option reads a host key file in the format dropbearkey generates, and when it is given the default host key files are not loaded. The -R option generates host keys in the default location after startup, when the first connection arrives. Host keys stay the same key type and file format across the upgrade, but check which path and option your startup script uses.
User keys in authorized_keys
The ~/.ssh/authorized_keys file holds the public keys that allow remote login, and the server man page lists Ed25519, RSA and ECDSA as accepted key types. Per-key restrictions such as no-pty, command= and permitopen= are stored in this file and carry over unchanged. A key type change does not happen through the file itself, so check which key types each user holds. Post-quantum user key types are not named in the sources reviewed for this page, so confirm with the vendor before planning any change.
Client algorithm lists for dbclient
The -c and -m options on dbclient take comma-separated lists of ciphers and MACs, and help lists the available options. Support for these runtime lists depends on DROPBEAR_USER_ALGO_LIST at build time, so a client built without it will not accept them. Scripts that pin cipher or MAC lists need to be reviewed against the new build. Use help on the built client to see which names it accepts.
The -Q query for confirming build support
Both dropbear and dbclient accept -Q with the options kex, sig, cipher, mac and compress to list the algorithms a given build supports. Run -Q kex on the built binary to confirm whether sntrup761 and mlkem768 are present after the change. Keep the output with the build record, since it is the most direct evidence of what the binary can negotiate. The query reports the build, not the peer, so a remote server may still negotiate a different exchange.
How the upgrade differs for self-built, packaged and embedded builds
When your team builds Dropbear from source, you control the algorithm set. Dropbear's build-time choices are made by editing options in localoptions.h in the build directory, and the available options are described in src/default_options.h. The post-quantum key exchanges, DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768, both default to enabled in the master branch reviewed on 2026-12-04. You can turn either one off by setting it to 0 in localoptions.h. The man pages reviewed document no runtime switch for these options, apart from the -Q kex query that lists what a build supports.
- Edit localoptions.h, then rebuild: Set the post-quantum options in
localoptions.hand recompile. A running binary does not pick up the change. - Confirm the result with -Q: Run
dropbear -Q kexanddbclient -Q kexon the built binaries to see which key exchanges the build supports. - Track the release you build from: The
CHANGESfile records post-quantum key exchange as added in release 2025.87, dated 5 March 2025, so older source trees may not contain these options. - Keep the classical defaults in view: The reviewed defaults also enable curve25519 and DH group14 with SHA-256, and disable SHA-1 algorithms.
Confirm the exact release and option set against the source tree you build, because the defaults shown here come from the master branch reviewed on 2026-12-04.
On Debian-style systems the build is made by the distribution's packaging, not by you. Your upgrade path is to install a package version that includes the post-quantum options, and to check what that package was compiled with. The Dropbear CHANGES file records release 2026.92, dated 6 July 2026, as fixing sntrup and mlkem builds on older platforms that use the debian/ directory packaging. If your package predates that fix, the post-quantum key exchanges may not work as intended on those platforms.
- Check the package version: Compare the installed Dropbear version against 2026.92, which carries the packaging fix.
- Query the installed binary: Run
dropbear -Q kexanddbclient -Q kexto see whether sntrup761 and mlkem768 are present in that build. - Do not assume the defaults: A distribution may set build options differently from the upstream defaults in
default_options.h. Ask the packager which options were compiled in. - Wait for the fix in your repository: Track when your distribution ships a Dropbear package at or after 2026.92, since your team cannot apply the fix by editing
localoptions.hin a package it did not build. - Test after each update: Repeat the
-Q kexcheck after each package update, since a later build can change the option set.
The sources reviewed do not describe how each distribution packages Dropbear, so confirm the packaging details with your distribution's maintainers.
On embedded devices such as routers and appliances, the build is chosen by the device maker. You do not edit localoptions.h or install a package yourself. The Dropbear homepage describes the software as often used on embedded Linux and wireless routers, which is why many devices ship it inside firmware. Your options depend on whether the vendor publishes a firmware version that includes the post-quantum key exchanges and the fixes listed in CHANGES.
- No direct build control: The firmware image fixes the Dropbear version and option set for the device.
- Ask for the Dropbear version: Request the exact Dropbear release inside each firmware image, and whether it is 2026.92 or later.
- Ask which key exchanges are compiled in: Ask the vendor to confirm whether sntrup761 and mlkem768 are enabled, and to provide the
-Q kexoutput from a device running that image. - Ask for the upgrade schedule: Ask whether and when the vendor will publish a firmware update, since you cannot apply one from the Dropbear project.
The sources reviewed do not say how vendor firmware images are built, which options vendors compile in, or which of them have shipped post-quantum key exchange. The device vendor must confirm the version and option set for each model.
Enabling hybrid key exchange in Dropbear follows a build-time path
The path starts by identifying the installed Dropbear release, then running dropbear -Q kex to see which key exchange algorithms the current build supports. Next, you edit DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 in localoptions.h in the build directory, since the sources reviewed document no runtime switch for them. After rebuilding and redeploying, run -Q kex again to confirm the hybrids appear, then test client connections. The sources reviewed do not say whether an older firmware image can be upgraded in place, so confirm that with the vendor.
The build-time steps for enabling hybrid post-quantum key exchange in Dropbear.
What to do first to plan a Dropbear post-quantum upgrade
This sequence establishes which Dropbear builds you run, whether each build offers the hybrid post-quantum key exchanges, and how a sample device behaves after a rebuild. It ends with a recorded result for each device class, so the upgrade plan rests on checked facts rather than assumptions.
Inventory Dropbear releases and build options
Record every device, firmware image and host that runs Dropbear, along with the release version, the build options it was compiled with, and the owner of each build. Where the build is a vendor image, ask the vendor for the version string and the localoptions.h settings used. The step is done when every Dropbear instance in scope has a row with a version and a build source, and each row is marked as either known or still to confirm.
Confirm hybrid key exchange support with the kex query
On a binary from each build, run dropbear -Q kex and dbclient -Q kex to list the key exchange algorithms the build supports. Look for sntrup761x25519-sha512 and mlkem768x25519-sha256 in the output. Confirm the exact identifiers from the command output, since the strings here are shown only as the names the documentation uses. The step is done when each build is recorded as either listing the hybrids or not listing them.
Set the post-quantum build options
For builds that lack the hybrids, check the defaults in src/default_options.h, which enable DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 by default in the version reviewed. Where a build turns them off, set both to 1 in localoptions.h in the build directory. Keep the classical options you rely on enabled, and disable SHA-1 algorithms only after checking which clients you still serve. The step is done when each localoptions.h is saved and the change is recorded against the build it applies to.
Rebuild and test one sample device
Compile one device image with the settings from the previous step and install it on a test unit. Run dropbear -Q kex again on the rebuilt binary to confirm the hybrids appear. Then check that the device still starts, accepts logins with its configured keys, and that the host key files are read from the expected location. Note the memory footprint, since the 2025.87 release notes say the post-quantum additions increase code size. The step is done when the test unit passes each check and the results are written down.
Confirm client algorithm support
List the SSH clients that connect to each device class, including scripts, management tools and workstation software. For each client, confirm whether it offers the same hybrid key exchanges. Use dbclient -Q kex for Dropbear clients and the client's own documentation for others. Ask each client owner to confirm the algorithm list in writing. The step is done when every client is marked as supporting, not supporting or unconfirmed for the hybrids, and any unconfirmed client has an owner assigned.
Record the result for each device class
Write one entry per device class containing the Dropbear version, the build options, the kex query output, the test result on the sample device, and the client support status. Mark any open point, such as a client without confirmed support or a build the vendor has not answered for, with an owner and a date to confirm. The step is done when the record is saved where the upgrade team and the security lead can both read it, and each device class has a status.
What the sources do not establish about a Dropbear post-quantum upgrade
The sources reviewed for this page establish that Dropbear ships two hybrid post-quantum key exchanges, but they do not establish a post-quantum signature option, a runtime switch for those hybrids, a firmware build process, a device vendor release date or a dated roadmap. Each card below names one gap and the question to put to the project or to your device vendor before you plan a migration around it.
No post-quantum signature option
The defaults in src/default_options.h list the only post-quantum algorithms as the hybrid key exchanges sntrup761 with x25519 and mlkem768 with x25519. The file names no ML-KEM-1024 option and no post-quantum signature algorithm such as ML-DSA or SLH-DSA. Every host key and user key type it lists (RSA, DSS, ECDSA and Ed25519) is classical. This means that host and user authentication still depend on classical signatures, even when key exchange is hybrid. Ask the project whether a post-quantum signature or ML-KEM-1024 option is planned, and ask your device vendor which signature types its firmware accepts.
default_options.hNo runtime switch for hybrids
The reviewed man pages document no runtime switch that enables or disables sntrup761 or mlkem768, apart from the -Q option, which only queries the algorithms a build supports. Turning the hybrids on or off is done at build time by setting DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 to 1 or 0 in localoptions.h. A device that has already shipped with a given build therefore cannot change its key exchange by configuration alone. Confirm with your device vendor which build options were compiled into the firmware you run, using dropbear -Q kex on the device.
INSTALL.mdVendor firmware build process unknown
The sources describe how Dropbear itself is built, with options set in localoptions.h in the build directory. They do not describe how any device vendor builds its firmware, which Dropbear version it packages, or whether it keeps the post-quantum options enabled. Dropbear's own notes also mention that the sntrup and mlkem builds needed a fix on older platforms that use the debian/ directory packaging, in release 2026.92, so packaging details can change the result. Ask each device vendor which Dropbear version and build options its firmware includes, and whether it uses the debian/ packaging path.
Device vendor release timing unknown
The sources do not say when any device vendor will ship firmware containing a post-quantum-capable Dropbear release. A project release containing the feature does not mean that a given router, appliance or embedded product will receive it, because the device vendor must rebuild, test and distribute the firmware. Your migration schedule depends on that date, which the sources do not provide. Request in writing a dated commitment for firmware containing a post-quantum-capable Dropbear build, and the end-of-support date for the firmware you run now.
No dated project roadmap
The Dropbear homepage lists 2026.94, dated 23 July 2026, as the latest release. The CHANGES file records the post-quantum additions, first in release 2025.87, dated 5 March 2025. The sources reviewed contain no published roadmap, no dated plan for further post-quantum algorithms and no transition guide for deprecating classical-only algorithms. Planning beyond the current hybrids therefore rests on no project commitment. Ask the project whether it publishes a roadmap or deprecation schedule, and when it expects to add post-quantum signatures.
CHANGES fileWhat can break when Dropbear moves to hybrid key exchange
The main risk of enabling hybrid key exchange in Dropbear is not a failed security goal but a failed build or a failed connection. Dropbear's default options enable both sntrup761 and mlkem768 with x25519, and the CHANGES entry for release 2025.87, dated 5 March 2025, says the post-quantum additions increase code size, with sntrup761 at least recommended. On a small embedded target with tight flash or RAM, a build that adds these hybrids can overflow the image, so confirm the resulting binary size against the device's partition before flashing. Release 2026.92, dated 6 July 2026, fixed sntrup and mlkem builds on older platforms that use the debian/ directory packaging. If you maintain a Debian-based packaging tree older than that release, plan to pick up the fix or test the build on that packaging before rollout.
Two clarifications keep the risk in proportion. The post-quantum options change the key exchange only. The facts reviewed for this page do not show any change to host key or user key signatures, which remain RSA, DSS, ECDSA or Ed25519 in the version reviewed, so an upgrade does not replace the host key files read from /etc/dropbear/ or the entries in ~/.ssh/authorized_keys. The more practical failure is a client that does not offer a matching key exchange. A client that supports only classical key exchange will not negotiate a hybrid, so confirm the exact negotiated algorithm rather than assuming it. Run dropbear -Q kex and dbclient -Q kex on the built binaries to list what each build supports, and test a real connection from each client type your fleet uses before the change reaches production. The facts reviewed do not describe a runtime switch for these algorithms, so a rollback usually means rebuilding or reflashing.
Questions engineers and vendor-risk reviewers ask about a Dropbear upgrade
Is Dropbear quantum safe after an upgrade?
Not as a whole. Dropbear's current defaults enable two post-quantum hybrid key exchanges, sntrup761 with x25519 and mlkem768 with x25519, so key exchange can be protected against harvest-now, decrypt-later attacks. Host keys and user keys remain classical. The defaults offer RSA, ECDSA and Ed25519 for signatures, and the source names no post-quantum signature algorithm such as ML-DSA or SLH-DSA. Authentication therefore stays on classical public-key cryptography. Confirm the exact key exchange and signature list with dropbear -Q kex and dropbear -Q sig on the build you run, because a custom localoptions.h can change what is compiled in.
Which Dropbear release is needed for post-quantum key exchange?
Post-quantum key exchange was added in release 2025.87, dated 5 March 2025, according to the project's CHANGES file. The latest release listed on the homepage is 2026.94, dated 23 July 2026. Release 2026.92, dated 6 July 2026, fixed sntrup and mlkem builds on older platforms that use the debian/ directory packaging. If your distribution ships a Dropbear package, check whether it was built from 2025.87 or later and whether the build includes the sntrup and mlkem options, because distribution packages may lag upstream.
Does upgrading Dropbear to post-quantum key exchange cost extra?
The upstream source does not state a price, and Dropbear is MIT-style licensed, so no license fee applies to the software itself. The main cost drivers are engineering time to rebuild firmware or packages, testing across the client mix, and the memory and code size impact. The CHANGES file notes that the post-quantum additions increase code size, and that sntrup761 is at least recommended. For embedded devices, that can affect whether the image still fits in flash. Ask your firmware vendor or build team to measure image size before and after enabling DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768, and ask whether they will charge for the rebuild and recertification.
What breaks when Dropbear adds post-quantum key exchange?
Enabling the hybrid key exchanges mainly affects clients that do not offer them. The defaults keep classical key exchange algorithms, including curve25519 and DH group14 with SHA-256, so older OpenSSH or PuTTY clients should still negotiate. Things to check are:
- Clients that offer only older algorithms, such as group1 or SHA-1 variants, which are disabled by default.
- Scripts that call
dbclient -cor-mwith a fixed algorithm list. - Image size and memory limits on constrained devices.
- Host keys stored in the default location, since
dropbear -rchanges which key files load at startup.
Test the change against each client type in your environment before rolling it out.
What should we ask the Dropbear vendor or distributor before upgrading?
Ask for the exact release and build options, and for written confirmation of the key exchange and signature lists produced by dropbear -Q kex and dropbear -Q sig. Ask whether the sntrup761 and mlkem768 options are enabled in the shipped binary, and whether any post-quantum signature option is planned. Ask what the vendor has published on its roadmap and deprecation plans for classical host and user key algorithms. Ask who rebuilds and retests the image after a Dropbear update, how often security fixes ship, and what the support window is for each release. Request the build configuration file so you can compare it with the upstream localoptions.h defaults.
Can our team upgrade Dropbear ourselves, or do we need outside help?
Your team can do the upgrade if it already builds firmware or packages from source. The steps are to set DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 to 1 in localoptions.h in the build directory, build, then confirm the result with dropbear -Q kex. Teams without a build pipeline, or with many device models, often need outside help for the build system, image size testing, and retesting across clients. DeployOpen can plan, implement and test Dropbear deployments in your own infrastructure, and provides fixed-scope engagements with the scope and deliverables agreed in writing before work starts. A quote follows from that written scope.
How DeployOpen works on this
DeployOpen plans and carries out Dropbear post-quantum work inside the client's own infrastructure, starting from the build options and host key setup each device actually runs. The work is scoped in writing before it starts, with deliverables, testing and documentation agreed up front so the client's security and engineering teams can review every change.
How we scope
- We inventory which Dropbear builds and releases run on each device, router or appliance in scope.
- We record the current key exchange, signature and cipher defaults, and whether
localoptions.his already customized. - The written scope names the target builds, the test devices and the acceptance criteria before work begins.
How we build
- We set
DROPBEAR_SNTRUP761andDROPBEAR_MLKEM768inlocaloptions.hfor the agreed builds, then confirm the result with-Q kex. - We test client compatibility with
dbclientand the OpenSSH clients the client actually uses, covering both hybrid key exchanges. - We check firmware size and memory impact on the target platforms, since the 2025.87 release notes say post-quantum additions increase code size.
How we hand over
- We deliver the build configuration, test results and a record of each algorithm that is enabled in each build.
- We document the rollback path for each device, including which earlier builds remain available.
- The handover includes notes for the client's own team on how to repeat the build and query the supported algorithms.
How we support
- Ongoing support is available as a retainer, covering upgrades when new Dropbear releases are published.
- We can retest affected devices after each firmware change so the algorithm record stays current.
- Questions about post-quantum signature support are answered from the vendor's published documentation, which lists no such option in the version reviewed.

