1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00
phorge-phorge/scripts/ssh
epriestley bf17b12daf Standardize SSH key storage
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`.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5833

Differential Revision: https://secure.phabricator.com/D10805
2014-11-07 15:34:44 -08:00
..
ssh-auth-key.php Add a query/policy layer on top of SSH keys for Almanac 2014-11-06 12:37:02 -08:00
ssh-auth.php Standardize SSH key storage 2014-11-07 15:34:44 -08:00
ssh-connect.php Handle "-p port" flag in ssh-connect 2013-12-02 11:25:46 -08:00
ssh-exec.php Convert two missed phutil_utf8_shorten() callsites 2014-08-30 07:20:35 -07:00