summaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* use SecretKey for key material in cryptopennae2022-07-172-14/+12
|
* use HawkKey everywhere hawk keys are handledpennae2022-07-174-71/+27
| | | | the db already does this, crypto did not.
* add dedicated types for all the tokenspennae2022-07-173-48/+48
| | | | using SecretBytes for all of them isn't that great.
* don't use SecretBytes in HawkKey/SecretKeypennae2022-07-174-22/+33
|
* apply rustfmtpennae2022-07-172-2/+2
|
* fix clippy warningspennae2022-07-172-3/+4
|
* keep oauth tokens around a bit after expirypennae2022-07-131-12/+9
| | | | | | | firefox wants to delete profile access tokens after they're expired and logs errors if it can't do that. since this happens every hour we can end up with a bunch of error logs very quickly, so we better let it do what it wants.
* initial importpennae2022-07-1311-0/+2598