Skip to content

Commit e31c265

Browse files
Merge branch 'main' into dependabot/cargo/rust-minor-7a9d774801
2 parents fb2985c + ebc984d commit e31c265

10 files changed

Lines changed: 267 additions & 30 deletions

File tree

‎.github/workflows/actions.lock‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ workflows:
3030
- 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
3131
'.github/workflows/codeql.yml':
3232
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
33-
- 'github/codeql-action@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee'
33+
- 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
3434
'.github/workflows/coverage.yml':
3535
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
3636
- 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
@@ -67,12 +67,12 @@ workflows:
6767
- 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8'
6868
- 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
6969
'.github/workflows/push-email-notify.yml':
70-
- 'hyperpolymath/smtp-notify-action@c1c9fa07992a02c1fd3d67a0dc1b08cccb852aef'
70+
- 'hyperpolymath/smtp-notify-action@e384daf6167a7a7567642d6a62060106244d2413'
7171
'.github/workflows/recon.yml':
7272
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
7373
- 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
7474
- 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8'
75-
- 'github/codeql-action@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee'
75+
- 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
7676
- 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
7777
'.github/workflows/release.yml':
7878
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
@@ -175,9 +175,9 @@ dependencies:
175175
commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124'
176176
owner_id: 47606891
177177
repo_id: 331103973
178-
'github/codeql-action@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee':
179-
ref: 'v4.39.0'
180-
commit: 'sha1-6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee'
178+
'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370':
179+
ref: 'v4.39.1'
180+
commit: 'sha1-9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
181181
owner_id: 9919
182182
repo_id: 259445878
183183
'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63':
@@ -195,9 +195,9 @@ dependencies:
195195
commit: 'sha1-0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d'
196196
owner_id: 75048950
197197
repo_id: 623796603
198-
'hyperpolymath/smtp-notify-action@c1c9fa07992a02c1fd3d67a0dc1b08cccb852aef':
199-
ref: 'v0.5.0'
200-
commit: 'sha1-c1c9fa07992a02c1fd3d67a0dc1b08cccb852aef'
198+
'hyperpolymath/smtp-notify-action@e384daf6167a7a7567642d6a62060106244d2413':
199+
ref: 'v0.5.1'
200+
commit: 'sha1-e384daf6167a7a7567642d6a62060106244d2413'
201201
owner_id: 6759885
202202
repo_id: 1352485172
203203
'metadatastician/standards@333b06a01db1874ffedb2de1bfabb195640927c7':

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4747

4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
49+
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
5050
with:
5151
languages: ${{ matrix.language }}
5252
build-mode: ${{ matrix.build-mode }}
5353

5454
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
55+
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
5656
with:
5757
category: "/language:${{ matrix.language }}"

‎.github/workflows/push-email-notify.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
timeout-minutes: 5
4242
steps:
4343
- name: Send push notification email
44-
uses: hyperpolymath/smtp-notify-action@c1c9fa07992a02c1fd3d67a0dc1b08cccb852aef # v0.5.0
44+
uses: hyperpolymath/smtp-notify-action@e384daf6167a7a7567642d6a62060106244d2413 # v0.5.1
4545
with:
4646
server_address: ${{ secrets.SMTP_HOST }}
4747
server_port: ${{ secrets.SMTP_PORT }}

‎.github/workflows/recon.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
152152
- name: Upload SARIF to code scanning
153153
if: always()
154-
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
154+
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
155155
continue-on-error: true
156156
with:
157157
sarif_file: ${{ env.SARIF_DIR }}

‎CHANGELOG.adoc‎

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22

33
=== [Unreleased]
44

5-
==== Changed — evidence hash is platform-independent
6-
7-
* The attestation evidence hash now feeds `+files_read+` to SHA-256 as an 8-byte
8-
little-endian `+u64+`, like the other counts, instead of a platform-sized
9-
`+usize+`. Hashes are unchanged on 64-bit platforms; 32-bit builds now agree
10-
with them. The computation lives in `+attestation::evidence::evidence_hash+`,
11-
with a known-answer test whose value comes from coreutils `+sha256sum+`.
5+
==== Added — `+attest verify --report+` and `+--require-bound+`
6+
7+
* `+attest verify --report <REPORT>+` rehashes the report file, streaming it
8+
through a fixed-size buffer, and fails if it
9+
does not match the seal's `+report_hash+`. Without it, verification only checks
10+
that the stored digests agree with each other, so a report edited after sealing
11+
still verified.
12+
* `+attest verify --require-bound+` fails on legacy seals (no `+hash_scheme+`),
13+
whose intent and evidence cannot be rehashed.
14+
* The output now says whether the report was checked. Library callers use
15+
`+VerifyOptions+` (carrying the report digest from `+sha256_reader+`) with
16+
`+verify_attestation_file_with+` / `+verify_attestation_str_with+`; `+VerifyResult::Ok+` gains `+report_checked+`.
1217

1318
==== Fixed — KYAML keys holding a line separator
1419

‎Cargo.lock‎

Lines changed: 32 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ serde = { version = "1.0", features = ["derive"] }
2929
serde_json = "1.0"
3030
# JCS (RFC 8785) for JSON artefacts: the estate tool behind JSON-POLICY rule
3131
# J-1. Not on crates.io, so pinned to a full commit SHA.
32-
ijson-jcs = { git = "https://github.com/hyperpolymath/ijson-jcs", rev = "3a9a4ee326a968a32b2f152b4faec243a2d00765" }
32+
ijson-jcs = { git = "https://github.com/hyperpolymath/ijson-jcs", rev = "03df9ed20c1a2e1d6d913b8b20cf0874651bb61a" }
3333
# Pure safe-Rust YAML (replaces serde_yaml + unsafe-libyaml, RUSTSEC-2024-0449).
3434
serde-saphyr = "2.0"
3535
regex = "1.10"
@@ -44,7 +44,7 @@ sha2 = "0.11"
4444
hex = "0.4"
4545
getrandom = "0.4"
4646
walkdir = "2.5"
47-
toml_edit = { version = "0.23", default-features = false, features = ["parse"] }
47+
toml_edit = { version = "0.25", default-features = false, features = ["parse"] }
4848
dirs = "7.0"
4949
ed25519-dalek = { version = "3.0", optional = true }
5050
ureq = { version = "3.3", optional = true }

0 commit comments

Comments
 (0)