summaryrefslogtreecommitdiff
path: root/src/api/auth
Commit message (Collapse)AuthorAgeFilesLines
* remove SecretBytespennae2022-07-173-8/+8
| | | | | there's no benefit to keeping it around, the zeroing behavior it had was never any good and without it it's just a fancy [u8; N]
* 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-171-1/+1
|
* fix clippy warningspennae2022-07-171-3/+3
|
* 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-138-0/+2079