Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
utils add license May 9, 2014
.gitignore openssl 1.1.x support Jun 6, 2017
AUTHORS Ed25519 key support (#103) Sep 13, 2018
LICENSE add license May 9, 2014
README.md Update README.md Jun 29, 2017
bio.go add AUTHORS and unify copyright info Jun 6, 2017
build.go Revert "remove unsupported build flags on go1.9.4+" Apr 5, 2018
build_static.go Revert "remove unsupported build flags on go1.9.4+" Apr 5, 2018
cert.go add m4 and m5 wrappers (#104) Sep 13, 2018
cert_test.go add support for get/set x509 version Sep 5, 2018
ciphers.go fix bug with SetPadding and add go.mod Sep 5, 2018
ciphers_gcm.go add AUTHORS and unify copyright info Jun 6, 2017
ciphers_test.go add AUTHORS and unify copyright info Jun 6, 2017
conn.go add AUTHORS and unify copyright info Jun 6, 2017
ctx.go Add P521 to defined curves Jan 5, 2018
ctx_test.go add AUTHORS and unify copyright info Jun 6, 2017
dh.go change error checking style to match existing code. Jan 5, 2018
dh_test.go add shared secret derivation and test for ECDH. Jan 5, 2018
dhparam.go add AUTHORS and unify copyright info Jun 6, 2017
digest.go add AUTHORS and unify copyright info Jun 6, 2017
engine.go add AUTHORS and unify copyright info Jun 6, 2017
fips.go add AUTHORS and unify copyright info Jun 6, 2017
go.mod fix bug with SetPadding and add go.mod Sep 5, 2018
go.sum fix bug with SetPadding and add go.mod Sep 5, 2018
hmac.go add AUTHORS and unify copyright info Jun 6, 2017
hmac_test.go add AUTHORS and unify copyright info Jun 6, 2017
hostname.c add AUTHORS and unify copyright info Jun 6, 2017
hostname.go Fix hostname validation with an IPv4 SAN Apr 17, 2018
http.go add AUTHORS and unify copyright info Jun 6, 2017
init.go add AUTHORS and unify copyright info Jun 6, 2017
init_posix.go set callback thread id on windows Jul 26, 2018
init_windows.go set callback thread id on windows Jul 26, 2018
key.go change ulong to size_t to match shim.h Sep 13, 2018
key_test.go skip ed25519 tests if not supported Sep 13, 2018
mapping.go add AUTHORS and unify copyright info Jun 6, 2017
md4.go add m4 and m5 wrappers (#104) Sep 13, 2018
md4_test.go remove dependency on golang.org/x/crypto in md4 tests Sep 13, 2018
md5.go add m4 and m5 wrappers (#104) Sep 13, 2018
md5_test.go add m4 and m5 wrappers (#104) Sep 13, 2018
net.go add AUTHORS and unify copyright info Jun 6, 2017
nid.go Ed25519 key support (#103) Sep 13, 2018
pem.go add AUTHORS and unify copyright info Jun 6, 2017
sha1.go add AUTHORS and unify copyright info Jun 6, 2017
sha1_test.go Make test confom to new requirement enforced in go 1.10 https://tip.g… Jan 17, 2018
sha256.go add AUTHORS and unify copyright info Jun 6, 2017
sha256_test.go Make test confom to new requirement enforced in go 1.10 https://tip.g… Jan 17, 2018
shim.c add m4 and m5 wrappers (#104) Sep 13, 2018
shim.h add m4 and m5 wrappers (#104) Sep 13, 2018
sni.c add AUTHORS and unify copyright info Jun 6, 2017
ssl.go add AUTHORS and unify copyright info Jun 6, 2017
ssl_test.go Ed25519 key support (#103) Sep 13, 2018
tickets.go add AUTHORS and unify copyright info Jun 6, 2017

README.md

OpenSSL bindings for Go

Please see http://godoc.org/github.com/spacemonkeygo/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)