Does Dropbear's post-quantum key exchange fit our embedded fleet?
Product teams shipping routers and appliances that run Dropbear need to know whether the fleet can use post-quantum key exchange without a redesign. As of 2026-12-04, Dropbear's master branch enables the sntrup761 and mlkem768 hybrid key exchanges by default, both paired with x25519. Its signature and host key algorithms (RSA, DSS, ECDSA and Ed25519) remain classical, so the post-quantum change covers the key exchange only, not authentication. The answer rests on the master branch defaults in src/default_options.h, the 2025.87 CHANGES entry that added the post-quantum key exchanges, and the 2026.92 entry that fixed sntrup and mlkem builds on older debian/ packaging. The latest release listed on the Dropbear homepage is 2026.94, dated 23 July 2026.
Device-level migration depends on firmware builds, not on the source defaults alone. A shipped image reflects the Dropbear version and the localoptions.h settings chosen at build time, so teams should check which Dropbear version and which DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 values are compiled into each firmware branch. The reviewed man pages document no runtime switch for these key exchanges, so the -Q kex query on a built binary is the practical way to confirm what a device actually offers. Memory and flash budgets also matter, since the CHANGES entry notes that the post-quantum additions increase code size. Confirm the footprint of each target board before assuming the defaults will fit.
Product security leads, firmware engineers and fleet operations owners should read this page first, then the sibling pages on the Dropbear inventory and the requirements for hybrid key exchange. Client mix is a separate question: check which SSH clients connect to the fleet, because a client that does not offer sntrup761 or mlkem768 will fall back to classical key exchange. Confirm with the vendor or project which Dropbear build your firmware vendor ships, and record the answer per firmware family.
Which Dropbear releases and settings cover post-quantum key exchange
This table lists, by release, build option and algorithm class, what the Dropbear sources say about post-quantum key exchange and the classical defaults that remain. Read each row with its source and date, because the defaults apply to the master branch as checked on 2026-12-04. The main takeaway is that post-quantum support is limited to hybrid key exchange, and no post-quantum signature option appears in the sources reviewed.
| Item | What the sources say | Source and date |
|---|---|---|
| Release 2025.87 | Added post-quantum key exchange, with sntrup761 added by Matt Johnston and ML-KEM added by Loganaden Velvindron and others. The entry notes that the additions increase code size. | Dropbear CHANGES, release dated 5 March 2025 |
| Release 2026.92 | Fixed sntrup and mlkem builds on older platforms that use the debian/ directory packaging. | Dropbear CHANGES, release dated 6 July 2026 |
| DROPBEAR_SNTRUP761 | Defaults to 1 (enabled). Described as a hybrid with x25519 and recommended against possible future decryption by quantum computers. | Dropbear default_options.h, checked 2026-12-04 |
| DROPBEAR_MLKEM768 | Defaults to 1 (enabled). Described as a hybrid with x25519, with the same recommendation as sntrup761. | Dropbear default_options.h, checked 2026-12-04 |
| ML-KEM-1024 option | The sources list no ML-KEM-1024 option in default_options.h. | Dropbear default_options.h, checked 2026-12-04 |
| Post-quantum signatures | The sources list no post-quantum signature option, such as ML-DSA or SLH-DSA. Confirm with the vendor before assuming otherwise. | Dropbear default_options.h, checked 2026-12-04 |
| Classical key exchange defaults | DH group14 with SHA-256, curve25519 and ECDH are on. Group14 SHA-1, group16 and group1 are off, and group1 is allowed in the client only. | Dropbear default_options.h, checked 2026-12-04 |
| Classical signature and host key defaults | RSA, Ed25519 and ECDSA are on, RSA with SHA-1 and DSS are off, and security-key keys are on for the server only. RSA defaults to 2048 bits. | Dropbear default_options.h, checked 2026-12-04 |
Which parts of a Dropbear device the migration touches
A Dropbear migration touches more than the server binary. The components below are the ones a planner must count, because each one is read, configured or generated differently once a post-quantum key exchange is enabled. Confirm each item against the exact build and firmware on the target device.
Key exchange algorithms
Dropbear's default build enables DH group14 with SHA-256, curve25519 and ECDH for key exchange. Its source also lists two post-quantum hybrids, sntrup761 with x25519 and mlkem768 with x25519, both enabled by default in the master branch reviewed on 2026-12-04. Check which of these your firmware build actually includes, because the post-quantum options were added in release 2025.87 and older images will not have them.
default_options.hHost keys read at startup
By default, the server reads host key files from /etc/dropbear/ at startup, including the Ed25519, DSS, RSA and ECDSA variants. The -r option loads a key file in the format dropbearkey generates and stops the default host keys from loading. The -R option generates host keys in the default location after startup, when the first connection arrives. Inventory which host key files each device holds and which option its init script passes.
User keys in authorized_keys
The server accepts Ed25519, RSA or ECDSA user keys listed in ~/.ssh/authorized_keys, with per-key restrictions such as no-pty, command= and permitopen=. Post-quantum key exchange changes how the session key is agreed, not the format of these user keys, so existing entries still need review as an authentication path. Count the accounts and keys on each device, and note any that rely on RSA or ECDSA signatures.
Client side with dbclient
Clients on the device use dbclient, and the -c and -m options take comma-separated lists of ciphers and MACs, with help listing the choices. Runtime selection depends on DROPBEAR_USER_ALGO_LIST being enabled at build time. Use dbclient -Q kex to confirm which key exchanges a given build supports, and test every client that connects to your servers, since older clients may not offer a post-quantum method.
Query support with -Q
Both dropbear and dbclient accept -Q with the categories kex, sig, cipher, mac and compress to list what a build supports. Run these queries on each firmware image, not on a reference build, because the same version number can ship with different options. The output is the fastest way to record the algorithm set for the inventory.
Build-time configuration in localoptions.h
Algorithm choices are made at build time by editing localoptions.h in the build directory. The post-quantum key exchanges are controlled by DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768, and the man pages reviewed document no runtime switch for them beyond the -Q kex query. Any change to these settings means rebuilding and reflashing the firmware, so plan that cost into the device schedule.
How the migration differs by device, build and client mix
Devices built from master or from a recent release that includes the sntrup761 and mlkem768 options are the closest to a hybrid key exchange being available. In the source reviewed on 2026-12-04, DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 both default to enabled, and each is described as a hybrid with x25519. The CHANGES file dates the first post-quantum key exchange to release 2025.87 of 5 March 2025. The latest listed release is 2026.94, dated 23 July 2026.
- Build-time switches: Both options are set in
localoptions.hin the build directory, with 1 to enable and 0 to disable. - No runtime switch: The man pages reviewed document no runtime setting for these options, apart from the
-Q kexquery that lists what a build supports. - Check the build: Run
dropbear -Q kexordbclient -Q kexon the built binary to confirm which key exchanges are present. - Image size: The 2025.87 entry says the post-quantum additions increase code size, which matters on small flash.
- Signatures unchanged: The algorithms listed for host keys and user keys are all classical, so this build changes key exchange only.
Confirm the exact release and build options on each device image before planning a rollout.
Devices built from older sources, or from the debian/ packaging path before release 2026.92, need a closer look before anyone assumes the hybrid options are available. The CHANGES file says release 2026.92, dated 6 July 2026, fixed sntrup and mlkem builds on older platforms that use the debian/ directory packaging. The sources reviewed do not say what the packaging path produced before that fix, so a build from that path should be tested rather than assumed.
- Fixed in 2026.92: Sntrup and mlkem builds on older platforms that use
debian/packaging are documented as fixed in this release. - Before the fix: The sources reviewed do not describe what a pre-2026.92
debian/build does with these options, so run the-Q kexquery on a sample image. - Older source trees: A build from sources that predate 2025.87 has no sntrup761 or mlkem768 option to set.
- Upgrade path: Moving to a current release requires rebuilding the image, which means a firmware update for each device model.
- Hardware limits: Whether a given device has enough memory and flash for the newer build is outside what these sources establish, so confirm it on the device.
Confirm the source revision and packaging path used for each firmware image before scoping the upgrade.
A device accepts connections from whatever SSH client a user or system brings, so the server build does not settle what a session negotiates. The clients connecting to a Dropbear device may be OpenSSH, PuTTY, or other SSH software, and the sources reviewed do not establish which of these offer the same hybrid algorithms as Dropbear. Dropbear's own dbclient can be checked with -Q kex, but that covers only the Dropbear client.
- Client lists differ: A hybrid key exchange on the server is used only when the client also offers it.
- Fallback behavior: The sources reviewed do not say how a session negotiates when a client offers no post-quantum option.
- Non-Dropbear clients: The sources reviewed do not list the hybrid options for OpenSSH, PuTTY, or other SSH software.
- Scripts and automation: Tools that pin an algorithm list with
-cor-mcan override the defaults, so review them. - Operator workstations: Administrators often connect from several client versions at once, so inventory them.
Confirm the client list with each client's own documentation and test a representative connection from each before counting a fleet as covered.
What to check on each device before you plan a firmware update
This sequence establishes which Dropbear version runs on each device, what its build supports, and whether the post-quantum key exchange options are compiled in. It ends with a test connection, so the team plans firmware changes from observed behavior rather than assumptions.
Inventory the Dropbear version on each device
Record the Dropbear version running on every router, appliance and embedded device, along with the hardware model, firmware image and the build source (vendor image, community build or in-house build). Run the binary's version output on each device, or read it from the firmware manifest if the device cannot be logged into. Compare each version against the Dropbear CHANGES file, which records release 2025.87 as the first release to add post-quantum key exchange and release 2026.92 as the fix for sntrup and mlkem builds on platforms using the debian/ directory packaging. This step is done when every device has a recorded version and build source, with any device that cannot report a version marked as unknown.
Run dropbear -Q kex to list supported algorithms
On a sample of devices from each firmware family, run dropbear -Q kex, and run dbclient -Q kex on the client build if you use one. The output lists the key exchange algorithms the build supports, which shows whether sntrup761x25519 and mlkem768x25519 appear in the list. The man pages document -Q with the options kex, sig, cipher, mac and compress, so the same query can also show signature and cipher support for the wider inventory. This step is done when each firmware family has a recorded kex list. Treat that list as the build's capability, not as proof that the post-quantum options are active in every connection.
Check localoptions.h for the post-quantum options
In the build directory for each firmware family, open localoptions.h and check the settings for DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768. The defaults in src/default_options.h set both to 1 (enabled), so a build that sets either to 0 has disabled that algorithm at compile time. Compare the localoptions.h values with the -Q kex output from the previous step, because the two should agree. If they do not agree, the device may be running a build from a different source tree than the one you are reviewing. This step is done when each build directory has a recorded value for both settings and each value matches the observed kex list.
Confirm the packaging path for each build
For each firmware family, identify how the Dropbear package is produced and whether it uses the debian/ directory packaging path that release 2026.92 addresses. Record the packaging method, the build host and the person or vendor who owns the build pipeline. Ask the vendor or build owner to confirm that their packaging includes the sntrup and mlkem code and that a later rebuild will keep the localoptions.h values you checked. The sources reviewed list no runtime switch for these algorithms, so the build pipeline is the only documented point of control. This step is done when each firmware family has a named owner, a packaging method and a written confirmation from the owner about the post-quantum options.
Test a connection with an intended client
Connect to a test device from each client you intend to use, such as dbclient, OpenSSH or a vendor management tool, and record which key exchange algorithm the session negotiates. Use dbclient -c and -m only where the build supports runtime algorithm lists, since those options depend on DROPBEAR_USER_ALGO_LIST. A client that does not offer sntrup761x25519 or mlkem768x25519 will fall back to a classical exchange even when the server supports the hybrid option. This step is done when each client and device pair has a recorded negotiated key exchange, and any pair that falls back to a classical algorithm is listed for follow-up.
How the key exchange choice flows from build options to a negotiated session
The path starts in localoptions.h in the Dropbear build directory, where DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 are set to 1 or 0. The compiled build then answers a -Q kex query listing the key exchange algorithms it supports, and a client negotiates from that list when it connects. The post-quantum options are hybrids with x25519, so host key and user key signatures remain classical (RSA, ECDSA, Ed25519) in every path. Check the -Q kex output on the built binary, not only the config file, to confirm what a device will offer.
Build options set the key exchange list, which a client negotiates while host key signatures stay classical.
What the Dropbear sources do not publish and what to ask the project or vendor
The Dropbear sources list which algorithms the code builds and defaults to, but they do not settle several decisions a migration depends on. Each card below names one open point, the sources' position on it, and who to ask before you fix a scope for devices in the field.
Post-quantum signature or host key support
The default_options.h file names no post-quantum signature option. Its host key and user key algorithms are RSA, DSS, ECDSA and Ed25519, all classical. The sources record no plan to add ML-DSA, SLH-DSA or any other post-quantum signature. Ask the Dropbear project whether one is planned, and ask the device vendor whether its firmware build carries one. Until an answer is in writing, treat host key and login signatures as classical in your inventory.
default_options.hWhether an ML-KEM-1024 option exists
The only ML-KEM option in default_options.h is mlkem768 with x25519. The sources list no ML-KEM-1024 option and record no plan to add one. Ask the project whether a higher-level ML-KEM parameter set is on its roadmap, and ask the firmware maintainer whether a patched build offers it. If your policy requires a specific parameter set, confirm this before you commit device counts or firmware dates.
default_options.hPublished roadmap and deprecation notices
The Dropbear homepage lists 2026.94, dated 23 July 2026, as the latest release. The sources do not include a published post-quantum roadmap, a transition guide or a deprecation notice for classical algorithms. Ask the project for any such document and its date. Ask the device vendor whether it has its own notice for the firmware it ships. Record the answer with the date it was given, since the project's position may change between releases.
Dropbear homepageClient versions that negotiate hybrid algorithms
The sources show that sntrup761 and mlkem768 are enabled by default in the build, and that dbclient and dropbear can list supported algorithms with -Q kex. They do not list which external SSH clients negotiate these hybrids, or which client versions do so. Ask the device vendor which clients your staff and automation use. Test each client version against a lab build with -Q and a real connection, and record the negotiated kex in your inventory.
dbclient man pageRuntime control of hybrid key exchange
The sources record that sntrup761 and mlkem768 are switched on or off at build time through localoptions.h. They document no runtime switch apart from the -Q query. Ask the project whether a runtime setting is planned for devices that cannot be rebuilt. Ask the firmware maintainer how it will ship a changed build to devices already in the field, since that decides how many units you can move in one update.
Dropbear INSTALL.mdWhat can break or silently fall back to classical algorithms
The most likely failure in a Dropbear migration is not an error but a quiet downgrade. The post-quantum key exchanges, sntrup761 and mlkem768, are enabled by default through the DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 options in src/default_options.h, but these are build-time switches. A firmware image built with either option set to 0, or built from a localoptions.h that overrides the defaults, will still complete key exchange using the classical algorithms that remain on, including curve25519, ECDH and DH group14. No warning appears on the device or in the client. The reader should confirm the value of both options in every firmware build and check the negotiated kex on a sample of devices, using dbclient -Q kex or the equivalent query on the build itself, rather than assuming the defaults survived the build.
Packaging adds a second risk. The CHANGES file records that release 2026.92, dated 6 July 2026, fixed sntrup and mlkem builds on older platforms that use the debian/ directory packaging. Teams that rebuild Dropbear from older packaging, or that carry a patched tree based on an earlier release, may therefore produce images where the post-quantum options fail to build or are dropped. The reader should confirm which packaging path each product line uses and whether the build that ships includes 2026.92 or a later release, and should treat any image built before that fix as unverified for post-quantum key exchange.
Two further points affect planning. The CHANGES entry for 2025.87 states that the post-quantum additions increase code size, and that sntrup761 is at least recommended, but it gives no figures. Flash and RAM budgets on small routers and appliances therefore need to be measured on the actual target toolchain rather than estimated from the release notes. Finally, the post-quantum options cover key exchange only. Host keys (RSA, ECDSA and Ed25519) and user keys remain classical, because default_options.h offers no post-quantum signature algorithm. A device can complete a post-quantum key exchange and still authenticate with a classical host key, so inventory teams should record the signature side separately.
Questions device teams ask about Dropbear post-quantum migration
Is Dropbear quantum safe?
Dropbear does not offer a quantum-safe configuration in the sense of a full post-quantum deployment. The sources show that the version reviewed supports post-quantum hybrid key exchange only: sntrup761 combined with x25519, and mlkem768 combined with x25519. Both are enabled by default in src/default_options.h on the master branch as of 2026-12-04. The sources list no post-quantum signature algorithm, such as ML-DSA or SLH-DSA. Host key and user key signatures are still RSA, DSS, ECDSA or Ed25519, all classical. This means session key exchange can be protected against future decryption of recorded traffic, while authentication of the device and the user still relies on classical public-key cryptography. Before writing anything about safety to a customer, confirm this split against the release you ship, because it determines what a certificate or key-inventory entry should say.
Which Dropbear release adds post-quantum key exchange?
Release 2025.87, dated 5 March 2025, added post-quantum key exchange according to the Dropbear CHANGES file. sntrup761 was added by Matt Johnston and ML-KEM support was added by Loganaden Velvindron and others. The same CHANGES entry says SHA-1 algorithms are disabled by default and that the post-quantum additions increase code size, with sntrup761 at least recommended on constrained builds. For embedded teams this is the first release to check. A separate fix matters for older platforms: release 2026.92, dated 6 July 2026, fixed sntrup and mlkem builds on platforms that use the debian/ directory packaging. If your firmware is built from debian/ packaging, plan to take 2026.92 or later rather than 2025.87 alone. The homepage lists 2026.94, dated 23 July 2026, as the latest release. Confirm which version your build system pulls before you commit to a target, since the sources do not say whether later patch releases change these defaults.
Does Dropbear post-quantum support cost extra?
The sources do not state any price for Dropbear post-quantum support, and they do not describe a paid tier or license for the feature. Dropbear is described as MIT-style licensed, so the software itself carries no license fee in the sources shown. Cost for a device team is usually about engineering time: changing build options, rebuilding firmware, testing on each hardware target, and maintaining the change across future releases. Those costs recur with every Dropbear update. Costs also rise if the device has tight flash or RAM, because the post-quantum code increases code size and may force a hardware or memory review. Ask your build team to estimate the work per platform, and ask any commercial support provider for a written quote tied to a defined scope. DeployOpen plans, implements and tests such changes under fixed-scope engagements agreed in writing before work starts, and does not publish a price list, so a quote follows from the scope you define.
What breaks when Dropbear moves to post-quantum key exchange?
The main risks come from the larger code and the change in negotiated algorithms, not from a change in login behavior. Enabling DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 adds code, so a build that already runs close to flash or RAM limits may fail to fit or may run out of memory. Clients that do not offer the hybrid algorithms will continue to negotiate a classical key exchange, so a mixed fleet can end up on different algorithms, which an audit needs to capture. The sources also say SHA-1 algorithms are disabled by default, so an older client that depends on SHA-1 may fail to connect after the upgrade. Authorized keys in ~/.ssh/authorized_keys and host keys read from /etc/dropbear/ should keep working, since signature algorithms are unchanged, but test them. Remember that Dropbear cannot use encrypted host keys, so the key handling process stays as it is. Test each target platform, every client type your fleet uses, and a login path with password and public key authentication, including the restrictions in authorized_keys.
How do you enable post-quantum key exchange in a Dropbear build?
The sources show that you set the algorithm options at build time, not at runtime. Place DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 in localoptions.h in the build directory, with a value of 1 to enable or 0 to disable, as described in INSTALL.md and src/default_options.h. The man pages reviewed document no runtime switch for these algorithms, apart from the -Q option. Running dropbear -Q kex or dbclient -Q kex lists the key exchange algorithms a given build supports, which is the check to run on each firmware image before release. Dropbear's dbclient man page also documents -c and -m to give comma-separated lists of ciphers and MACs, with help listing the options, and DROPBEAR_USER_ALGO_LIST controls whether those options are available. Keep the localoptions.h file under version control so the chosen algorithms are recorded for every firmware build, and verify the output of -Q against that record. If a field device has to change its algorithms, the change requires a new firmware image rather than a setting change.
What should we ask Dropbear or our device vendor before committing?
Ask targeted questions that the sources cannot answer for you. First, ask which Dropbear release your vendor ships and whether it includes the 2026.92 fix for debian/ packaging builds. Second, ask whether any post-quantum signature or host key algorithm is planned, since the sources show none in the version reviewed. Third, ask for the flash and RAM figures measured with DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 enabled on your exact hardware, because the CHANGES entry says only that code size increases. Fourth, ask how the vendor will deliver updates to the post-quantum options across the device lifecycle, and whether the vendor has published a roadmap, notice or deprecation plan. Fifth, ask which clients are supported for hybrid key exchange, since mixed fleets change what your audit must record. Put the answers in writing and tie them to firmware version numbers. The sources do not record any vendor roadmap or notice on these points, so any statement you receive should be treated as a vendor position to be verified, not as a published fact.
Can our team make the Dropbear build changes ourselves, or do we need outside help?
A team with embedded build experience can usually make the build changes itself, because the change is a small set of options in localoptions.h and a rebuild, plus testing with -Q. The harder work is the validation: confirming that each hardware target fits in flash and RAM, that every client your fleet uses still connects, that authorized_keys restrictions still hold, and that the firmware update path works in the field. Those tasks take time and need test hardware and a test plan. Outside help makes most sense when you lack that test capacity, when your devices are shipped to many customers who need evidence, or when you need an independent record for an assessment. DeployOpen implements and tests changes like these in self-hosted and embedded environments under fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts, and it does not issue audit reports or certifications. Decide early which parts your team owns and which you will outsource.
How DeployOpen helps plan and carry out a Dropbear post-quantum migration
DeployOpen approaches scoping a Dropbear post-quantum migration as a written, fixed-scope engagement. We map where Dropbear runs across your routers, appliances and devices, then size the firmware, build and client changes each product line needs before any work begins.
How we scope
- We list every device model and firmware branch running Dropbear, including which releases and build options each one uses.
- We record which clients connect to each device, since client software determines whether hybrid key exchange can be negotiated.
- We agree the scope, deliverables and timeline in writing before any work starts, and quote from that written scope.
How we build
- We check the Dropbear version and localoptions.h settings on each target, and confirm whether sntrup761 or mlkem768 is compiled in.
- We test whether memory and flash limits on each device still fit the larger code that post-quantum key exchange adds.
- We verify key exchange negotiation against each client in your mix, using the -Q query and the -c and -m options where they apply.
How we hand over
- We deliver a per-device inventory showing the Dropbear version, algorithm settings and any remaining classical-only paths.
- We document the firmware build steps, the localoptions.h changes and the client verification results for your engineers to repeat.
- We record open questions for the vendor, such as post-quantum signature support, which the version reviewed does not offer.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after the scoped work is delivered.
- We can retest affected devices when a new Dropbear release, such as 2026.94, changes the build or algorithm defaults.
- We can help your team track vendor notices on the Dropbear roadmap so that future firmware decisions rest on published information.

