- 25 Sep, 2019 3 commits
-
-
Steven Allen authored
chore(dep): update deps
-
Steven Allen authored
* Update gogo protobuf to 1.3.0 * Update go-multiaddr to move protocol definitions _into_ go-multiaddr itself. * update opencensus to 0.22.1 * update golang.org/x/crypto * update sha256-simd to fix webasm build. * update btcd (used by sekp keys)
-
Steven Allen authored
crypto: improve key comparison logic
-
- 24 Sep, 2019 4 commits
-
-
Steven Allen authored
The check was incomplete as it didn't test the curve. This switches us to use basicEquals (which is also constant-time). Note: This key type isn't used by anyone in-practice (to the best of my knowledge).
-
Steven Allen authored
-
Steven Allen authored
In practice, this is impossible to exploit without being able to corrupt the private key which would allow a much simpler guess-and-check attack. However, it's still a bad practice to compare private key material like this.
-
Steven Allen authored
-
- 28 Aug, 2019 3 commits
-
-
Steven Allen authored
Ensure all tests pass without weak RSA key flag
-
Cole Brown authored
-
Cole Brown authored
-
- 14 Aug, 2019 3 commits
-
-
Steven Allen authored
Compare multihash `Code` to `IDENTITY` when extracting public key
-
Alex Stokes authored
-
Alex Stokes authored
This PR is a non-substantive change with the goal of making this method `ExtractPublicKey` from a `peer.ID` clearer to the reader. This goal is accomplished by using the full name of the identity hash code `IDENTITY` instead of the deprecated `ID` code. This change makes its clearer to the reader that there is a trivial way to compute the public key given the digest. Without this change it is easy to confuse `ID` with a concept relating to peer IDs (and thus implying this function somehow computes a hash pre-image to get the corrresponding public key.
-
- 06 Aug, 2019 5 commits
-
-
bigs authored
Return error in Emit
-
Cole Brown authored
-
bigs authored
Remove support for blowfish
-
Cole Brown authored
-
Cole Brown authored
-
- 02 Aug, 2019 1 commit
-
-
Steven Allen authored
cherry-pick key optimizations from stabilize
-
- 01 Aug, 2019 13 commits
-
-
Steven Allen authored
Add freebsd/openbsd openssl support.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
This also ensures we check that the types are equal, even if we're comparing directly with `k1.Equals(k2)` instead of `KeyEquals(k1, k2)`.
-
-
dignifiedquire authored
-
dignifiedquire authored
-
Steven Allen authored
chore: tidy
-
Steven Allen authored
-
bigs authored
Raise minimum bits required for RSA key to 2048
-
Cole Brown authored
-
Cole Brown authored
-
- 30 Jul, 2019 1 commit
-
-
Yusef Napora authored
* bring back plaintext 2.0.0 with new constructor * fix deprecation comment * rm unused context argument * only check remote id validity if we actually have keys * bring back msgio & simultaneous read/write
-
- 25 Jul, 2019 2 commits
-
-
Steven Allen authored
avoid duplicate randomly generated keys/peer-ids
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 22 Jul, 2019 1 commit
-
-
Steven Allen authored
This implements #4 from #43. fixes #43
-
- 17 Jul, 2019 1 commit
-
-
Cole Brown authored
-
- 14 Jul, 2019 1 commit
-
-
Raúl Kripalani authored
This reverts commit b5729d89.
-
- 12 Jul, 2019 2 commits
-
-
bigs authored
Return error rather than panic in GenerateEKeyPair
-
Cole Brown authored
-