Skip to content

Commit

Permalink
update softhsm repo URL
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Dec 8, 2024
1 parent 1de8172 commit fa42b34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

> **SoftHSM has been developed for development purposes only. Don't use in production!**
Docker image to run a virtual HSM (Hardware Security Module) network service based on [SoftHSM2](https://github.com/opendnssec/SoftHSMv2) and
Docker image to run a virtual HSM (Hardware Security Module) network service based on [SoftHSM2](https://github.com/softhsm/SoftHSMv2) and
[pkcs11-proxy](https://github.com/SUNET/pkcs11-proxy/).

Client applications can communicate with the HSM via TCP/TLS using libpkcs11-proxy.so and an OpenSSL TLS-PSK:
Expand Down Expand Up @@ -267,8 +267,8 @@ This is a simple exercise to get you familiar with how a client container can in
## <a name="resources"></a>Resources

- SoftHSM:
- website: https://www.opendnssec.org/softhsm/
- sources: https://github.com/opendnssec/SoftHSMv2
- website: https://www.softhsm.org/
- sources: https://github.com/softhsm/SoftHSMv2
- tutorials:
- [SoftHSM2 first steps to create slots](https://verschlüsselt.it/softhsm2-first-steps/)
- pkcs11-proxy:
Expand Down
10 changes: 5 additions & 5 deletions build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ base_image_linux_flavor=${base_image_name%%:*}
app_version=${SOFTHSM_VERSION:-latest}
case $app_version in \
latest)
#app_version=$(curl -sSfL https://github.com/opendnssec/SoftHSMv2/releases/latest | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
app_version=$(curl -sSfL https://github.com/opendnssec/SoftHSMv2/tags | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
softhsm_source_url=https://codeload.github.com/opendnssec/SoftHSMv2/tar.gz/refs/tags/$app_version
#app_version=$(curl -sSfL https://github.com/softhsm/SoftHSMv2/releases/latest | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
app_version=$(curl -sSfL https://github.com/softhsm/SoftHSMv2/tags | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
softhsm_source_url=https://codeload.github.com/softhsm/SoftHSMv2/tar.gz/refs/tags/$app_version
app_version_is_latest=1
;;
develop)
softhsm_source_url=https://codeload.github.com/opendnssec/SoftHSMv2/tar.gz/refs/heads/develop
softhsm_source_url=https://codeload.github.com/softhsm/SoftHSMv2/tar.gz/refs/heads/develop
;;
*)
softhsm_source_url=https://codeload.github.com/opendnssec/SoftHSMv2/tar.gz/refs/tags/$app_version
softhsm_source_url=https://codeload.github.com/softhsm/SoftHSMv2/tar.gz/refs/tags/$app_version
;;
esac
echo "app_version=$app_version"
Expand Down

0 comments on commit fa42b34

Please sign in to comment.