Lukasa / mkcert

Customised trust stores for you and your family.
Apache License 2.0
97 stars 15 forks source link

Update to golang 1.23 #18

Closed mac-chaffee closed 1 month ago

mac-chaffee commented 1 month ago

This PR primarily updates the code to use golang 1.23.

Previously in #15 I pinned the docker images, but my security advice has changed on this topic in the last 2 years. Pinning base images is only good for repos that are automatically updated with something like Dependabot or Renovate. For a repo like this, I think it makes more sense to use floating tags like latest so you get the latest patches every time you rebuild.

Besides, if I pinned the golang image today, we'd be pinning some known CVEs already: https://hub.docker.com/layers/library/golang/latest/images/sha256-d0aac08f954c29a6c42b8fa15f590467343aa44322b5fa059227d554b07d6e99?context=explore

Other changes: