(partially tested) add scrape JWT validation

* remove `xorshift` package, add internal function in `varinterval`
* change `bittorrent.QueryParams` getters to search case insensitive keys
This commit is contained in:
Lawrence, Rendall
2022-08-25 18:31:48 +03:00
parent f5a58630db
commit 498779aeaf
9 changed files with 276 additions and 169 deletions

View File

@@ -264,10 +264,13 @@ mochi:
prehooks:
# - name: jwt
# options:
# header: "authorization"
# issuer: "https://issuer.com"
# audience: "https://some.issuer.com"
# jwk_set_url: "https://issuer.com/keys"
# jwk_set_update_interval: 5m
# handle_announce: true
# handle_scrape: false
#
# - name: client approval
# options: