22 Commits

Author SHA1 Message Date
hc-github-team-es-release-engineering
366db10cf2 [DO NOT MERGE UNTIL EOY] update year in LICENSE and copywrite files (#24368) 2024-01-02 13:22:15 -08:00
modrake
eca4b4d801 Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
hashicorp-copywrite[bot]
9e6da84bbf Update BUSL LICENSE to include licensed product and version. (#22357)
License /shamir under MPL.

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-08-16 11:12:35 -04:00
hashicorp-copywrite[bot]
0b12cdcfd1 [COMPLIANCE] License changes (#22290)
* Adding explicit MPL license for sub-package.

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Adding explicit MPL license for sub-package.

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Updating the license from MPL to Business Source License.

Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.

* add missing license headers

* Update copyright file headers to BUS-1.1

* Fix test that expected exact offset on hcl file

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Sarah Thompson <sthompson@hashicorp.com>
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
2023-08-10 18:14:03 -07:00
Hamid Ghaf
e55c18ed12 adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00
Rachel Culpepper
ed08e45069 change mul and div functions (#19495) 2023-03-13 14:52:55 -05:00
Lars Lehtonen
b69998de5f errwrap.Wrapf() mop-up (#11779) 2021-06-07 12:18:03 -04:00
Brian Kassouf
a24653cc5c 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
9510adcb9a Replace GF(256) division with a constant time impl (#9932) 2020-09-16 17:36:52 -05:00
Julian Borrey
2fa1cd2f62 fix typo in comment (#5843) 2018-11-26 09:27:31 -05:00
Vishal Nayak
e2bb2ec3b9 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
e43b76ef97 Spelling (#4119) 2018-03-20 14:54:10 -04:00
Chris Hoffman
b4602fc244 Randomizing x coordinate in shamir split (#2621) 2017-04-28 07:47:05 -04:00
Jeff Mitchell
728f91b3c7 Fix shamir test that is failing on valid results 2016-12-16 05:10:07 -05:00
Jeff Mitchell
d5c05842d6 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
5ea177e468 Added a comment to explain a logically not-useful instruction 2016-09-13 14:03:02 -04:00
Jeff Mitchell
52c7272aee Deter leakage from Shamir. (#1877) 2016-09-13 11:52:04 -04:00
Matthieu Fronton
2ada3e4c3b minor typo fix 2015-10-13 22:38:13 +02:00
Jeff Mitchell
0057c76aaf Don't allow duplicate x parts in Shamir. Add unit test for verification. 2015-08-26 10:03:44 -07:00
Armon Dadgar
c2672f2868 vault: sanity check key length 2015-03-12 11:20:38 -07:00
Armon Dadgar
ee30d5c23e shamir: Remove debug statements 2015-03-11 14:28:56 -07:00
Armon Dadgar
adb5692449 shamir: First pass at Shamir secret sharing 2015-03-11 11:18:51 -07:00