OpenSSL bindings for Go
Go to file
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
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 Revert "remove unsupported build flags on go1.9.4+" 2018-04-05 16:06:18 -06:00
build.go Revert "remove unsupported build flags on go1.9.4+" 2018-04-05 16:06:18 -06:00
cert_test.go add support for get/set x509 version 2018-09-05 07:34:06 -06:00
cert.go add support for get/set x509 version 2018-09-05 07:34:06 -06:00
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 fix bug with SetPadding and add go.mod 2018-09-05 07:04:03 -06:00
conn.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ctx_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ctx.go Add P521 to defined curves 2018-01-05 16:06:25 -07:00
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
fips.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
go.mod fix bug with SetPadding and add go.mod 2018-09-05 07:04:03 -06:00
go.sum fix bug with SetPadding and add go.mod 2018-09-05 07:04:03 -06: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 set callback thread id on windows 2018-07-26 11:32:16 -06: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 Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
key.go Ed25519 key support (#103) 2018-09-13 16:07:17 -06: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
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
pem.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
README.md Update README.md 2017-06-29 17:57:46 -06: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 Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
shim.h Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
sni.c add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ssl_test.go Ed25519 key support (#103) 2018-09-13 16:07:17 -06: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

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)