OpenSSL bindings for Go
Go to file
2020-07-29 16:49:19 -04:00
utils add license 2014-05-09 15:38:13 -06: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 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06: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 fix comments 2020-06-13 14:12:43 +05:30
ciphers_gcm.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ciphers_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ciphers.go avoid panic while encrypting empty data (#109) 2018-10-17 14:33:07 -06:00
conn.go move to libp2p 2019-06-29 11:53:15 +02:00
ctx_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ctx.go - add custom extension support 2020-05-23 17:24:57 +05:30
dh_test.go add shared secret derivation and test for ECDH. 2018-01-05 16:06:15 -07: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 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hostname.c add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hostname.go Fix hostname validation with an IPv4 SAN 2018-04-17 08:51:22 -06: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 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
key_test.go feat: add Equal method to compare keys 2019-06-28 13:37:09 +02:00
key.go refactor: make Ed25519 keys less special cased 2020-07-29 16:49:19 -04: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 add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
md5_test.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
md5.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06: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 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06: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 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06: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 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06: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 move to libp2p 2019-06-29 11:53:15 +02: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)