Commit Graph

5 Commits

Author SHA1 Message Date
Drew DeVault 1d24fef3e2 auth: s/OAuth2Token/BearerToken/g
This also makes some tweaks to the organization of the crypto module to
make it easier for us to add more keys in the future, which will be
necessary for the internal token redesign.
2021-07-29 10:37:48 +02:00
Drew DeVault 900693b830 crypto: harden API surface
Make it explicit that expiration is not being tested with Decrypt, and
test that the expiration is meaningful with DecryptWithExpiration.
2021-01-07 09:38:30 -05:00
Drew DeVault af2afebd4c Add legacy webhooks worker implementation 2020-10-10 11:24:59 -04:00
Drew DeVault a9e49d17a1 Overhaul crypto module
Part 1 of merging gql.sr.ht with core-go
2020-10-05 13:32:46 -04:00
наб 98806e712f Add crypto module with depessimised webhook signing from gitsrht-update-hook 2020-08-20 09:59:23 -04:00