Skip to content

Upload attestation bundle as a release artifact - #3563

Merged
itchyny merged 1 commit into
jqlang:masterfrom
itchyny:ci-attestation-release-artifact
Jun 16, 2026
Merged

Upload attestation bundle as a release artifact#3563
itchyny merged 1 commit into
jqlang:masterfrom
itchyny:ci-attestation-release-artifact

Conversation

@itchyny

@itchyny itchyny commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The bundle generated by actions/attest is currently only retrievable
via the GitHub attestations API, which requires authentication.
Uploading it as jq-attestation.json lets downstream consumers
(distro packagers, unauthenticated CI) verify provenance offline.

The bundle generated by actions/attest is currently only retrievable
via the GitHub attestations API, which requires authentication.
Uploading it as jq-attestation.json lets downstream consumers
(distro packagers, unauthenticated CI) verify provenance offline.
@itchyny itchyny linked an issue Jun 11, 2026 that may be closed by this pull request
@itchyny
itchyny merged commit a5a29cc into jqlang:master Jun 16, 2026
29 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 9, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [jqlang/jq](https://github.com/jqlang/jq) | patch | `1.8.1` → `1.8.2` |

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>jqlang/jq (jqlang/jq)</summary>

### [`v1.8.2`](https://github.com/jqlang/jq/releases/tag/jq-1.8.2): jq 1.8.2

[Compare Source](jqlang/jq@jq-1.8.1...jq-1.8.2)

This is a patch release with security fixes and bug fixes since 1.8.1, along with new builds for Windows arm64 and Docker arm/v7.
Full commit log can be found at <jqlang/jq@jq-1.8.1...jq-1.8.2>.

#### Security fixes

- CVE-2026-32316: Fix heap buffer overflow in `jvp_string_append` and `jvp_string_copy_replace_bad`. [@&#8203;itchyny](https://github.com/itchyny) [`e47e56d`](jqlang/jq@e47e56d)
- CVE-2026-33947: Limit path depth to prevent stack overflow in `jv_setpath`, `jv_getpath`, `jv_delpaths`. [@&#8203;itchyny](https://github.com/itchyny) [`fb59f14`](jqlang/jq@fb59f14)
- CVE-2026-33948: Fix NUL truncation in the JSON parser. [@&#8203;itchyny](https://github.com/itchyny) [`6374ae0`](jqlang/jq@6374ae0)
- CVE-2026-39956: Fix `_strindices` missing runtime type checks. [@&#8203;tlsbollei](https://github.com/tlsbollei) [`fdf8ef0`](jqlang/jq@fdf8ef0)
- CVE-2026-39979: Fix out-of-bounds read in `jv_parse_sized()`. [@&#8203;wader](https://github.com/wader) [`2f09060`](jqlang/jq@2f09060)
- CVE-2026-40164: Randomize hash seed to mitigate hash collision DoS attacks. [@&#8203;AsafMeizner](https://github.com/AsafMeizner) [@&#8203;itchyny](https://github.com/itchyny) [`0c7d133`](jqlang/jq@0c7d133)
- CVE-2026-40612: Limit containment check depth to prevent stack overflow in `contains`. [@&#8203;itchyny](https://github.com/itchyny) [`d1a1256`](jqlang/jq@d1a1256)
- CVE-2026-41256: Fix NUL truncation in program files loaded with `-f`. [@&#8203;itchyny](https://github.com/itchyny) [`5a015de`](jqlang/jq@5a015de)
- CVE-2026-41257: Fix signed-int overflow in `stack_reallocate`. [@&#8203;itchyny](https://github.com/itchyny) [`01b3cde`](jqlang/jq@01b3cde)
- CVE-2026-43894: Reject numeric literals longer than `DEC_MAX_DIGITS` ([`9999999`](jqlang/jq@999999999)). [@&#8203;itchyny](https://github.com/itchyny) [`9761ceb`](jqlang/jq@9761ceb)
- CVE-2026-43895: Reject embedded NUL bytes in module import paths. [@&#8203;itchyny](https://github.com/itchyny) [`9d223f1`](jqlang/jq@9d223f1)
- CVE-2026-43896: Limit recursive object merge depth to prevent stack overflow. [@&#8203;itchyny](https://github.com/itchyny) [`532ccea`](jqlang/jq@532ccea)
- CVE-2026-44777: Detect circular module imports to prevent stack overflow. [@&#8203;itchyny](https://github.com/itchyny) [`f58787c`](jqlang/jq@f58787c)
- CVE-2026-47770: Guard deep structural equality and comparison recursion. [@&#8203;fuyu0425](https://github.com/fuyu0425) [`7122866`](jqlang/jq@7122866)
- CVE-2026-49839: Fix heap-buffer-overflow in raw file loading. [@&#8203;itchyny](https://github.com/itchyny) [`e987df0`](jqlang/jq@e987df0)
- CVE-2026-54679: Tighten string length bounds and propagate invalid jv in implode. [@&#8203;itchyny](https://github.com/itchyny) [`46d1da3`](jqlang/jq@46d1da3)
- GHSA-gf4g-95wj-4q4r: Fix use-after-free in `args2obj()` array argument path. [@&#8203;sseal](https://github.com/sseal) [#&#8203;3498](jqlang/jq#3498)
- GHSA-hj52-j2c9-r8r4: Fix signed-int overflow in `tokenadd` to prevent buffer overflow. [@&#8203;itchyny](https://github.com/itchyny) [`63751f8`](jqlang/jq@63751f8)
- Limit the number of function parameters and definitions to prevent SEGV. [@&#8203;OwenSanzas](https://github.com/OwenSanzas) [#&#8203;3460](jqlang/jq#3460)
- Pre-allocate `tokenbuf` for string parser to avoid undefined behavior. [@&#8203;fab1ano](https://github.com/fab1ano) [#&#8203;3485](jqlang/jq#3485)
- Avoid stack overflow when freeing deeply nested values. [@&#8203;itchyny](https://github.com/itchyny) [`33d7bce`](jqlang/jq@33d7bce)
- Fix memory leaks and double frees. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3487](jqlang/jq#3487)

#### Releasing

- Add builds for Windows arm64. [@&#8203;dennisameling](https://github.com/dennisameling) [#&#8203;3376](jqlang/jq#3376)
- Support arm/v7 architecture in Docker images. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3463](jqlang/jq#3463)
- Update GPG signing key. [@&#8203;itchyny](https://github.com/itchyny) [`0ff997f`](jqlang/jq@0ff997f)
- Add `artifact-metadata` permission for actions/attest. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3530](jqlang/jq#3530)
- Upload attestation bundle as a release artifact, allowing unauthenticated verification
  via `gh attestation verify --bundle jq-attestation.json`. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3563](jqlang/jq#3563)

#### CLI changes

- Improve error message truncation with closing delimiters. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3478](jqlang/jq#3478)
- Remove extra space from `die` function output. [@&#8203;krtk6160](https://github.com/krtk6160) [#&#8203;3391](jqlang/jq#3391)
- Fix raw input flag not to corrupt multi-byte characters. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3421](jqlang/jq#3421)
- Fix crash when importing a module with errors twice. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3497](jqlang/jq#3497)
- Increase the maximum printing depth from 256 to 10000. [@&#8203;ishnagy](https://github.com/ishnagy) [#&#8203;3414](jqlang/jq#3414)

#### Changes to existing functions

- Fix `rtrimstr("")` always outputting `""`. [@&#8203;A4-Tacks](https://github.com/A4-Tacks) [#&#8203;3415](jqlang/jq#3415)
- Fix infinite loop and undefined behavior in `del(.[nan])`. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3490](jqlang/jq#3490)
- Refactor `@uri` and `@urid` to fix multi-byte UTF-8 corruption. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3495](jqlang/jq#3495)
- Fix `tonumber` and `toboolean` to reject strings with embedded null bytes. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3496](jqlang/jq#3496)
- Fix undefined behavior in modulo operator. [@&#8203;fab1ano](https://github.com/fab1ano) [#&#8203;3486](jqlang/jq#3486)
- Fix reversed pointer subtraction in `f_env` bounds check. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3465](jqlang/jq#3465)
- Fix missing validity check in `f_strflocaltime` after `f_localtime`. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3491](jqlang/jq#3491)
- Fix year 2038 problem on 32-bit platforms. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3407](jqlang/jq#3407)
- Use `//` instead of `//=` in `from_entries` definition. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3516](jqlang/jq#3516)

#### Build and test changes

- Drop `strptime` test using non-portable `%F`. [@&#8203;alyssais](https://github.com/alyssais) [#&#8203;3365](jqlang/jq#3365)
- Limit oniguruma depth to 1024 in `jq_fuzz_execute`. [@&#8203;sudhackar](https://github.com/sudhackar) [#&#8203;3377](jqlang/jq#3377)
- Fix localization test for time formatting functions. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3409](jqlang/jq#3409)
- Fix expected value assertion. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3431](jqlang/jq#3431) [#&#8203;3408](jqlang/jq#3408)
- Fix typo in tests/jq.test. [@&#8203;bigmoonbit](https://github.com/bigmoonbit) [#&#8203;3441](jqlang/jq#3441)
- Refactor `tm2jv` to handle fractional seconds. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3489](jqlang/jq#3489)
- Fix `jq_fuzz_parse_stream`: use iterative parser API for streaming mode. [@&#8203;OwenSanzas](https://github.com/OwenSanzas) [#&#8203;3499](jqlang/jq#3499)
- Fix crashes and resource leaks in `jq_testsuite`. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3509](jqlang/jq#3509)
- Support building with `--disable-maintainer-mode` and source != build dir. [@&#8203;Saur2000](https://github.com/Saur2000) [#&#8203;3518](jqlang/jq#3518)
- Add Solaris support. [@&#8203;vlmarek](https://github.com/vlmarek) [#&#8203;3515](jqlang/jq#3515)
- Respect `SOURCE_DATE_EPOCH` while generating man page. [@&#8203;McSinyx](https://github.com/McSinyx) [#&#8203;3514](jqlang/jq#3514)
- Fix undefined pointer arithmetic in UTF-8 helpers. [@&#8203;theyoucheng](https://github.com/theyoucheng) [`df924ea`](jqlang/jq@df924ea)
- Fix one-byte over-read in `BASE64_DECODE_TABLE`. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3547](jqlang/jq#3547)

#### Documentation changes

- Add wiki link to navigation bar. [@&#8203;wader](https://github.com/wader) [#&#8203;3424](jqlang/jq#3424)
- Add missing word in manual for rawfile. [@&#8203;jpmens](https://github.com/jpmens) [#&#8203;3434](jqlang/jq#3434)
- Fix typo "stder" to "stderr". [@&#8203;jjatria](https://github.com/jjatria) [#&#8203;3446](jqlang/jq#3446)
- Fix buttons in tutorial to toggle labels when clicked on. [@&#8203;itchyny](https://github.com/itchyny) [#&#8203;3493](jqlang/jq#3493)
- Fix "happened" spelling in tutorial changelog entries. [@&#8203;Rohan5commit](https://github.com/Rohan5commit) [#&#8203;3525](jqlang/jq#3525)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **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 [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTYuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI1Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6cGF0Y2giXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please add attestation file as a release artifact

2 participants