OpenSSL bindings for Go
Go to file
2021-08-27 09:17:34 -07:00
utils Address staticcheck issues 2021-07-19 16:53:28 +01:00
.gitignore openssl 1.1.x support 2017-06-05 18:07:03 -06:00
AUTHORS Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
bio.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
build_static.go pass build flags on Solaris/Illumos 2019-11-13 11:56:52 -05:00
build.go pass build flags on Solaris/Illumos 2019-11-13 11:56:52 -05:00
cert_test.go add support for get/set x509 version 2018-09-05 07:34:06 -06:00
cert.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
ciphers_gcm.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
ciphers_test.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
ciphers.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
conn.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
ctx_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ctx.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
dh_test.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
dh.go change error checking style to match existing code. 2018-01-05 16:06:15 -07:00
dhparam.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
digest.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
engine.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
extension.c - add custom extension support 2020-05-23 17:24:57 +05:30
fips.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
go.mod feat: add Size function to PublicKey 2019-10-21 15:24:42 -07:00
go.sum move to libp2p 2019-06-29 11:53:15 +02:00
hmac_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hmac.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
hostname.c add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hostname.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
http.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
init_posix.go feat: openbsd support 2019-08-01 16:40:57 -07:00
init_windows.go set callback thread id on windows 2018-07-26 11:32:16 -06:00
init.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
key_test.go test: don't try to marshal ed25519 to PEM 2021-08-27 08:39:08 -07:00
key.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
LICENSE add license 2014-05-09 15:38:13 -06:00
mapping.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
md4_test.go remove dependency on golang.org/x/crypto in md4 tests 2018-09-13 16:41:04 -06:00
md4.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
md5_test.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
md5.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
net.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
nid.go Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
object.go - add custom extension support 2020-05-23 17:24:57 +05:30
pem.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
README.md feat: add Size function to PublicKey 2019-10-21 15:24:42 -07:00
sha1_test.go Make test confom to new requirement enforced in go 1.10 https://tip.golang.org/doc/go1.10#test. With out this change tests will always fails with go 1.10+. 2018-01-17 09:59:19 -07:00
sha1.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
sha256_test.go Make test confom to new requirement enforced in go 1.10 https://tip.golang.org/doc/go1.10#test. With out this change tests will always fails with go 1.10+. 2018-01-17 09:59:19 -07:00
sha256.go Address staticcheck issues 2021-07-19 16:53:28 +01:00
shim.c add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
shim.h - add custom extension support 2020-05-23 17:24:57 +05:30
sni.c add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ssl_test.go test: handle closing quirks 2021-08-27 09:04:59 -07:00
ssl.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
tickets.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00

OpenSSL bindings for Go

Forked from https://github.com/spacemonkeygo/openssl (unmaintained) to add:

  1. FreeBSD support.
  2. Key equality checking.
  3. A function to get the size of signatures produced by a key.

Please see http://godoc.org/github.com/libp2p/go-openssl for more info


License

Copyright (C) 2017. See AUTHORS.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Using on macOS

  1. Install homebrew
  2. $ brew install openssl or $ brew install openssl@1.1

Using on Windows

  1. Install mingw-w64
  2. Install pkg-config-lite
  3. Build (or install precompiled) openssl for mingw32-w64
  4. Set PKG_CONFIG_PATH to the directory containing openssl.pc (i.e. c:\mingw64\mingw64\lib\pkgconfig)