2014-10-03 03:13:51 +00:00
|
|
|
## go-fips
|
|
|
|
|
|
|
|
Proof-Of-Concept for using golang and building a FIPS enabled application.
|
|
|
|
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
See http://www.openssl.org/docs/fips/UserGuide-2.0.pdf
|
|
|
|
to set up an environment where fips mode can be enabled
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2015-03-25 19:10:15 +00:00
|
|
|
```
|
|
|
|
go build .
|
|
|
|
```
|
2014-10-03 03:13:51 +00:00
|
|
|
|
2015-03-25 19:10:15 +00:00
|
|
|
and
|
2014-10-03 03:13:51 +00:00
|
|
|
|
2015-03-25 19:10:15 +00:00
|
|
|
```
|
|
|
|
go build -tags fips .
|
|
|
|
```
|
2014-10-03 03:13:51 +00:00
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
2015-03-25 19:10:15 +00:00
|
|
|
```
|
|
|
|
go test .
|
|
|
|
```
|
2014-10-03 03:13:51 +00:00
|
|
|
|
2015-03-25 19:10:15 +00:00
|
|
|
and
|
2014-10-03 03:13:51 +00:00
|
|
|
|
2015-03-25 19:10:15 +00:00
|
|
|
```
|
|
|
|
go test -tags fips .
|
|
|
|
```
|
2014-10-03 03:13:51 +00:00
|
|
|
|