Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

updatekeys subcommand: fix input-type CLI flag being ignored#1721

Merged

Conversation

felixfontein
Copy link
Contributor

@felixfonteinfelixfontein commentedDec 25, 2024
edited
Loading

An adjusted version of@kleinschrader's#1694 that usescommon.DefaultStoreForPathOrFormat() instead of basically re-implementing that helper function.

Closes#1694

Co-authored-by: Timo Schrader <timoschrader00@gmail.com>Signed-off-by: Felix Fontein <felix@fontein.de>
@felixfonteinfelixfontein merged commitd84a324 intogetsops:mainDec 25, 2024
15 checks passed
@felixfonteinfelixfontein deleted the updatekeys-input-type branchDecember 25, 2024 17:28
@felixfontein
Copy link
ContributorAuthor

@kleinschrader thanks for reporting this and providing a fix!
@onedr0p thanks for reviewing this!

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull requestJan 3, 2025
This MR contains the following updates:| Package | Update | Change ||---|---|---|| [getsops/sops](https://github.com/getsops/sops) | patch | `v3.9.2` -> `v3.9.3` |MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).**Proposed changes to behavior should be submitted there as MRs.**---### Release Notes<details><summary>getsops/sops (getsops/sops)</summary>### [`v3.9.3`](https://github.com/getsops/sops/releases/tag/v3.9.3)[Compare Source](getsops/sops@v3.9.2...v3.9.3)#### InstallationTo install `sops`, download one of the pre-built binaries provided for your platform from the artifacts attached to this release.For instance, if you are using Linux on an AMD64 architecture:```shell### Download the binarycurl -LOhttps://github.com/getsops/sops/releases/download/v3.9.3/sops-v3.9.3.linux.amd64### Move the binary in to your PATHmv sops-v3.9.3.linux.amd64 /usr/local/bin/sops### Make the binary executablechmod +x /usr/local/bin/sops```##### Verify checksums file signatureThe checksums file provided within the artifacts attached to this release is signed using [Cosign](https://docs.sigstore.dev/cosign/overview/) with GitHub OIDC. To validate the signature of this file, run the following commands:```shell### Download the checksums file, certificate and signaturecurl -LOhttps://github.com/getsops/sops/releases/download/v3.9.3/sops-v3.9.3.checksums.txtcurl -LOhttps://github.com/getsops/sops/releases/download/v3.9.3/sops-v3.9.3.checksums.pemcurl -LOhttps://github.com/getsops/sops/releases/download/v3.9.3/sops-v3.9.3.checksums.sig### Verify the checksums filecosign verify-blob sops-v3.9.3.checksums.txt \  --certificate sops-v3.9.3.checksums.pem \  --signature sops-v3.9.3.checksums.sig \  --certificate-identity-regexp=https://github.com/getsops \  --certificate-oidc-issuer=https://token.actions.githubusercontent.com```##### Verify binary integrityTo verify the integrity of the downloaded binary, you can utilize the checksums file after having validated its signature:```shell### Verify the binary using the checksums filesha256sum -c sops-v3.9.3.checksums.txt --ignore-missing```##### Verify artifact provenanceThe [SLSA provenance](https://slsa.dev/provenance/v0.2) of the binaries, packages, and SBOMs can be found within the artifacts associated with this release. It is presented through an [in-toto](https://in-toto.io/) link metadata file named `sops-v3.9.3.intoto.jsonl`. To verify the provenance of an artifact, you can utilize the [`slsa-verifier`](https://github.com/slsa-framework/slsa-verifier#artifacts) tool:```shell### Download the metadata filecurl -LOhttps://github.com/getsops/sops/releases/download/v3.9.3/sops-v3.9.3.intoto.jsonl### Verify the provenance of the artifactslsa-verifier verify-artifact <artifact> \  --provenance-path sops-v3.9.3.intoto.jsonl \  --source-uri github.com/getsops/sops \  --source-tag v3.9.3```#### Container ImagesThe `sops` binaries are also available as container images, based on Debian (slim) and Alpine Linux. The Debian-based container images include any dependencies which may be required to make use of certain key services, such as GnuPG, AWS KMS, Azure Key Vault, and Google Cloud KMS. The Alpine-based container images are smaller in size, but do not include these dependencies.These container images are available for the following architectures: `linux/amd64` and `linux/arm64`.##### GitHub Container Registry-   `ghcr.io/getsops/sops:v3.9.3`-   `ghcr.io/getsops/sops:v3.9.3-alpine`##### Quay.io-   `quay.io/getsops/sops:v3.9.3`-   `quay.io/getsops/sops:v3.9.3-alpine`##### Verify container image signatureThe container images are signed using [Cosign](https://docs.sigstore.dev/cosign/overview/) with GitHub OIDC. To validate the signature of an image, run the following command:```shellcosign verify ghcr.io/getsops/sops:v3.9.3 \  --certificate-identity-regexp=https://github.com/getsops \  --certificate-oidc-issuer=https://token.actions.githubusercontent.com \  -o text```##### Verify container image provenanceThe container images include [SLSA provenance](https://slsa.dev/provenance/v0.2) attestations. For more information around the verification of this, please refer to the [`slsa-verifier` documentation](https://github.com/slsa-framework/slsa-verifier#containers).#### Software Bill of MaterialsThe Software Bill of Materials (SBOM) for each binary is accessible within the artifacts enclosed with this release. It is presented as an [SPDX](https://spdx.dev/) JSON file, formatted as `<binary>.spdx.sbom.json`.#### What's Changed-   build(deps): Bump the go group with 10 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1699-   build(deps): Bump the ci group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1698-   build(deps): Bump golang.org/x/crypto from 0.30.0 to 0.31.0 by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1703-   build(deps): Bump the ci group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1708-   build(deps): Bump the rust group in /functional-tests with 2 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1707-   CI: add 'persist-credentials: false' to checkout actions by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1704-   build(deps): Bump filippo.io/age from 1.2.0 to 1.2.1 by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1710-   Bump golang.org/x/net to 0.33.0 to addressCVE-2024-45338 by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1714-   build(deps): Bump the go group across 1 directory with 13 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1715-   build(deps): Bump serde_json from 1.0.133 to 1.0.134 in /functional-tests in the rust group by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1716-   build(deps): Bump the ci group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1717-   GnuPG: do not incorrectly trim fingerprint in presence of exclamation marks for specfic subkey selection by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1720-   Tests: use container images fromhttps://github.com/getsops/ci-container-images by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1722-   updatekeys subcommand: fix input-type CLI flag being ignored by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1721-   Update all Go dependencies by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1723-   build(deps): Bump the rust group in /functional-tests with 2 updates by [@&#8203;dependabot](https://github.com/dependabot) ingetsops/sops#1725-   Release 3.9.3 by [@&#8203;felixfontein](https://github.com/felixfontein) ingetsops/sops#1724**Full Changelog**:getsops/sops@v3.9.2...v3.9.3</details>---### Configuration📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.🔕 **Ignore**: Close this MR and you won't be reminded about this update again.--- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box---This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4xIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@onedr0ponedr0ponedr0p approved these changes

Assignees
No one assigned
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
@felixfontein@onedr0p

[8]ページ先頭

©2009-2025 Movatter.jp