secrets-index, our public benchmark
Don't trust us. Check it.
With a key file, fastsecrets beat every tool we tested on two Macs and a Linux server. With the key locked in the Secure Enclave chip, it beat every tool that asks the chip on each read. One honest catch: fnox's background helper is faster on the chip, because it keeps your secrets decrypted in memory the whole time it runs. Its row sits beside ours in every chip table below.
Research footnote
Protocol v0.3.1. Per measured op; there is no dump row; counts are for the default build. "Software" means an unencrypted key file at rest plus a names-only index. Chip numbers are compared with the cache-free field (fnox, sops), with fnox's plaintext-cache daemon row shown beside them. Medians of session medians, in milliseconds.
How to read the tables
- One table per mode per machine. Each row is one operation:
get1reads one secret,get5five,get1biga 4 KB value,run1andrun5start a child program with secrets in its environment,run1-maskedalso filters its output,missandwrongkeymust fail cleanly,coldis the first read after caches are cleared,par20is 20 reads at once, and theget1.s500,s5000andscope5rows use larger stores. - "Fastest rival in this field" is the rival row with the lowest median for that op. The last column is the worst verdict against every rival in the field.
- A win has to be clear. A small or uncertain gap counts as a tie.
- No paired comparison means the rival ran in the separate slow pass (median over 250 ms), so the protocol gives no verdict. Those rows are not counted as wins.
- No cross-machine comparisons. Each machine stands alone.
Research footnote
A win needs the 95% bootstrap interval of the paired median difference to exclude zero and the difference to exceed both 0.5 ms and 5% of the faster row. Otherwise it is a tie.
macOS, Apple M5 Pro (18 cores)
Research footnote
Generated from expected/headline.md and expected/claims_tables.md (M5, sessions kept: 15 of 15). fastsecrets rows are the default build.
- Software mode (unencrypted key file at rest plus a names-only index), default build
fastsecretsvs every rival row with a plaintext key file, per measured op (13 ops; fastsecrets has no dump row): 39 win, 4 no paired comparison out of 43 comparisons. get1 median: fastsecrets 3.24 ms, fnox 6.74 ms, fnox daemon 7.93 ms, sops 12.82 ms. 4 not paired because the two rows ran in different passes (rows with a median over 250 ms run in a separate slow pass; pass.gpg.get5 fell in different passes in different sessions): dotenvx.file.get1 (455.92 ms), dotenvx.npm-node.get1 (531.84 ms), pass.gpg.cold (453.67 ms), pass.gpg.get5 (207.57 ms). - Chip mode (Secure Enclave key, no prompt), default build vs the cache-free field (fnox and sops chip rows): 25 win out of 25 comparisons. Beside it, vs fnox's plaintext-cache daemon row
fnox.se-tag-daemon: 2 win, 7 LOSS out of 9. get1 median: fastsecrets 9.02 ms, fnox 17.90 ms, sops 25.68 ms, fnox daemon (cache) 8.00 ms. - Sessions used: 15 of 15.
Chip tables show the se-p256tag rows (the cold row exists only as se-tag). The chip bullet above quotes the se-tag get1 row; the two tie within the rule. Every recipient type has its own rows in expected/claims_tables.md.
Software mode: default build vs every rival with a plaintext key file
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
cold | 3.69 | fnox.soft.cold | 7.22 | -3.59 [-4.04, -3.26] | win | no paired comparison with pass.gpg.cold (slow pass) |
get1 | 3.24 | secretspec.dotenv-plaintext.get1 | 5.14 | -1.93 [-2.01, -1.86] | win | no paired comparison with dotenvx.file.get1 (slow pass) |
get1.s500 | 3.34 | fnox.soft.get1.s500 | 8.07 | -4.80 [-4.95, -4.70] | win | wins vs all 1 |
get1.s5000 | 4.56 | fnox.soft.get1.s5000 | 23.11 | -18.56 [-18.98, -18.20] | win | wins vs all 1 |
get1.scope5 | 3.27 | fnox.soft.get1.scope5 | 6.76 | -3.51 [-3.61, -3.43] | win | wins vs all 1 |
get1big | 3.22 | fnox.soft.get1big | 6.66 | -3.43 [-3.54, -3.33] | win | wins vs all 3 |
get5 | 3.21 | fnox.soft.get5 | 6.92 | -3.70 [-3.85, -3.61] | win | no paired comparison with pass.gpg.get5 (slow pass) |
miss | 3.02 | fnox.soft.miss | 6.48 | -3.42 [-3.57, -3.33] | win | wins vs all 4 |
par20 | 8.31 | fnox.soft.par20 | 16.04 | -7.09 [-7.46, -6.51] | win | wins vs all 2 |
run1 | 4.70 | fnox.soft.run1 | 8.28 | -3.65 [-3.79, -3.53] | win | wins vs all 6 |
run1-masked | 5.82 | fnox.soft.run1-masked | 8.43 | -2.62 [-2.73, -2.53] | win | wins vs all 4 |
run5 | 4.75 | fnox.soft.run5 | 8.63 | -3.91 [-4.02, -3.83] | win | wins vs all 2 |
wrongkey | 3.04 | age.soft.wrongkey | 3.69 | -0.67 [-0.70, -0.65] | win | wins vs all 1 |
Chip mode (Secure Enclave, no prompt): the cache-free field, fnox and sops
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
coldse-tag | 9.49 | fnox.se-tag.cold [cross-type piv-p256 vs p256tag] | 18.99 | -9.40 [-10.43, -8.56] | win | wins vs all 1 |
get1se-p256tag | 9.05 | fnox.se-tag.get1 | 17.90 | -8.74 [-8.95, -8.56] | win | wins vs all 2 |
get1bigse-p256tag | 9.01 | fnox.se-tag.get1big | 17.86 | -8.77 [-8.95, -8.56] | win | wins vs all 2 |
get5se-p256tag | 9.06 | fnox.se-tag.get5 | 61.26 | -52.00 [-52.63, -51.43] | win | wins vs all 1 |
missse-p256tag | 3.07 | fnox.se-tag.miss | 6.53 | -3.42 [-3.52, -3.32] | win | wins vs all 2 |
par20se-p256tag | 93.25 | fnox.se-tag.par20 | 119.56 | -25.72 [-27.02, -24.81] | win | wins vs all 1 |
run1se-p256tag | 10.53 | fnox.se-tag.run1 | 19.36 | -8.91 [-9.09, -8.75] | win | wins vs all 2 |
run1-maskedse-p256tag | 11.77 | fnox.se-tag.run1-masked | 19.66 | -7.80 [-7.98, -7.63] | win | wins vs all 1 |
run5se-p256tag | 10.61 | fnox.se-tag.run5 | 62.86 | -51.99 [-52.63, -51.38] | win | wins vs all 1 |
Chip mode beside fnox's plaintext-cache daemon row, fnox.se-tag-daemon
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
coldse-tag | 9.49 | fnox.se-tag-daemon.cold (daemon) | 75.25 | -65.64 [-67.10, -64.61] | win | wins vs all 1 |
get1se-p256tag | 9.05 | fnox.se-tag-daemon.get1 (daemon) | 8.00 | +1.04 [+0.92, +1.12] | loss | loss |
get1bigse-p256tag | 9.01 | fnox.se-tag-daemon.get1big (daemon) | 8.07 | +0.98 [+0.86, +1.07] | loss | loss |
get5se-p256tag | 9.06 | fnox.se-tag-daemon.get5 (daemon) | 8.00 | +1.03 [+0.89, +1.15] | loss | loss |
missse-p256tag | 3.07 | fnox.se-tag-daemon.miss (daemon) | 6.47 | -3.39 [-3.51, -3.30] | win | wins vs all 1 |
par20se-p256tag | 93.25 | fnox.se-tag-daemon.par20 (daemon) | 19.83 | +73.91 [+73.45, +74.20] | loss | loss |
run1se-p256tag | 10.53 | fnox.se-tag-daemon.run1 (daemon) | 9.57 | +0.97 [+0.82, +1.09] | loss | loss |
run1-maskedse-p256tag | 11.77 | fnox.se-tag-daemon.run1-masked (daemon) | 9.70 | +2.10 [+2.00, +2.17] | loss | loss |
run5se-p256tag | 10.61 | fnox.se-tag-daemon.run5 (daemon) | 9.64 | +0.93 [+0.84, +1.04] | loss | loss |
macOS, MacBook Air, Apple M4 (10 cores)
Research footnote
Generated from expected/headline.md and expected/claims_tables.md (AIR, sessions kept: 15 of 15). fastsecrets rows are the default build.
- Software mode (unencrypted key file at rest plus a names-only index), default build
fastsecretsvs every rival row with a plaintext key file, per measured op (13 ops; fastsecrets has no dump row): 41 win, 2 no paired comparison out of 43 comparisons. get1 median: fastsecrets 2.92 ms, fnox 5.88 ms, fnox daemon 7.18 ms, sops 11.62 ms. 2 not paired because the two rows ran in different passes (rows with a median over 250 ms run in a separate slow pass; pass.gpg.get5 fell in different passes in different sessions): dotenvx.file.get1 (476.08 ms), dotenvx.npm-node.get1 (564.70 ms). - Chip mode (Secure Enclave key, no prompt), default build vs the cache-free field (fnox and sops chip rows): 25 win out of 25 comparisons. Beside it, vs fnox's plaintext-cache daemon row
fnox.se-tag-daemon: 2 win, 7 LOSS out of 9. get1 median: fastsecrets 8.52 ms, fnox 16.27 ms, sops 23.61 ms, fnox daemon (cache) 7.15 ms. - Sessions used: 15 of 15.
Chip tables show the se-p256tag rows (the cold row exists only as se-tag). The chip bullet above quotes the se-tag get1 row; the two tie within the rule. Every recipient type has its own rows in expected/claims_tables.md.
Software mode: default build vs every rival with a plaintext key file
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
cold | 2.94 | fnox.soft.cold | 5.67 | -2.71 [-2.74, -2.68] | win | wins vs all 3 |
get1 | 2.92 | secretspec.dotenv-plaintext.get1 | 4.51 | -1.56 [-1.63, -1.45] | win | no paired comparison with dotenvx.file.get1 (slow pass) |
get1.s500 | 3.07 | fnox.soft.get1.s500 | 7.38 | -4.30 [-4.33, -4.28] | win | wins vs all 1 |
get1.s5000 | 4.31 | fnox.soft.get1.s5000 | 22.64 | -18.34 [-18.38, -18.30] | win | wins vs all 1 |
get1.scope5 | 3.01 | fnox.soft.get1.scope5 | 6.00 | -2.97 [-3.00, -2.94] | win | wins vs all 1 |
get1big | 2.93 | fnox.soft.get1big | 5.85 | -2.94 [-2.97, -2.90] | win | wins vs all 3 |
get5 | 2.95 | fnox.soft.get5 | 6.24 | -3.28 [-3.31, -3.25] | win | wins vs all 4 |
miss | 2.74 | fnox.soft.miss | 5.70 | -2.94 [-2.97, -2.91] | win | wins vs all 4 |
par20 | 10.18 | fnox.soft.par20 | 20.62 | -10.45 [-10.52, -10.28] | win | wins vs all 2 |
run1 | 4.28 | fnox.soft.run1 | 7.38 | -3.09 [-3.13, -3.06] | win | wins vs all 6 |
run1-masked | 5.03 | fnox.soft.run1-masked | 7.44 | -2.42 [-2.44, -2.39] | win | wins vs all 4 |
run5 | 4.33 | fnox.soft.run5 | 7.72 | -3.40 [-3.43, -3.37] | win | wins vs all 2 |
wrongkey | 2.76 | age.soft.wrongkey | 3.36 | -0.60 [-0.62, -0.58] | win | wins vs all 1 |
Chip mode (Secure Enclave, no prompt): the cache-free field, fnox and sops
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
coldse-tag | 8.56 | fnox.se-tag.cold [cross-type piv-p256 vs p256tag] | 16.03 | -7.39 [-7.50, -7.30] | win | wins vs all 1 |
get1se-p256tag | 8.54 | fnox.se-tag.get1 | 16.27 | -7.74 [-7.79, -7.69] | win | wins vs all 2 |
get1bigse-p256tag | 8.51 | fnox.se-tag.get1big | 16.31 | -7.78 [-7.84, -7.73] | win | wins vs all 2 |
get5se-p256tag | 8.55 | fnox.se-tag.get5 | 55.99 | -47.18 [-47.32, -46.99] | win | wins vs all 1 |
missse-p256tag | 2.77 | fnox.se-tag.miss | 5.71 | -2.90 [-2.93, -2.88] | win | wins vs all 2 |
par20se-p256tag | 95.98 | fnox.se-tag.par20 | 127.38 | -31.67 [-31.88, -31.47] | win | wins vs all 1 |
run1se-p256tag | 9.94 | fnox.se-tag.run1 | 17.87 | -7.92 [-7.99, -7.85] | win | wins vs all 2 |
run1-maskedse-p256tag | 10.71 | fnox.se-tag.run1-masked | 17.93 | -7.22 [-7.28, -7.15] | win | wins vs all 1 |
run5se-p256tag | 9.93 | fnox.se-tag.run5 | 57.57 | -47.32 [-47.47, -47.11] | win | wins vs all 1 |
Chip mode beside fnox's plaintext-cache daemon row, fnox.se-tag-daemon
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
coldse-tag | 8.56 | fnox.se-tag-daemon.cold (daemon) | 73.53 | -64.21 [-64.71, -64.05] | win | wins vs all 1 |
get1se-p256tag | 8.54 | fnox.se-tag-daemon.get1 (daemon) | 7.15 | +1.48 [+1.41, +1.52] | loss | loss |
get1bigse-p256tag | 8.51 | fnox.se-tag-daemon.get1big (daemon) | 7.17 | +1.45 [+1.39, +1.49] | loss | loss |
get5se-p256tag | 8.55 | fnox.se-tag-daemon.get5 (daemon) | 7.17 | +1.49 [+1.43, +1.53] | loss | loss |
missse-p256tag | 2.77 | fnox.se-tag-daemon.miss (daemon) | 5.69 | -2.89 [-2.91, -2.87] | win | wins vs all 1 |
par20se-p256tag | 95.98 | fnox.se-tag-daemon.par20 (daemon) | 23.31 | +72.46 [+72.26, +72.62] | loss | loss |
run1se-p256tag | 9.94 | fnox.se-tag-daemon.run1 (daemon) | 8.63 | +1.38 [+1.32, +1.44] | loss | loss |
run1-maskedse-p256tag | 10.71 | fnox.se-tag-daemon.run1-masked (daemon) | 8.69 | +2.10 [+2.04, +2.16] | loss | loss |
run5se-p256tag | 9.93 | fnox.se-tag-daemon.run5 (daemon) | 8.68 | +1.38 [+1.31, +1.44] | loss | loss |
Linux VPS, AMD EPYC 9354P (8 cores)
Research footnote
Generated from expected/headline.md and expected/claims_tables_vps.md (VPS, sessions kept: 21 of 21). fastsecrets rows are the default build.
- Software mode (unencrypted key file at rest plus a names-only index), default build
fastsecretsvs every rival row with a plaintext key file, per measured op (13 ops; fastsecrets has no dump row): 41 win, 3 no paired comparison out of 44 comparisons. get1 median: fastsecrets 1.59 ms, fnox 11.59 ms, fnox daemon 12.77 ms, sops 36.64 ms. 3 not paired because the two rows ran in different passes (rows with a median over 250 ms run in a separate slow pass; pass.gpg.get5 fell in different passes in different sessions): dotenvx.file.get1 (1501.39 ms), dotenvx.file.run1 (353.40 ms), dotenvx.file.run1-masked (350.44 ms). - Chip mode: not measured (no Secure Enclave on Linux).
- Sessions used: 21 of 21.
Software mode: default build vs every rival with a plaintext key file
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
cold | 1.49 | fnox.soft.cold | 10.74 | -9.09 [-10.18, -8.52] | win | wins vs all 3 |
get1 | 1.59 | age.soft-sed.get1 (unranked: composition) | 7.65 | -6.01 [-6.42, -5.68] | win | no paired comparison with dotenvx.file.get1 (slow pass) |
get1.s500 | 2.07 | fnox.soft.get1.s500 | 18.04 | -15.64 [-16.46, -14.90] | win | wins vs all 1 |
get1.s5000 | 6.61 | fnox.soft.get1.s5000 | 83.47 | -76.78 [-79.30, -74.24] | win | wins vs all 1 |
get1.scope5 | 2.27 | fnox.soft.get1.scope5 | 12.22 | -9.75 [-10.24, -9.26] | win | wins vs all 1 |
get1big | 1.64 | fnox.soft.get1big | 11.66 | -10.02 [-10.57, -9.44] | win | wins vs all 3 |
get5 | 1.63 | fnox.soft-daemon.get5 (daemon) | 12.48 | -10.91 [-11.68, -10.34] | win | wins vs all 4 |
miss | 1.45 | fnox.soft.miss | 10.79 | -9.23 [-9.81, -8.71] | win | wins vs all 4 |
par20 | 7.85 | fnox.soft.par20 | 35.45 | -27.00 [-28.82, -25.69] | win | wins vs all 2 |
run1 | 1.95 | fnox-lite.soft.run1 | 11.34 | -9.20 [-9.79, -8.74] | win | no paired comparison with dotenvx.file.run1 (slow pass) |
run1-masked | 2.95 | fnox.soft.run1-masked | 13.08 | -9.96 [-10.46, -9.53] | win | no paired comparison with dotenvx.file.run1-masked (slow pass) |
run5 | 2.02 | fnox.soft.run5 | 13.56 | -11.58 [-12.26, -10.96] | win | wins vs all 2 |
wrongkey | 1.34 | age.soft.wrongkey | 5.35 | -3.90 [-4.15, -3.71] | win | wins vs all 1 |
macOS Keychain (reference)
Reference rows, kept outside the claim. Software mode wins every row in the tables below, on both Macs.
The keychain has a lower median than our chip mode: 6.64 vs 9.05 ms for one read on the M5 (6.31 vs 8.54 ms on the Air), and 24.97 vs 93.25 ms when 20 separate programs each read one secret at the same moment on the M5 (par20). securityd is a resident daemon that keeps the keychain unlocked in memory; chip mode goes to the Secure Enclave on every read.
Research footnote
The benchmark read a throwaway keychain file with Apple's security tool, served by the securityd daemon. It did not read your login keychain, because the login keychain can raise a dialog and the protocol skips any row that can. A real login keychain was not measured; we expect it to be no faster, and it can prompt. The chip and keychain medians above come from different tables, so they carry no paired verdict.
Our old bash tool's opt-in keychain path, secrets-bash.keychain-cache.get1 (also on a throwaway keychain file), took 40.53 ms on the M5 and 33.38 ms on the Air: bash start and its scripts, then the same security call. Its stats row lists its resident process as "none". securityd serves it, as it does the security rows.
Apple M5 Pro
Research footnote
Generated from expected/claims_tables.md (M5, sessions kept: 15 of 15), section "Software mode vs OS keychain rows (shown separately)".
Software mode beside a keychain file read with security (macOS Keychain, reference)
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
get1 | 3.24 | security.keychain-file.get1 (daemon) | 6.64 | -3.44 [-3.51, -3.38] | win | wins vs all 1 |
miss | 3.02 | security.keychain-file.miss (daemon) | 8.18 | -5.14 [-5.26, -5.03] | win | wins vs all 1 |
par20 | 8.31 | security.keychain-file.par20 (daemon) | 24.97 | -15.86 [-17.11, -14.52] | win | wins vs all 1 |
MacBook Air, M4
Research footnote
Generated from expected/claims_tables.md (AIR, sessions kept: 15 of 15), section "Software mode vs OS keychain rows (shown separately)".
Software mode beside a keychain file read with security (macOS Keychain, reference)
| op | fastsecrets, ms | fastest rival in this field | rival, ms | difference, ms [95% CI] | vs that rival | vs every rival in the field |
|---|---|---|---|---|---|---|
get1 | 2.92 | security.keychain-file.get1 (daemon) | 6.31 | -3.36 [-3.41, -3.32] | win | wins vs all 1 |
miss | 2.74 | security.keychain-file.miss (daemon) | 7.61 | -4.83 [-4.88, -4.77] | win | wins vs all 1 |
par20 | 10.18 | security.keychain-file.par20 (daemon) | 23.36 | -13.14 [-13.19, -13.08] | win | wins vs all 1 |
Method
- Fixture: 51 dummy values. Each entrant gets its own store built from it, in its own directory.
- Default mode: every entrant runs in its documented default mode for the platform, compared mode to mode. Secure Enclave comparisons use the same recipient type for every tool (except
cold, where our only chip row is a different type; it is tagged cross-type). - Repeated and shuffled: every case runs hundreds of times per session, in a random order, over many sessions per machine. Every attempt is recorded, failures included.
- No blended score. One table per operation per machine.
- Conflict of interest, stated up front: the benchmark's author wrote one entrant. It is tagged
[author]everywhere. Some protocol changes came after data was seen, and each one is dated in PROTOCOL.md.
Research footnote
Measurement: a fresh process per sample, wall time from spawn to exit, a 10 s deadline per case. Every attempt is recorded with its outcome; a case is ranked only if at least 99% of attempts meet its contract.
Sessions: 20 warmup rounds and 300 timed rounds, cases in a seeded random order per round, load recorded every round. A session is discarded if load exceeds cores/2 for more than 5% of rounds. 15 sessions per Mac (main, par20 and cold), 21 on the VPS.
Statistics: median of session medians; per-round paired differences inside each session, block bootstrap over sessions and 10-round blocks, 95% interval on the median difference.
Protocol versions: the protocol was frozen as v0.2 before the product changes were measured; v0.3 and v0.3.1 were amended after data was seen.
Verify the published numbers
git clone https://github.com/abe238/secrets-index && cd secrets-index
python3 verify.py # 4 to 7 minutes on an Apple M5 Pro
python3 verify.py --quick # about 10 sPython 3, standard library only. --quick skips the slowest checks.
verify.py recomputes every table and every verdict from the raw data and compares the result with the published output. It writes nothing inside the repo and exits non-zero on any mismatch.
Research footnote
Tested with Python 3.9.6 and 3.14.4. verify.py checks the data manifest (sha256 of every file) and the harness pins recorded in every session, recomputes every stats table with the same harness/stats.py that produced them, runs two independent recomputes that do not import it, reruns every claim verdict and diffs everything byte for byte against expected/. --quick skips the claim bootstraps and the headline check.
Rerun it on your machine
RERUN.md has the exact commands, timing estimates and hardware notes for macOS and Linux. Known gaps are listed in GAPS.md.
- macOS: each helper runs under its own sandbox profile, denied the home folder and the other entrants.
- Linux: each entrant gets its own user in a container with no network.
- A rerun is a new session set of your own. The protocol forbids comparing it across machines.
Add your tool
Open a "Request a tool" issue on GitHub, or add it yourself (RERUN.md, "Adding a tool") and open a pull request.
Research footnote
Adding a tool takes a pinned install, a generator entry with its documented default mode and exact argv, 5 of 5 on validate, and a new session set. New harness hashes are never pooled with the published sessions.
The code, the data and the published outputs are Apache-2.0. Every table on this page is generated from expected/.