README.md 1.28 KB
Newer Older
JT Olds's avatar
JT Olds committed
1
# OpenSSL bindings for Go
2

3 4 5 6
Forked from https://github.com/spacemonkeygo/openssl (unmaintained) to add:

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

---

Steven Allen's avatar
Steven Allen committed
11
Please see http://godoc.org/github.com/libp2p/go-openssl for more info
JT Olds's avatar
JT Olds committed
12

13 14
---

JT Olds's avatar
JT Olds committed
15
### License
JT Olds's avatar
JT Olds committed
16

JT Olds's avatar
JT Olds committed
17
Copyright (C) 2017. See AUTHORS.
JT Olds's avatar
JT Olds committed
18 19 20 21 22 23 24 25 26 27 28 29

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.
30

Jeff Wendling's avatar
Jeff Wendling committed
31 32 33 34
### Using on macOS
1. Install [homebrew](http://brew.sh/)
2. `$ brew install openssl` or `$ brew install openssl@1.1`

35
### Using on Windows
Juuso Haavisto's avatar
Juuso Haavisto committed
36
1. Install [mingw-w64](http://mingw-w64.sourceforge.net/)
37 38
2. Install [pkg-config-lite](http://sourceforge.net/projects/pkgconfiglite)
3. Build (or install precompiled) openssl for mingw32-w64
JT Olds's avatar
JT Olds committed
39 40
4. Set __PKG\_CONFIG\_PATH__ to the directory containing openssl.pc
   (i.e. c:\mingw64\mingw64\lib\pkgconfig)