installer: add support for data URLs

RFC 015 proposes the introduction of data URLs to materialize static
content to files on disk. This commit adds support for data URLs to the
installer. The corresponding content will be added to versions.go in a
subsequent commit.
This commit is contained in:
Markus Rudy 2023-12-08 18:34:10 +01:00 committed by Markus Rudy
parent 8d8853ef31
commit ae00b0a198
6 changed files with 97 additions and 18 deletions

1
go.mod
View file

@ -113,6 +113,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/theupdateframework/go-tuf v0.5.2
github.com/tink-crypto/tink-go/v2 v2.0.0
github.com/vincent-petithory/dataurl v1.0.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.26.0
golang.org/x/crypto v0.14.0