openfga @ v0.4.3
integrity
- size
- 612.4 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/openfga/openfga
release notes
Added
-
Release artifacts are now signed and include a Software Bill of Materials (SBOM) (#683)
The SBOM (Software Bill of Materials) is included in each Github release using Syft and is exported in SPDX format.
Developers will be able to verify the signature of the release artifacts with the following workflow(s):
wget https://github.com/openfga/openfga/releases/download/<tag>/checksums.txt cosign verify-blob \ --certificate-identity 'https://github.com/openfga/openfga/.github/workflows/release.yml@refs/tags/<tag>' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ --cert https://github.com/openfga/openfga/releases/download/<tag>/checksums.txt.pem \ --signature https://github.com/openfga/openfga/releases/download/<tag>/checksums.txt.sig \ ./checksums.txtIf the
checksums.txtvalidation succeeds, it means the checksums included in the release were not tampered with, so we can use it to verify the hashes of other files using thesha256sumutility. You can then download any file you want from the release, and verify it with, for example:wget https://github.com/openfga/openfga/releases/download/<tag>/openfga_<version>_linux_amd64.tar.gz.sbom wget https://github.com/openfga/openfga/releases/download/<tag>/openfga_<version>_linux_amd64.tar.gz sha256sum --ignore-missing -c checksums.txtAnd both should say "OK".
You can then inspect the .sbom file to see the entire dependency tree of the binary.
Developers can also verify the Docker image signature. Cosign actually embeds the signature in the image manifest, so we only need the public key used to sign it in order to verify its authenticity:
cosign verify -key cosign.pub openfga/openfga:<tag> -
openfga migratenow accepts reading configuration from a config file and environment variables like theopenfga runcommand (#655) - thanks @suttod! -
The
--trace-service-namecommand-line flag has been added to allow for customizing the service name in traces (#652) - thanks @jmiettinen
Fixed
- Postgres and MySQL implementations have been fixed to avoid ordering relationship tuple queries by
ulidwhen it is not needed. This can improve read query performance on larger OpenFGA stores (#677) - Synchronize concurrent access to in-memory storage iterators (#587)
- Improve error logging in the
openfga migratecommand (#663) - Fix middleware ordering so that
requestidmiddleware is registered earlier(#662)
Changed
-
Bumped up to Go version 1.20 (#664)
-
Default model schema versions to 1.1 (#669)
In preparation for sunsetting support for models with schema version 1.0, the WriteAuthorizationModel API will now interpret any model provided to it as a 1.1 model if the
schema_versionfield is omitted in the request. This shouldn't affect default behavior since 1.0 model support is enabled by default.
download
curl -fL -o v0.4.3.zip https://ratatoskr.space/pkg/openfga/v0.4.3.zip
printf '%s %s\n' '6d1058f898a151e4720dfb0750851532039a6f05ccf87c34d72b9a3aa4ac98c1' 'v0.4.3.zip' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v0.4.3.zip"
$out = "v0.4.3.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6d1058f898a151e4720dfb0750851532039a6f05ccf87c34d72b9a3aa4ac98c1") { throw "sha256 mismatch" }
curl -fL -o v0.4.3.tar.gz https://ratatoskr.space/pkg/openfga/v0.4.3.tar.gz
printf '%s %s\n' '867427cad4c32b502230a88de016153c9e6a7e234f893b54bf7aba6d2b8ca812' 'v0.4.3.tar.gz' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v0.4.3.tar.gz"
$out = "v0.4.3.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "867427cad4c32b502230a88de016153c9e6a7e234f893b54bf7aba6d2b8ca812") { throw "sha256 mismatch" }
download via yggdrasil mesh
curl -fL -o v0.4.3.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.4.3.zip
printf '%s %s\n' '6d1058f898a151e4720dfb0750851532039a6f05ccf87c34d72b9a3aa4ac98c1' 'v0.4.3.zip' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.4.3.zip"
$out = "v0.4.3.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6d1058f898a151e4720dfb0750851532039a6f05ccf87c34d72b9a3aa4ac98c1") { throw "sha256 mismatch" }
curl -fL -o v0.4.3.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.4.3.tar.gz
printf '%s %s\n' '867427cad4c32b502230a88de016153c9e6a7e234f893b54bf7aba6d2b8ca812' 'v0.4.3.tar.gz' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.4.3.tar.gz"
$out = "v0.4.3.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "867427cad4c32b502230a88de016153c9e6a7e234f893b54bf7aba6d2b8ca812") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v0.4.3.zip | zip | 613.4 KiB |
blake3-24 21079aa9b33806d7041897cb69d24b9fd84a3cc1f2614c35
sha256 6d1058f898a151e4720dfb0750851532039a6f05ccf87c34d72b9a3aa4ac98c1
sha1 7eb1872f74205c785ed061ae21335c1e0318e808
|
| v0.4.3.tar.gz | tar.gz | 531.2 KiB |
blake3-24 144d620331098776918df1a12c993891558c6e20b35cc13c
sha256 867427cad4c32b502230a88de016153c9e6a7e234f893b54bf7aba6d2b8ca812
sha1 a95af02b5327927742cc04e37596ff4a6adb9c5d
|
go module archive
module zip with the module path rewritten to this mirror; fetched by go get through the
GOPROXY route
| artifact | format | size | hashes |
|---|---|---|---|
| v0.4.3.zip | zip | 579.2 KiB |
blake3-24 cd131fac0a5853b3c496d468732ec89c9243cebc717112f4
sha256 b3cde44c6862da8b55b354dda02d1dfd1050b9dd42a14e350222268aeee237ad
sha1 3b5dfe5d6b296b53aab379eb89974041d891609e
|
install
http_archive(
name = "openfga",
urls = ["https://ratatoskr.space/pkg/openfga/v0.4.3.tar.gz"],
integrity = "sha256-hnQnytTDK1AiMKiN4BYVPJ5qfiNPiTtUv3q6bSuMqBI=",
strip_prefix = "openfga-v0.4.3",
)
.url = "https://ratatoskr.space/pkg/openfga/v0.4.3.tar.gz",
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/openfga@v0.4.3
install via yggdrasil mesh
http_archive(
name = "openfga",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.4.3.tar.gz"],
integrity = "sha256-hnQnytTDK1AiMKiN4BYVPJ5qfiNPiTtUv3q6bSuMqBI=",
strip_prefix = "openfga-v0.4.3",
)
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v0.4.3.tar.gz",
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga@v0.4.3