Commit Graph

201 Commits

Author SHA1 Message Date
web3-bot
4939bdc0a5 update .github/workflows/go-test.yml 2022-06-01 08:57:20 +00:00
web3-bot
42190170f2 update .github/workflows/automerge.yml 2022-06-01 08:57:20 +00:00
web3-bot
8b7f1f93c7 bump go.mod to Go 1.17 and run go fix 2022-06-01 08:57:19 +00:00
Piotr Galar
0fadeb4d38
Merge pull request #17 from libp2p/web3-bot/sync
sync: update CI config files
2022-02-01 09:53:28 +01:00
Piotr Galar
1cac8defac
Merge pull request #20 from libp2p/web3-bot/sync-msys2
ci: add go-test-setup action
2022-02-01 09:44:24 +01:00
galargh
b84a4bc4e9 add go-test-setup action 2022-01-31 13:12:23 +01:00
galargh
77c1db38da update .github/workflows/go-test.yml 2022-01-31 13:12:13 +01:00
web3-bot
0e129fb7c4 add .github/workflows/tagpush.yml 2021-12-10 11:50:47 +00:00
web3-bot
e7bb135bd6 add .github/workflows/release-check.yml 2021-12-10 11:50:47 +00:00
web3-bot
4ce5b67757 add .github/workflows/releaser.yml 2021-12-10 11:50:47 +00:00
web3-bot
0ce1691392 add .github/workflows/go-check.yml 2021-12-10 11:50:47 +00:00
web3-bot
f0bfe9c369 add .github/workflows/go-test.yml 2021-12-10 11:50:47 +00:00
web3-bot
ed6a5ab6c1 add .github/workflows/automerge.yml 2021-12-10 11:50:47 +00:00
web3-bot
19eed5d76f run gofmt -s 2021-12-10 11:50:47 +00:00
web3-bot
55c3c00979 bump go.mod to Go 1.16 and run go fix 2021-12-10 11:50:44 +00:00
web3-bot
523a9c8afd add version.json file 2021-12-10 11:49:19 +00:00
Steven Allen
a04acfd1f4
Merge pull request #18 from libp2p/fix/pointer-passing
fix: unsafe pointer passing
2021-08-27 14:49:53 -07:00
Steven Allen
ecfa88cc5b fix: unsafe pointer passing
Use github.com/mattn/go-pointer to save/restore "pointers" across FFI
bounderies. Go reserves the right to move pointers, so using
`unsafe.Pointer` for this is not safe.
2021-08-27 10:46:42 -07:00
Marten Seemann
8e95e0f113
Merge pull request #15 from jbouwman/update-cert-md
Update test RSA cert
2021-08-27 17:33:36 +01:00
Steven Allen
cfeec8e4f5
Merge pull request #16 from libp2p/fix/tests
Fix tests
2021-08-27 09:17:34 -07:00
Steven Allen
d2721d9a71 test: handle closing quirks
Closing may need to write, which will cause it to fail if the other side
has already closed. The correct fix is to use shutdown to half-close,
then wait for the other side, but that's honestly not worth it right
now. So I just fixed the tests to pass.
2021-08-27 09:04:59 -07:00
Steven Allen
f5ecaf4460 test: don't try to marshal ed25519 to PEM 2021-08-27 08:39:08 -07:00
Jesse Bouwman
5bb7e0e4fa Update test RSA cert
Tests fail due to weak MD on self-signed RSA cert: update from SHA-1 to SHA-2
2021-08-14 11:27:17 -07:00
Steven Allen
219d074952
Merge pull request #14 from libp2p/fix-lint-issues-pre-ci
Address `staticcheck` issues
2021-07-19 21:35:46 -07:00
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
Adin Schmahmann
6f65c2c3af
Merge pull request #11 from stephaneberle9/master
Enabled PEM files with CRLF line endings to be used (#10)
2020-10-16 13:09:40 -04:00
Stephan Eberle
6d00a81776 Enabled PEM files with CRLF line endings to be used (#10); made PEM file splitter tolerant of trailing whitespace in PEM block delimiter lines 2020-10-09 19:23:19 +02:00
Adin Schmahmann
d9b6402828
Merge pull request #7 from libp2p/refactor/ed25519-less-special
make ed25519 less special
2020-07-29 16:52:07 -04:00
Adin Schmahmann
f4030af720 refactor: make Ed25519 keys less special cased 2020-07-29 16:49:19 -04:00
Steven Allen
ab3d2c3342
Merge pull request #6 from balajijinnah/balaji/tls
Add required bindings to support openssl in libp2p-tls
2020-06-15 11:03:10 -07:00
Tiger
38a6bec6d1 fix comments
Signed-off-by: Tiger <rbalajis25@gmail.com>
2020-06-13 14:12:43 +05:30
Tiger
1fdf237b98 remove unwanted
Signed-off-by: Tiger <rbalajis25@gmail.com>
2020-05-23 17:28:22 +05:30
Tiger
df5f786f4b Merge branch 'master' of https://github.com/libp2p/go-openssl into balaji/create_obj_identifier 2020-05-23 17:26:36 +05:30
Tiger
09d72588f7 - add custom extension support
- add support to retrive custom extension value
- add support to add custom protocol for protocol negotiation

Signed-off-by: Tiger <rbalajis25@gmail.com>
2020-05-23 17:24:57 +05:30
Steven Allen
050e85000a
Merge pull request #5 from balajijinnah/balaji/create_obj_identifier
add binding for OBJ_create
2020-05-10 11:37:39 -07:00
Tiger
5f2730c458 minor license yaer change
Signed-off-by: Tiger <rbalajis25@gmail.com>
2020-05-10 20:07:24 +05:30
Tiger
fe1fe4cae6 add binding for OBJ_create
Signed-off-by: Tiger <rbalajis25@gmail.com>
2020-05-10 17:53:01 +05:30
Steven Allen
418fabf8ea
Merge pull request #4 from djdv/build/solaris
pass build flags on Solaris/Illumos
2019-12-06 21:41:20 -05:00
Dominic Della Valle
da4f08fb1e pass build flags on Solaris/Illumos 2019-11-13 11:56:52 -05:00
Steven Allen
f25c826a2c
Merge pull request #3 from libp2p/feat/sig-size
feat: add Size function to PublicKey
2019-10-22 07:40:51 +09:00
Steven Allen
f99684446c feat: add Size function to PublicKey
This allows us to determine the size of signatures produced by a public key.
Incidentally, this also allows us to determine the size of an RSA key's modulus.
2019-10-21 15:24:42 -07:00
Raúl Kripalani
1934e456a0
readme: add motivation for forking. 2019-08-02 13:57:20 +01:00
Steven Allen
3d5df67ba7 feat: openbsd support 2019-08-01 16:40:57 -07:00
Steven Allen
adf4e19c17
Merge pull request #2 from libp2p/fix/freebsd
feat: add freebsd support
2019-07-31 14:25:35 -07:00
Steven Allen
7e0f41e6a7 feat: add freebsd support 2019-07-26 16:41:04 -07:00
Steven Allen
0298788890
Merge pull request #1 from dignifiedquire/feat/key-equals
feat: add Equal method to compare keys
2019-06-29 11:54:51 +02:00
Steven Allen
01a7c5e769 move to libp2p 2019-06-29 11:53:15 +02:00
dignifiedquire
80f7894f83 feat: add Equal method to compare keys
Closes #125
2019-06-28 13:37:09 +02:00
Ramesh V Rayaprolu
c2dcc5cca9 avoid panic while encrypting empty data (#109) 2018-10-17 14:33:07 -06:00
Jeff Wendling
a66df3e4f5 change ulong to size_t to match shim.h 2018-09-13 17:23:02 -06:00