Skip to content

Developer key census: 0 of 162 top developers have a post-quantum encryption key - #16

Merged
lcbasu merged 5 commits into
mainfrom
census/keys
Nov 30, 2026
Merged

lcbasu merged 5 commits into
mainfrom
census/keys

Conversation

@lcbasu

@lcbasu lcbasu commented Nov 30, 2026

Copy link
Copy Markdown
Owner

The first finding built on cipherproof keys.

Result (top 1,000 GitHub users by followers, 30 Nov 2026)

Users Share
Publish an SSH key 607 / 1,000 60.7%
…with a weak SSH key (RSA-1024) 3 / 607 0.5%
Publish an OpenPGP key 162 / 1,000 16.2%
…with a harvestable encryption key 151 / 162 93.2%
…with a post-quantum encryption key 0 / 162 0%
…with a weak OpenPGP key 6 / 162 3.7%

0 fetch failures and 0 parse errors. 61 users had keys that GitHub itself says it can't export; those are counted separately and not rated.

Privacy, enforced by the script (scripts/key-census.sh)

  • It uses only public data: the GitHub search API and the public github.com/<user>.keys and .gpg endpoints.
  • Logins are used only to fetch. Files are stored by number in a temp directory that's deleted on exit.
  • Output is aggregate counts only. No login, key or per-person result is printed or saved, and nothing per-user is committed.
  • It fetches politely: two requests at a time, with a User-Agent that names this repo.

Also in this PR

  • cipherproof keys --tsv: machine-readable output (source, verdict, algorithm, role, act-now), and no output at all when there are no keys.
  • The pilot found that GitHub serves a "couldn't be exported, need to be reuploaded" armor block with no key inside. The census counts those instead of treating them as keys.

Limits, stated in evidence/ section 10

  • The sample is the most-followed accounts, not all developers.
  • "Harvestable" describes exposure, not use: public keys can't show whether anyone actually encrypts to them.
  • GitHub-listed keys can be stale.
  • Classical signing keys are reported, not alarmed on.

Caught while writing it up: I had the RSA share at 25.7% (it's 25.8%), and the weak-OpenPGP label didn't say DSA counts at any size. Both are fixed before this PR.

🤖 Generated with Claude Code

lcbasu and others added 4 commits November 30, 2026 13:53
Source, verdict, algorithm, role and act-now per line; problems as
'error' lines; nothing at all when no keys are found.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Top GitHub users by followers; their public .keys and .gpg are fetched two
at a time with an identifying User-Agent, stored by number in a temp dir
that is deleted on exit, rated with cipherproof keys --tsv, and reported
only as counts. GitHub's 'couldn't be exported' placeholders are counted
separately instead of as keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Aggregate counts only. 151 of 162 developers who publish OpenPGP keys
(93.2%) publish a harvestable encryption key; none has a post-quantum one.
SSH: 71% Ed25519, 3 of 607 users still list RSA-1024. 0 fetch failures, 0
parse errors; 61 GitHub-unexportable keys counted separately.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@lcbasu lcbasu left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the privacy design: logins never reach output or disk outside the temp dir, and the report is counts only. The README and evidence numbers match the log. One consideration to record, no change needed.

Comment thread scripts/key-census.sh
# Developer key census: how many of GitHub's most-followed developers still
# publish weak or harvestable keys?
#
# Privacy rules, enforced by how this script is written:

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small counts in a well-defined group ("3 of 607 still list RSA-1024") could be re-identified by anyone who reruns the fetch and keeps the names. That doesn't expose anything new, since the keys are already public on GitHub, and this script deliberately throws the names away. So publishing the counts is fine. But we should never publish per-user results or a list, even on request. Worth keeping that line in the evidence text.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to evidence section 10 in 1e2cee9: "No list, ever."

@lcbasu
lcbasu merged commit 6b17b1c into main Nov 30, 2026
19 checks passed
@lcbasu
lcbasu deleted the census/keys branch November 30, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant