1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 11:39:03 +01:00
phorge-phorge/bin
James Rhodes 8fbebce501 Implement storage of a host ID and a public key for authorizing Conduit between servers
Summary:
Ref T4209.  This creates storage for public keys against authorized hosts, such that servers can be authorized to make Conduit calls as the omnipotent user.

Servers are registered into this system by running the following command once:

```
bin/almanac register
```

NOTE: This doesn't implement authorization between servers, just the storage of public keys.

Placing this against Almanac seemed like the most sensible place, since I'm imagining in future that the `register` command will accept more information (like the hostname of the server so it can be found in the service directory).

Test Plan: Ran `bin/almanac register` and saw the host (and public key information) appear in the database.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4209

Differential Revision: https://secure.phabricator.com/D10400
2014-10-03 22:52:41 +10:00
..
accountadmin
almanac Implement storage of a host ID and a public key for authorizing Conduit between servers 2014-10-03 22:52:41 +10:00
aphlict
audit Provide a more flexible script for administrative management of audits 2013-08-05 10:35:01 -07:00
auth
cache
celerity Begin construction of bin/celerity map 2013-12-31 18:02:41 -08:00
commit-hook Install pre-commit hooks in Git repositories 2013-12-02 15:45:36 -08:00
config
diviner
drydock
fact
feed
files
harbormaster Add bin/harbormaster to make builds easier to debug 2013-12-26 10:40:52 -08:00
hunks Add a bin/hunks script to manage migrations of hunk data 2014-06-03 18:01:23 -07:00
i18n Write a very basic string extractor 2014-02-05 11:02:41 -08:00
lipsum
mail
phd Launch daemons with a full Phabricator environment in the overseers 2013-07-23 12:09:45 -07:00
policy Add a very simple bin/policy script for CLI policy administration 2013-09-29 09:06:41 -07:00
remove Implement bin/remove, for structured destruction of objects 2014-05-01 18:23:31 -07:00
repository
search
sms Add SMS support 2014-05-09 12:47:21 -07:00
ssh-auth
ssh-auth-key Prepare to route VCS connections through SSH 2013-10-29 15:32:40 -07:00
ssh-connect Simplify Repository remote and local command construction 2013-11-20 10:41:35 -08:00
ssh-exec
storage