Commit Graph

17 Commits

Author SHA1 Message Date
Masih H. Derkani
597b8983b0
Address staticcheck issues
Fix `staticcheck` issues:
- S1028 use `fmt.Errorf` to construct formatted errors
- ST1017 yoda conditions
- ST1005 error message capitalization
- ST1006 avoid `self` as receiver name
- S1030 use `buf.String`
- S1011 avoid redundant loop when `append` suffices
- SA4006 unused value
- S1019 remove redundant capacity on `make` call
- SA2002 `t.Fatal` called outside of test

Exported error violates ST1012, which is ignored by this PR since rename may cause breaking changes.

Remove redundant parentheses wrapping, and use CamelCase naming while at it.
2021-07-19 16:53:28 +01:00
Steven Allen
01a7c5e769 move to libp2p 2019-06-29 11:53:15 +02:00
parasssh
8ea58d1789 Ed25519 key support (#103)
* ed gen, sign, verify works. tested25519 fails
* Ignore some unit tests in ED since it relies on GoLang lib to support Ed keys
* Cleanup sign and verify operations
* Cleanup and prettify
* cleanups
* Conditional X_EVP_PKEY_ED25519 and  X_EVP_Digest{Sign|Verify}[Init] based on openssl version.
2018-09-13 16:07:17 -06:00
Christopher Dudley
193b24e768 Add additional tests for EC key/cert marshalling. 2018-01-05 16:06:15 -07:00
Christopher Dudley
64a7b8acc3 add EC key generation. 2018-01-05 16:06:15 -07:00
Jeff Wendling
37dddbfb29 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
JT Olds
0022daa4f4 case change
Change-Id: Ia5d0629bd2649f50b462994752029ac8a586a8da
2014-05-13 09:44:10 -06:00
JT Olds
42391d89a5 add license
Change-Id: I4642fb9b97256ec6b3ffbe403272efc690bf1606
2014-05-09 15:38:13 -06:00
JT Olds
cd4183cd7c godoc 2014-04-29 03:00:19 -06:00
JT Olds
b42853e994 space monkey internal commit export
[katamari commit: 6ac6e9c5673cfc54ebe8f5981d37fa0d71ca7a30]
2014-03-24 23:31:45 +00:00
Andrew Harding
420209b5b2 space monkey internal commit export
[katamari commit: ec10a16bdc8a55c53af32481120946fa49570b30]
2014-03-11 18:09:47 +00:00
Jeff Wendling
fa8eb6a573 space monkey internal commit export
[katamari commit: 9bd04d1d78e85304589695c66e328d23128f509c]
2014-02-25 19:01:49 +00:00
JT Olds
2717095707 space monkey internal commit export
[katamari commit: 893e1fc168a8ed977f28e07ee0e4a6a62d3cf129]
2014-01-30 18:38:04 +00:00
JT Olds
88870b4b4c space monkey internal commit export
[katamari commit: b70e599dbbed2ba3cd5ba278a0278c8ff8c553cb]
2014-01-20 21:00:12 +00:00
JT Olds
053d794fe5 space monkey internal commit export
[katamari commit: 66d3bf715795d3696ca37003fba5dba1af7ffacf]
2014-01-20 19:29:56 +00:00
JT Olds
9527626adf space monkey internal commit export
[katamari commit: 8c7516ec3b7ab96450a4365fc1fe2fc7fa34a262]
2014-01-20 19:00:37 +00:00
JT Olds
f3fa51fc61 space monkey internal commit export
[katamari commit: fbadad69fa95d38c389d6dbf9607599c51353e78]
2014-01-18 01:30:37 +00:00