summaryrefslogtreecommitdiffhomepage
path: root/Cost.hs
Commit message (Collapse)AuthorAge
* Clarify that dollars in cost estimates are USD.Joey Hess2017-01-14
| | | | This commit was sponsored by Ignacio on Patreon.
* use less expensive hash for proof of workJoey Hess2016-09-13
| | | | | | | | | | | | | | The server has to run the hash once to verify a request, so a hash that took 4 seconds could make the server do too much work if it's being flooded with requests. So, made the hash much less expensive. This required keeping track of fractional seconds. Actually, I used Rational for them, to avoid most rounding problems. That turned out nice. I've only tuned the proofOfWorkHashTunable on my fanless overheating laptop so far. It seems to be fairly reasonablly tuned though.
* Improve time estimates, taking into account the number of cores.Joey Hess2016-08-30
| | | | | This only affects time estimates while keysafe is generating hashes; it does not affect cost estimates to brute-force.
* Tuned argon2 hash parameters on better hardware than my fanless laptop.Joey Hess2016-08-30
| | | | | | | | | | | | | Used a Purism Librem 13. The name generation hash was already ok, but the key encryption key hash was quite off. This is not a total blazing top of the line server, but that's ok; keysafe's hashes are intended to be tuned for commodity hardware. It should not take a user more than an hour to restore a key. The spotAWS value is adjusted because AWS's c4.8xlarge instances run at up to 3.5Ghz, compared with the 2.20Ghz of the Librem 13. Basically it's one Moore's doubling ahead of the reference laptop.
* add coreCostJoey Hess2016-08-30
|
* refactorJoey Hess2016-08-30
|
* improve layoutJoey Hess2016-08-16
|
* improve cost tableJoey Hess2016-08-16
|
* add cost estimatesJoey Hess2016-08-16
|
* switch to random salt byte to make decryption expensiveJoey Hess2016-08-16
|
* inline slightly modified version of secret-sharingJoey Hess2016-08-11
| | | | | Needed for efficient serialization of shares, unless upstream takes my suggestion to make the finite field be size 256.
* reorg, and working on serializationJoey Hess2016-08-07
|
* shardingJoey Hess2016-08-07
|
* clarifyJoey Hess2016-08-07
|
* finish AES decryption puzzle implementationJoey Hess2016-08-07
|
* refacorJoey Hess2016-08-07
|
* basic password entropy calculationJoey Hess2016-08-07
|
* aws spot instance attack cost estimateJoey Hess2016-08-07
|
* num for entropyJoey Hess2016-08-07
|
* improve typesJoey Hess2016-08-07
|
* more cost calculation and refactored TunablesJoey Hess2016-08-06