1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 18:54:53 +09:00
vervis/config
fr33domlover 4053f2f2b4 Record usage of instance keys in the DB
When we verify an HTTP signature,

* If we know the key, check in the DB whether we know the actor lists it. If it
  doesn't, and there's room left for keys, HTTP GET the actor and update the DB
  accordingly.
* If we know the key but had to update it, do the same, check usage in DB and
  update DB if needed
* If we don't know the key, record usage in DB

However,

* If we're GETing a key and discovering it's a shared key, we GET the actor to
  verify it lists the key. When we don't know the key at all yet, that's fine
  (can be further optimized but it's marginal), but if it's a key we do know,
  it means we already know the actor and for now it's enough for us to rely
  only on the DB to test usage.
2019-02-19 10:54:55 +00:00
..
favicon.ico Bring Yesod scaffolding 2016-02-13 03:35:30 +00:00
keter.yml Bring Yesod scaffolding 2016-02-13 03:35:30 +00:00
models Record usage of instance keys in the DB 2019-02-19 10:54:55 +00:00
robots.txt Bring Yesod scaffolding 2016-02-13 03:35:30 +00:00
routes Switch actor ID URIs to be /s/ACTOR instead of /p and /g 2019-02-14 22:13:58 +00:00
settings-default.yaml Generate and keep permanent salt for generating hashids for URIs 2019-02-08 21:54:22 +00:00
test-settings.yml Move some files around, tweak the generated code a bit 2016-02-14 09:10:21 +00:00