summaryrefslogtreecommitdiff
path: root/src/api/auth/account.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove dependency on chronopennae2022-07-251-6/+6
| | | | | | prompted by a cargo audit run. time works just as well and is better maintained. web-push still uses chrono, but from the looks of things it won't be affected.
* make the Clone bytes types Copy as wellpennae2022-07-171-13/+5
| | | | u8 arrays are copy, no need to not have our wrappers be copy.
* remove SecretBytespennae2022-07-171-3/+3
| | | | | 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-171-9/+8
|
* use HawkKey everywhere hawk keys are handledpennae2022-07-171-15/+11
| | | | the db already does this, crypto did not.
* add dedicated types for all the tokenspennae2022-07-171-22/+19
| | | | using SecretBytes for all of them isn't that great.
* don't use SecretBytes in HawkKey/SecretKeypennae2022-07-171-11/+13
|
* initial importpennae2022-07-131-0/+413