Page MenuHomePhabricator

Standardize SSH key storage
ClosedPublic

Authored by epriestley on Nov 7 2014, 1:12 PM.
Tags
None
Referenced Files
F18725524: D10805.id.diff
Tue, Sep 30, 5:14 AM
F18715948: D10805.diff
Mon, Sep 29, 10:58 AM
F18669902: D10805.id25930.diff
Wed, Sep 24, 10:24 PM
F18504365: D10805.id.diff
Thu, Sep 4, 11:45 PM
F18410663: D10805.id.diff
Aug 30 2025, 5:12 AM
F18397085: D10805.diff
Aug 29 2025, 1:10 PM
F18397041: D10805.diff
Aug 29 2025, 1:07 PM
F18394830: D10805.diff
Aug 29 2025, 10:30 AM
Subscribers
Tokens
"Doubloon" token, awarded by btrahan.

Details

Summary

Ref T5833. This fixes a few weird things with this table:

  • A bunch of columns were nullable for no reason.
  • We stored an MD5 hash of the key (unusual) but never used it and callers were responsible for manually populating it.
  • We didn't perform known-key-text lookups by using an index.
Test Plan
  • Ran migrations.
  • Faked duplicate keys, saw them clean up correctly.
  • Added new keys.
  • Generated new keys.
  • Used bin/auth-ssh and bin/auth-ssh-key.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Standardize SSH key storage.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Nov 7 2014, 5:01 PM
This revision was automatically updated to reflect the committed changes.