Which Dropbear functions depend on public-key cryptography today
Dropbear's host keys, user key logins and key exchange all rely on public-key cryptography by default. The defaults in src/default_options.h on the master branch, fetched 2026-12-04, enable RSA, ECDSA and Ed25519 for host and user key signatures, and DH group14, curve25519 and ECDH for key exchange. The Dropbear release 2025.87, dated 5 March 2025, added hybrid post-quantum key exchange using sntrup761 and mlkem768 with x25519, and those options are enabled by default in the master branch reviewed. The latest release listed on the project homepage is 2026.94, dated 23 July 2026. The sources reviewed name no post-quantum signature option, so host keys and user key logins remain classical in the version reviewed.
For an exposure review, separate the three dependencies. Host keys are read at startup from /etc/dropbear/ unless the -r option names a file, and the RSA default size is 2048 bits with a stated minimum of 1024. User logins can use Ed25519, RSA or ECDSA keys listed in ~/.ssh/authorized_keys, and the server options -s, -g and -t control whether password logins are allowed alongside keys. Key exchange is where the post-quantum option applies, and it is a build-time choice: setting DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 in localoptions.h turns the hybrids on or off. The man pages reviewed document no runtime switch for them, apart from the -Q kex query that lists what a build supports.
Confirm three things before recording an answer. First, check which build options your firmware or packages actually compiled, using -Q kex on the device or the build's localoptions.h, since a vendor build may differ from the master branch defaults. Second, check whether the client side negotiates the hybrid key exchange, because the hybrid only protects a session when both ends support it. Third, confirm with the device or appliance vendor whether they have published anything on signature support, since the reviewed sources do not describe a plan. Record host key and user key dependencies as classical, and record the key exchange as hybrid only where the build confirms it.
Which Dropbear functions use which public-key algorithms, by default
This table lists each Dropbear function that relies on public-key cryptography and the algorithms it uses by default in src/default_options.h on the master branch as of 2026-12-04. Read the default state column to see what is enabled out of the box, and check the source column before relying on a value for a specific release or build. Post-quantum key exchange is on by default, but no post-quantum signature or ML-KEM-1024 option appears in the version reviewed.
| Function | Algorithm | Default state | Source and date |
|---|---|---|---|
| Host keys | RSA, ECDSA, Ed25519 (DSS off) | RSA on at 2048 bits (minimum 1024), ECDSA on at largest size (usually 521), Ed25519 on, DSS off | default_options.h, checked 2026-12-04 |
| User key logins | RSA, ECDSA, Ed25519, security-key (sk) on server only | RSA, ECDSA and Ed25519 on, RSA with SHA-1 off, sk keys on at the server only | default_options.h and dropbear.8 man page, checked 2026-12-04 |
| Key exchange (classical) | curve25519, ECDH, DH group14 (SHA-256) | curve25519, ECDH and group14 SHA-256 on, group14 SHA-1, group16 off, group1 client only | default_options.h, checked 2026-12-04 |
| Key exchange (post-quantum hybrid) | sntrup761 with x25519, mlkem768 with x25519 | Both on by default (DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 set to 1) | default_options.h, checked 2026-12-04; CHANGES 2025.87 (5 March 2025) and 2026.92 (6 July 2026) |
| Signature algorithms | RSA, DSS, ECDSA, Ed25519 | All classical. No post-quantum signature option appears in default_options.h | default_options.h, checked 2026-12-04 |
| Post-quantum KEM sizes | ML-KEM-1024 | No option listed in default_options.h | default_options.h, checked 2026-12-04 |
Which parts of Dropbear touch RSA, ECDSA and Ed25519 keys
Dropbear uses public-key cryptography in four places: server host keys, user logins through authorized_keys, the authentication controls that decide which login methods are accepted, and the client's algorithm choices. Each place can use RSA, ECDSA or Ed25519, and each is configured separately, so an inventory must check all four rather than assume one setting covers them.
Server host keys
The server proves its identity to clients with a host key. By default, dropbear reads /etc/dropbear/dropbear_ed25519_host_key at startup, along with the DSS, RSA and ECDSA equivalents in the same directory. The -r option reads one explicit 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, so a device can hold keys that nobody created on purpose. Check which key files exist on each device and which options its init script passes. Dropbear cannot use encrypted host keys, so the key file's protection depends on the file system.
dropbear.8 man pageUser keys in authorized_keys
A user can log in with an Ed25519, RSA or ECDSA key listed in ~/.ssh/authorized_keys. Each entry can carry restrictions such as no-pty, command= and permitopen=, which limit what that key can do after login. The restrictions protect against misuse of a key but do not change the algorithm the key uses, so a classical key with tight restrictions still depends on classical signatures. Inventory every authorized_keys file on each device, record the key type and size of each entry, and identify keys that belong to former staff or unattended services.
dropbear.8 man pagePassword and key authentication controls
The server flags decide which login methods are accepted. -s disables password logins, -g disables root password logins, and -t requires both a password and a public key. These flags do not change the algorithms, but they determine whether a key is the only thing standing between an attacker and a shell. A device that accepts passwords still has public-key exposure in its host key, which an attacker can target during a man-in-the-middle attempt. Record the flags in each device's startup script and confirm them on the running process, since a firmware update can reset them.
dropbear.8 man pageClient algorithm selection in dbclient
When the client connects, it negotiates algorithms from the lists the build supports. The -c and -m options accept comma-separated lists of ciphers and MACs, and help lists the choices. These options exist only when the build sets DROPBEAR_USER_ALGO_LIST, so a build without it will reject them. The client's host key checking and key types also rely on RSA, ECDSA or Ed25519. Test each client version you rely on against each server build, since a mismatch can silently fall back to a weaker or different algorithm.
dbclient.1 man pageQuerying what a build supports
Both dropbear and dbclient accept -Q with the categories kex, sig, cipher, mac and compress, which list what the build actually offers. This is the most reliable way to confirm the signature and key exchange options on a device, because the defaults in source can differ from what was compiled in. Run the query on the exact binary installed on each device, not on a build from a development machine. Save the output with the device record so that a later audit can compare it against the inventory.
dbclient.1 man pageHow the answer changes by how the build and keys are set up
A Dropbear build from upstream source with no changes to localoptions.h uses the defaults in src/default_options.h on the master branch checked on 2026-12-04. In that configuration, the key exchange defaults include DH group14 with SHA-256, curve25519 and ECDH, and the post-quantum hybrids sntrup761 with x25519 and mlkem768 with x25519 are both enabled. Signature and host key defaults include RSA, ECDSA and Ed25519, with DSS and RSA with SHA-1 off. The only default MAC is HMAC-SHA2-256.
- Key exchange: curve25519, ECDH and group14 are on, and sntrup761 and mlkem768 are on as hybrids with x25519.
- Host keys: RSA defaults to 2048 bits with a stated minimum of 1024, and ECDSA defaults to the largest configured size, usually 521.
- User signatures: RSA, ECDSA and Ed25519 are enabled on the server, and security-key keys are enabled on the server only.
- Post-quantum scope: the sources list no ML-KEM-1024 option and no post-quantum signature option such as ML-DSA or SLH-DSA in this version.
Confirm the exact defaults by running dropbear -Q kex and dropbear -Q sig on the built binary, since the build you run may differ from the master branch reviewed here.
A build directory with a customized localoptions.h can change the dependency list. The sources say algorithm choices are made by editing options in localoptions.h, and that DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 are set to 1 or 0 there. Setting both to 0 removes the post-quantum key exchanges from the build, leaving the classical key exchanges as the only options. The man pages reviewed document no runtime switch for these algorithms beyond the -Q query, so the choice is fixed at build time.
- Post-quantum off: setting DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 to 0 removes the hybrid key exchanges, so sessions rely only on classical key exchange.
- Other option changes: disabling curve25519 or ECDH, or enabling DSS or SHA-1 options, changes which public-key algorithms are offered.
- Runtime visibility: run
dropbear -Q kexanddropbear -Q sigto confirm what the built binary actually offers. - Client side: dbclient supports -c and -m only when DROPBEAR_USER_ALGO_LIST is enabled in the build.
Record the localoptions.h file, the Dropbear release and the -Q output in your inventory, because the dependency list is determined by that build and not by the upstream defaults.
On a device that uses only ~/.ssh/authorized_keys for logins, the user authentication depends on the key types stored there. The dropbear.8 man page says authorized_keys can allow remote login with an Ed25519, RSA or ECDSA key, and per-key restrictions such as no-pty, command= and permitopen= apply to each entry. Each of these key types relies on classical public-key signatures, so the user authentication step depends on RSA, ECDSA or Ed25519 regardless of the key exchange chosen.
- Ed25519 keys: the signature is Ed25519, which the defaults enable on the server.
- RSA keys: the signature depends on RSA, and the default RSA size is 2048 bits with a stated minimum of 1024.
- Password options: -s disables password logins, -g disables root password logins, and -t requires both a password and a public key.
- Hybrid key exchange still applies: user keys do not change the key exchange, so sntrup761 or mlkem768 still protect the session if enabled at build time.
Check which key types appear in each authorized_keys file, and whether the device restricts logins with the -s, -g or -t options, since the sources do not describe post-quantum user signatures in this version.
What to check in your Dropbear inventory first
This sequence establishes which algorithms each Dropbear build offers, which host and user keys it presents, and which release it runs. The result is a record of where public-key cryptography is used and whether the post-quantum key exchange options are present, so you can decide what to verify or upgrade next.
Query supported algorithms on each build
On every Dropbear binary in your fleet, run
dropbear -Q kex,dropbear -Q sig, anddropbear -Q cipher, and alsodropbear -Q macif you want the full set. Run the same commands withdbclient -Qon any client builds. Save the output per device and per build. You are done when each build has a recorded list of key exchange, signature and cipher algorithms, and you can see whethersntrup761x25519andmlkem768x25519appear in the kex list.Confirm post-quantum flags in localoptions.h
Open the
localoptions.hfile used for each build and check the values ofDROPBEAR_SNTRUP761andDROPBEAR_MLKEM768. The defaults insrc/default_options.hare 1 (enabled). A value of 0 in your file means the build was compiled without that key exchange. Match what you read here against the kex output from the previous step. You are done when the flag values agree with the query output for every build.List host key files and their types
Inspect
/etc/dropbearon each server and record the files present, such asdropbear_ed25519_host_key,dropbear_rsa_host_key,dropbear_ecdsa_host_keyanddropbear_dss_host_key. Identify each file's type from its name and from the key-generation records you hold. If you start the server with-r, note that the default host key files are not loaded, so check the path you pass. You are done when every server has a list of its host key files with their algorithms and key sizes where you can confirm them.Review key types in authorized_keys
For each account that accepts logins, review
~/.ssh/authorized_keysand record the key type of every entry, which will be Ed25519, RSA or ECDSA. Also note any options such asno-pty,command=orpermitopen=and whether password logins are disabled with-s,-gor-t. Flag RSA and ECDSA keys for later review. You are done when each account has a list of key types and their restrictions, and you know which accounts depend on RSA or elliptic-curve user keys.Confirm release version against 2025.87
Record the release or commit of each build. Compare it with 2025.87, dated 5 March 2025, which added the post-quantum key exchange. Builds older than that release cannot offer sntrup761 or mlkem768. The Dropbear homepage lists 2026.94, dated 23 July 2026, as the latest release. You are done when every build is marked as at or above 2025.87, or as older and needing an upgrade, and the version source is noted for each.
What the post-quantum key exchange does and does not cover
The post-quantum option in Dropbear protects the session key exchange, not the identity of the server or the user. When sntrup761 or mlkem768 is used alongside x25519 in a hybrid key exchange, the session keys are derived from both the classical and post-quantum shared secrets. The intent, as the default_options.h comments state, is to avoid possible decryption by future quantum computers of traffic that is recorded today. Only the session key exchange is affected. Host key and user key authentication still rely on RSA, DSS, ECDSA or Ed25519, and the default_options.h file in the master branch reviewed on 2026-12-04 offers no post-quantum signature or host key algorithm.
For a security lead, this means the post-quantum setting reduces one exposure, recorded session traffic, while leaving the authentication layer unchanged. A host key or user key recovered by a future quantum computer could still allow impersonation of the server or login as the user, even where the session key exchange is hybrid. Confirm which host key types are generated and loaded on each device, the default size for RSA keys, and which authorized_keys entries exist for users, since those keys determine what a quantum attacker would need to forge.
The sources reviewed do not establish that a Dropbear build with these options is compliant with any standard or is quantum safe. Confirm with the vendor or project which algorithms appear in a given release, and whether hybrid key exchange is enabled in the firmware you deploy. Check the build with dropbear -Q kex and dbclient -Q kex, which list the key exchange algorithms the binary supports, and treat that output as the build's capability rather than as a security assessment.
What the sources do not show for Dropbear, and what to ask
The sources listed on this page cover Dropbear's default algorithms and build options, but they leave gaps on signatures, key sizes, runtime control and future plans. Each card names one gap and the question to put to the project or the vendor before relying on Dropbear's exposure assessment.
No post-quantum signature or host key option
The default_options.h file lists RSA, DSS, ECDSA and Ed25519 for host keys and user keys, and it names no post-quantum signature algorithm such as ML-DSA or SLH-DSA. The post-quantum options it does list are key exchange only. Ask the project whether any post-quantum host key or user key signature is planned, and whether a build in the reviewed version can authenticate with one. Until that answer is in writing, treat host and user authentication as classical in your inventory.
default_options.hNo ML-KEM-1024 option
The build options show sntrup761 with x25519 and mlkem768 with x25519 as the only post-quantum key exchanges, and no ML-KEM-1024 setting. Teams whose policy names the higher ML-KEM parameter set cannot meet it with the options listed here. Ask the project whether an ML-KEM-1024 hybrid is planned, and which release would carry it. Record the gap against any internal or customer requirement that names that parameter set.
Algorithm optionsNo runtime switch for post-quantum key exchange
The post-quantum key exchange is enabled or disabled by setting DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 in localoptions.h, which means a rebuild. The reviewed man pages offer no runtime switch for them, apart from the -Q option that lists supported algorithms. Ask the vendor or project whether a runtime setting is planned, and whether firmware shipped with these options fixed at build time can be changed in the field. Note that a change of this kind is a build and firmware change, not a configuration change.
INSTALL.mdNo vendor roadmap statement
The sources listed on this page do not include a published post-quantum roadmap, deprecation plan or transition notice from the Dropbear project. The homepage and CHANGES file record what has shipped, not what is planned. Ask the project directly whether it has a written post-quantum plan, and whether any date has been set for disabling classical-only key exchange or signatures. Ask the same question of the firmware vendor that packages Dropbear in your devices, since that vendor may publish a schedule the project does not.
Dropbear homepageWhat can go wrong when checking Dropbear's key exchange and signatures
The most common mistake when checking Dropbear's post-quantum key exchange is assuming that a build with the feature present will use it. Dropbear builds before 2025.87 have no post-quantum key exchange at all, because the sntrup761 and ML-KEM options were added in the 2025.87 release dated 5 March 2025. A check that only confirms the server is running Dropbear, without confirming the version, will miss this. Confirm the release number on each device with the binary or package version, and treat anything older than 2025.87 as having classical key exchange only.
Packaging can also break a build that looks current. Release 2026.92, dated 6 July 2026, fixed sntrup and mlkem builds on older platforms that use the debian/ directory packaging. An operator who compiles from source or installs a distribution package on one of these platforms should check that the installed binary actually reports sntrup761 or mlkem768 through dropbear -Q kex or dbclient -Q kex, rather than relying on the version string alone. Confirm the result on the device itself, because the sources listed on this page do not say which distribution packages carry the fix.
Even on a current build, the key exchange that is used depends on what the client offers. The post-quantum options are hybrids with x25519, and a client that does not offer sntrup761 or mlkem768 will negotiate a classical key exchange. Testing with one client therefore proves little about the rest of the fleet. Use the client mix in your environment, including scripts, backup jobs and embedded tools, and record which key exchange each one negotiates. Also note that the 2025.87 notes say the added code increases size, which matters on constrained devices: if a device is tight on flash or memory, a build with these options enabled may not fit, so confirm the footprint on the target hardware before the change.
Questions security leads ask about Dropbear's public-key dependencies
Is Dropbear quantum safe?
The sources do not support calling Dropbear quantum safe. In the version reviewed, the default build enables hybrid post-quantum key exchange, sntrup761 and mlkem768, each paired with x25519. Those protect the session key exchange. The sources name no post-quantum signature algorithm, so host keys and user keys still rely on RSA, DSS, ECDSA or Ed25519. Dropbear's own defaults call sntrup761 and mlkem768 recommended to guard against future quantum decryption. Confirm the current status with the Dropbear project before you record an answer.
Which Dropbear release added post-quantum key exchange?
Release 2025.87, dated 5 March 2025, added post-quantum key exchange according to the project's CHANGES file. sntrup761 was added by Matt Johnston, and ML-KEM support was added by Loganaden Velvindron and others. The same entry says SHA-1 algorithms are disabled by default and that the additions increase code size. Release 2026.92, dated 6 July 2026, later fixed sntrup and mlkem builds on older platforms that use the debian/ packaging, so check that release if you build from packages on older systems.
What changes if we disable post-quantum key exchange in Dropbear?
Disabling it is a build-time change, not a runtime switch. Set DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768 to 0 in localoptions.h in the build directory, then rebuild. The project's default_options.h documents these options, and the man pages reviewed list no runtime switch for them, apart from the -Q option, which queries supported key exchanges. After a rebuild, run dropbear -Q kex or dbclient -Q kex to confirm which key exchanges the binary offers. Sessions then negotiate from the classical set, such as curve25519 and DH group14.
Does turning on post-quantum key exchange in Dropbear cost extra?
The sources give no price for enabling it, and no licensing fee is named in them. The cost is engineering effort and binary size. The 2025.87 CHANGES entry says the post-quantum additions increase code size, and it recommends at least sntrup761. On embedded targets, check that the extra code fits your flash budget. Ask your Dropbear supplier or build team to confirm the size impact on your target, and to say whether any support or licensing charges apply to your firmware. Those are the cost drivers to put in a quote request.
Can our team change Dropbear's key exchange settings without outside help?
Your team can likely make the change alone if you build Dropbear from source and can edit localoptions.h. The work is a few option edits, a rebuild and the -Q query checks. Ask for outside help if your devices run firmware built by a third party, if you need to verify the change across many device models, or if you must show evidence for an assessment. Before you start, read the build notes in INSTALL.md and the defaults in default_options.h, and record the release and option values you used.
Does Dropbear offer post-quantum signatures for host and user keys?
Not in the version reviewed. The algorithms listed in default_options.h for signatures are RSA, DSS, ECDSA and Ed25519, all classical. The file names no ML-DSA or SLH-DSA option. Host keys are read from files such as /etc/dropbear/dropbear_ed25519_host_key, and user logins from ~/.ssh/authorized_keys, so both still depend on RSA, ECDSA or Ed25519 keys. Record this as a gap for authentication, and check the project's roadmap for any change.
How can we check which key exchanges a Dropbear build offers?
Run dropbear -Q kex for the server or dbclient -Q kex for the client. Both man pages document the -Q option with the lists kex, sig, cipher, mac and compress. Compare the output with your inventory, and look for sntrup761 and mlkem768 combined with x25519. Record the binary version and build options with the result, since the sources tie each setting to a specific release and build directory.
How DeployOpen helps teams review Dropbear key dependencies
DeployOpen reviews where a Dropbear build depends on RSA, ECDSA and Ed25519 keys for host and user authentication and on curve25519, ECDH and DH group14 for key exchange, then records the result against the exact build and configuration in use. The output is a dated record that your security and vendor-risk teams can check against their own environment.
How we scope
- Agree in writing which Dropbear versions, builds and devices fall inside the review before work starts.
- Confirm which host key types are loaded at startup, including any -r override, and which are generated with -R.
- Record which user login methods are allowed, such as password, public key or both, using the -s, -g and -t settings.
How we build
- Read localoptions.h and the build output to list the key exchange, host key, user key and cipher algorithms compiled in.
- Check the dbclient -c and -m lists and the -Q query output against the build, so the record shows what is actually supported.
- Review authorized_keys files for allowed key types and restrictions such as no-pty, command= and permitopen=.
How we hand over
- Deliver a dependency map that lists each public-key use, the build option that controls it and the default value found.
- Document the post-quantum key exchange settings, DROPBEAR_SNTRUP761 and DROPBEAR_MLKEM768, and whether each is enabled in the reviewed build.
- Provide a findings record with the commands run, the source versions checked and the items your team must confirm with the vendor.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and retesting after a firmware or Dropbear release are available as a retainer.
- Retesting after changes to localoptions.h or device firmware confirms that the recorded dependencies still match the deployed build.

