Skip to content

Commit

Permalink
Merge pull request golang-fips#141 from golang-fips/dev/qmuntal/testv3
Browse files Browse the repository at this point in the history
Test using latest openssl v3 minor versions
  • Loading branch information
qmuntal authored Apr 5, 2024
2 parents 6b18634 + 4f6f96e commit 9dbc52b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
go-version: [1.20.x]
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.9]
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.13, 3.1.5, 3.2.1]
runs-on: ubuntu-20.04
steps:
- name: Install build tools
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ On the other hand, Google maintains a branch that uses cgo and BoringSSL to impl

### Multiple OpenSSL versions supported

The `openssl` package has support for multiple OpenSSL versions, namely 1.0.2, 1.1.0, 1.1.1 and 3.0.x.
The `openssl` package has support for multiple OpenSSL versions, namely 1.0.2, 1.1.0, 1.1.1 and 3.x.

All supported OpenSSL versions pass a small set of automatic tests that ensure they can be built and that there are no major regressions.
These tests do not validate the cryptographic correctness of the `openssl` package.
Expand Down
24 changes: 24 additions & 0 deletions scripts/openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,30 @@ case "$version" in
make="build_libs"
install="install_fips"
;;
"3.0.13")
tag="openssl-3.0.13";
sha256="e74504ed7035295ec7062b1da16c15b57ff2a03cd2064a28d8c39458cacc45fc"
fipsmodule_version=""
config="enable-fips"
make="build_libs"
install="install_fips"
;;
"3.1.5")
tag="openssl-3.1.5";
sha256="299ddfd0a506a6d37de56386d15ce30d344d91884dfc98ab3330b7c009029931"
fipsmodule_version=""
config="enable-fips"
make="build_libs"
install="install_fips"
;;
"3.2.1")
tag="openssl-3.2.1";
sha256="75cc6803ffac92625c06ea3c677fb32ef20d15a1b41ecc8dddbc6b9d6a2da84c"
fipsmodule_version=""
config="enable-fips"
make="build_libs"
install="install_fips"
;;
*)
echo >&2 "error: unsupported OpenSSL version '$version'"
exit 1 ;;
Expand Down

0 comments on commit 9dbc52b

Please sign in to comment.