summaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* make the Clone bytes types Copy as wellpennae2022-07-175-22/+12
| | | | u8 arrays are copy, no need to not have our wrappers be copy.
* 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-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