Commit Graph

23 Commits

Author SHA1 Message Date
Neal H. Walfield faec3ec4b6
Add license notice and license text
AGPL 3+
2019-05-03 11:10:34 +02:00
Justus Winter de91be2b31
Machine-usable key submission.
- Fixes #50.
2019-03-12 16:24:26 +01:00
Justus Winter a2d38fceb5
Clarify HKP protocol. 2019-03-12 16:24:26 +01:00
Justus Winter 008d4d756d
Use Rocket.toml to configure Hagrid.
- Fixes #69.
2019-03-12 11:09:52 +01:00
Justus Winter cd750c3d78
Handle uploads of multiple keys.
- This is required for HKP.

  - I think allowing multiple keys in one upload is a good way to
    handle #75 too.  For old keys that are uploaded by accident, we
    get and publish the revocations, without bothering the user with
    verification mails.

  - One concern that is not addressed is uploading multiple keys with
    the same user id.  But, we do not handle this by design.

  - Fixes #75.
2019-03-11 12:07:26 +01:00
Justus Winter acfa6d1ce4
Serve /apidoc, improve README.
- Fixes #63.
2019-03-07 11:19:42 +01:00
Justus Winter 00162cdc94
Improve error handling, canonicalize base path. 2019-03-06 16:04:04 +01:00
Justus Winter d38b80f26d
Implement upload via HKP.
- Fixes #68.
2019-03-05 16:16:02 +01:00
Justus Winter 1723f0b838
Clarify status of our HKP interface.
- Fixes #66.
2019-03-01 10:10:46 +01:00
Justus Winter 7cd3280bf6
Use /vks/ as prefix for our API.
- Fixes #59.
2019-02-28 16:57:03 +01:00
Justus Winter 1361193a75
Turn hagrid into a multi-binary project.
- Moving the importer to src allows us to reuse code.
2019-02-27 11:54:55 +01:00
Neal H. Walfield 3b9eb81908 Fix comment.
- We do return keys with no verified user ids.
2019-02-23 22:37:30 +01:00
Justus Winter 13ea83b10d
Use uppercase hex digits in database and API.
- Both Sequoia and GnuPG create query strings with uppercase hex
    digits.  By using uppercase in the filesystem and new API, we can
    serve keys using nginx.
2019-02-22 23:46:56 +01:00
Kai Michaelis 3ad7eaf463 remove node dependency 2019-02-21 22:44:58 +01:00
Justus Winter 0bb1961f43
Revise URIs of the new lookup protocol.
- Fixes #37.
2019-02-21 21:26:02 +01:00
Kai Michaelis 57611d031b readme fixes 2019-02-12 14:09:06 +01:00
Kai Michaelis b6dae24d66 Update & extend readme.
The README now contains the right URLs and talks about intefacing w/
nginx.
2019-01-09 14:56:51 +01:00
seu 66caaf4074 rename to hagrid 2018-11-22 16:41:33 +01:00
seu 093e8126cc add detailed build instructions to README 2018-10-18 16:54:00 +02:00
seu ce39720c0f mention the nightly requirement in the README 2018-10-18 13:08:59 +02:00
seu 5adca9dbc3 clear-up RESTness of the API 2018-10-18 13:07:02 +02:00
seu 55e8f72f89 build instructions and usage 2018-09-19 22:27:25 +02:00
seu 66fef4a275 initial commit 2018-08-16 20:35:19 +02:00