Daniel Kahn Gillmor
d79f5c3ef2
nginx: be more flexible when handling full-uid --searches
...
This addresses the final bit of #94 .
It is concretely useful for fielding queries like:
gpg --search '=Alice Jones <alice@example.net>'
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-07-02 18:01:09 +00:00
Vincent Breitmoser
556b065767
debug: add /debug to display key debug info
2019-06-23 15:54:10 +02:00
Vincent Breitmoser
fd7437b673
nginx: pass /vks/by-email routes through hagrid, for now
2019-06-15 15:42:34 +02:00
Vincent Breitmoser
0fd71dc1c6
nginx: forward vks upload routes
2019-06-15 15:42:33 +02:00
Vincent Breitmoser
46b854cf03
nginx: use lua for case transformation
2019-06-11 18:16:34 +02:00
Vincent Breitmoser
28a070d651
handle more errors in nginx
2019-06-11 18:16:34 +02:00
Vincent Breitmoser
f8df6ed1e7
split human-readable interface and hkp
2019-06-11 17:55:39 +02:00
Vincent Breitmoser
41edc08d49
database: keep links in their own dir, and rename "published" dir to "pub"
2019-06-10 22:23:56 +02:00
Vincent Breitmoser
f19d5592be
rewrite requests to workaround angular bracket issue
...
unescaped angular brackets aren't allowed, but used by gnupg. this
causes issues with Rocket that we can't fix in Hagrid. see
https://gitlab.com/sequoia-pgp/hagrid/issues/94
upstream rocket bug
https://github.com/SergioBenitez/Rocket/pull/941#issuecomment-492035708
2019-06-10 17:33:27 +02:00
Vincent Breitmoser
ad19bd01d9
increase buffer size in nginx config
2019-06-06 16:43:52 +00:00
Vincent Breitmoser
9a225410c9
Rework API
2019-06-04 16:12:36 +02:00
Vincent Breitmoser
4fc1f787f2
add CORS headers to /vks/v1 and /pks/lookup endpoints
2019-05-14 21:24:08 +02:00
Vincent Breitmoser
59d538593a
redirect all HTTP 502 errors to HTTP 500 in nginx
2019-05-14 16:27:12 +00:00
Vincent Breitmoser
676f2613d1
update hagrid-routes again
2019-05-14 16:27:12 +00:00
Vincent Breitmoser
34bce1ee22
fix paths handling in hagrid (for nginx, too)
2019-05-14 16:27:12 +00:00
Justus Winter
00296ee6f7
Rename functions, templates, paths to publish key bindings.
...
- This change consistently names things related to key publishing.
- It also moves it out of the /vks/v1 prefix. Iff we decide to
make (parts of) it machine-usable, we can (partially) move it back
in.
2019-03-12 16:12:59 +01:00
Justus Winter
5f684b7d26
Rename functions, templates, paths to delete key bindings.
...
- This change consistently names things related to key binding
deletion.
- It also moves it out of the /vks/v1 prefix. Iff we decide to
make (parts of) it machine-usable, we can (partially) move it back
in.
2019-03-12 16:12:58 +01:00
Justus Winter
acfa6d1ce4
Serve /apidoc, improve README.
...
- Fixes #63 .
2019-03-07 11:19:42 +01:00
Justus Winter
2d47b349ad
Limit size of uploads.
...
- Fixes #70 .
2019-03-06 13:40:36 +01:00
Justus Winter
c4fee9ffe3
Add missing route for /pks/add.
2019-03-06 12:30:37 +01:00
Justus Winter
e735758e50
Version our VKS API.
...
- Fixes #64 .
2019-03-04 15:23:53 +01:00
Justus Winter
df1f63bdc3
Fix Content-Disposition headers for HKP served via nginx.
...
- Previously, the filename contained a '/'.
2019-03-01 13:30:35 +01:00
Justus Winter
7cd3280bf6
Use /vks/ as prefix for our API.
...
- Fixes #59 .
2019-02-28 16:57:03 +01:00
Vincent Breitmoser
d3e1fc0ae9
split up nginx files
2019-02-27 11:39:38 +01:00