Commit Graph

15 Commits

Author SHA1 Message Date
Brian Kassouf 303c2aee7c
Run a more strict formatter over the code (#11312)
* Update tooling

* Run gofumpt

* go mod vendor
2021-04-08 09:43:39 -07:00
Scott Miller 539cf44b9b
Replace GF(256) division with a constant time impl (#9932) 2020-09-16 17:36:52 -05:00
Julian Borrey ce5fdcf8c1 fix typo in comment (#5843) 2018-11-26 09:27:31 -05:00
Vishal Nayak 28e3eb9e2c
Errwrap everywhere (#4252)
* package api

* package builtin/credential

* package builtin/logical

* package command

* package helper

* package http and logical

* package physical

* package shamir

* package vault

* package vault

* address feedback

* more fixes
2018-04-05 11:49:21 -04:00
Josh Soref 73b1fde82f Spelling (#4119) 2018-03-20 14:54:10 -04:00
Chris Hoffman dd3bf25cb2 Randomizing x coordinate in shamir split (#2621) 2017-04-28 07:47:05 -04:00
Jeff Mitchell 612c0068a0 Fix shamir test that is failing on valid results 2016-12-16 05:10:07 -05:00
Jeff Mitchell 0de6aaf2d7 Don't exclude 0 from the set of valid polynomials in Shamir. This leads to a potential (although extremely trivial) amount of information leakage. 2016-11-17 12:57:36 -05:00
vishalnayak 6e5ae6b003 Added a comment to explain a logically not-useful instruction 2016-09-13 14:03:02 -04:00
Jeff Mitchell 6d551e002c Deter leakage from Shamir. (#1877) 2016-09-13 11:52:04 -04:00
Matthieu Fronton cd06cd078b minor typo fix 2015-10-13 22:38:13 +02:00
Jeff Mitchell ec57e983f7 Don't allow duplicate x parts in Shamir. Add unit test for verification. 2015-08-26 10:03:44 -07:00
Armon Dadgar aa0ca02b8c vault: sanity check key length 2015-03-12 11:20:38 -07:00
Armon Dadgar c7a7d04122 shamir: Remove debug statements 2015-03-11 14:28:56 -07:00
Armon Dadgar bc7f1a43af shamir: First pass at Shamir secret sharing 2015-03-11 11:18:51 -07:00