Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ff0e469
Detect in-place Swift runtime library changes
vanderbr Nov 17, 2026
83fb89f
Eliminate unwiped JCS parser scratch buffers
vanderbr Nov 17, 2026
ac4cabb
Bound DER set reservations by actual child counts
vanderbr Nov 17, 2026
dcece02
Redact rejected guarded JSON value types
vanderbr Nov 17, 2026
387aff5
Add guarded PEM bundle decoding with strict armor boundaries
vanderbr Nov 17, 2026
36529bc
Fuzz DER decoding with caller-supplied schemas and allocation bounds
vanderbr Nov 17, 2026
1b75e07
Prepare Codec 0.4.4 with Release Readiness 0.9.6
vanderbr Nov 17, 2026
0bf2ab6
Guard generated Swift ProtoJSON request limits
vanderbr Nov 17, 2026
1d3dbab
Preserve protobuf failure reason and origin across SDKs
vanderbr Nov 17, 2026
4031ca8
Allow explicit larger general CBOR containers
vanderbr Nov 17, 2026
01fd82b
Add shared PEM bundle decode parity vectors
vanderbr Nov 17, 2026
1df4187
Unify public key payload validation across multicodec paths
vanderbr Nov 17, 2026
efa0687
Clarify CID syntax inspection and content verification
vanderbr Nov 17, 2026
06996a2
Share general CBOR receipt options once per collection
vanderbr Nov 17, 2026
b5cb562
Track binary protobuf allocation amplification
vanderbr Nov 17, 2026
5ee2142
Refresh Rust dependencies and complete local validation
vanderbr Nov 17, 2026
61082ba
Add guarded JSON decoding and configurable Base64 budgets
vanderbr Nov 17, 2026
7640984
Consolidate public documentation and remove maintenance logs
vanderbr Nov 17, 2026
9f85f06
Release candidate 0.4.4
vanderbr Nov 18, 2026
aff7830
Release candidate 0.4.4
vanderbr Nov 19, 2026
8bb2691
Release 0.4.4
vanderbr Nov 19, 2026
5d5fd5f
Preserve generated Java equality and redacted hashes
vanderbr Nov 19, 2026
6584fe5
Bump actions/setup-java from 6.2.0 to 6.3.0
dependabot[bot] Nov 19, 2026
e9c35e0
Bump taiki-e/install-action from 2.90.3 to 2.90.5
dependabot[bot] Nov 19, 2026
8d9b08d
Merge setup-java 6.3.0 and preserve compiler annotations
vanderbr Nov 19, 2026
cbe427b
Merge installer update and pin install-action 2.90.6
vanderbr Nov 19, 2026
d5f6cdf
Harden publisher checksum downloads and transport diagnostics
vanderbr Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Keep protobuf fuzz inputs out of text diffs and line-ending conversion.
fuzz/seeds/der_schema/*.pb binary
9 changes: 6 additions & 3 deletions .github/workflows/android-runtime-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
repository: reallyme/release-readiness
ref: 55115f21d5bf9a3fbc1bb8d10484aecba6e7bd8f
ref: e323ea52bc1f76e67df03fc95e19d596fb54bd03
path: .release-readiness
persist-credentials: false

Expand All @@ -43,8 +43,9 @@ jobs:
run: node scripts/run_pinned_release_readiness.mjs --check-pins

- name: Install Java
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
problem-matcher: true
distribution: temurin
java-version: '21'

Expand Down Expand Up @@ -152,8 +153,10 @@ jobs:

timeout --kill-after=2s 10s "$ADB" start-server
for attempt in 1 2; do
# Select a supported software backend for the installed emulator;
# the deprecated indirect backend crashes current system images.
"$ANDROID_HOME/emulator/emulator" -avd "$ANDROID_AVD_NAME" -port 5554 \
-no-window -no-audio -no-boot-anim -no-snapshot -wipe-data -partition-size 4096 -gpu swiftshader_indirect \
-no-window -no-audio -no-boot-anim -no-snapshot -wipe-data -partition-size 4096 -gpu software \
>"$emulator_log" 2>&1 &
emulator_pid=$!

Expand Down
51 changes: 26 additions & 25 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: reallyme/release-readiness
ref: 55115f21d5bf9a3fbc1bb8d10484aecba6e7bd8f
ref: e323ea52bc1f76e67df03fc95e19d596fb54bd03
path: .release-readiness
persist-credentials: false

Expand All @@ -59,7 +59,7 @@ jobs:

- name: Install ShellCheck
if: matrix.os == 'ubuntu-24.04'
uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: shellcheck@0.11.0

Expand Down Expand Up @@ -103,15 +103,15 @@ jobs:
cache-bin: false

- name: Install nextest
uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3, nextest
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6, nextest
with:
tool: cargo-nextest@0.9.151

- name: Install cargo-deny
run: cargo +1.100.0 install cargo-deny --version '=0.20.2' --locked

- name: Install cargo-audit
uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3, cargo-audit
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6, cargo-audit
with:
tool: cargo-audit@0.23.0

Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
run: scripts/audit_committed_lockfiles.sh

rust-msrv:
name: Test publishable crates on Rust 1.96.0
name: Test publishable crates on Rust 1.100.0
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
Expand All @@ -188,33 +188,33 @@ jobs:
- name: Install minimum supported Rust
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: 1.96.0
toolchain: 1.100.0

- name: Cache Cargo
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3

- name: Test reallyme-codec at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec --all-features
- name: Test reallyme-codec-base64 at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-base64 --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-base64 --all-features
- name: Test reallyme-codec-base64url at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-base64url --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-base64url --all-features
- name: Test reallyme-codec-cbor at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-cbor --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-cbor --all-features
- name: Test reallyme-codec-hex at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-hex --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-hex --all-features
- name: Test reallyme-codec-jcs at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-jcs --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-jcs --all-features
- name: Test reallyme-codec-multibase at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-multibase --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-multibase --all-features
- name: Test reallyme-codec-multicodec at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-multicodec --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-multicodec --all-features
- name: Test reallyme-codec-multikey at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-multikey --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-multikey --all-features
- name: Test reallyme-codec-pem at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-pem --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-pem --all-features
- name: Test reallyme-codec-proto at MSRV
run: cargo +1.96.0 test --locked --package reallyme-codec-proto --all-features
run: cargo +1.100.0 test --locked --package reallyme-codec-proto --all-features

native-sanitizers:
name: native sanitizer lanes
Expand All @@ -231,7 +231,7 @@ jobs:
- name: Install Rust sanitizer toolchain
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: nightly-2026-07-01
toolchain: nightly-2026-11-10

- name: Test native sanitizer lanes
run: scripts/test_native_sanitizers.sh
Expand Down Expand Up @@ -267,18 +267,18 @@ jobs:
- name: Install pinned Miri toolchain
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: nightly-2026-07-01
toolchain: nightly-2026-11-10
components: miri

- name: Run FFI Miri tests
# Cap-sized allocation tests run under nextest; Miri targets the unsafe
# pointer and unwind boundaries where its interpreter adds coverage.
run: |
cargo +nightly-2026-07-01 miri test -p reallyme-codec-ffi --lib pointer::tests --locked
cargo +nightly-2026-07-01 miri test -p reallyme-codec-ffi --lib guard::tests --locked
cargo +nightly-2026-07-01 miri test -p reallyme-codec --no-default-features --features der --test der_canonical_tests --locked
cargo +nightly-2026-07-01 miri test -p reallyme-codec-cbor --test general_tests semantic_equivalent_keys_are_rejected_without_sorting --locked
cargo +nightly-2026-07-01 miri test -p reallyme-codec-cbor --test general_zeroization_tests --locked
cargo +nightly-2026-11-10 miri test -p reallyme-codec-ffi --lib pointer::tests --locked
cargo +nightly-2026-11-10 miri test -p reallyme-codec-ffi --lib guard::tests --locked
cargo +nightly-2026-11-10 miri test -p reallyme-codec --no-default-features --features der --test der_canonical_tests --locked
cargo +nightly-2026-11-10 miri test -p reallyme-codec-cbor --test general_tests semantic_equivalent_keys_are_rejected_without_sorting --locked
cargo +nightly-2026-11-10 miri test -p reallyme-codec-cbor --test general_zeroization_tests --locked

kotlin:
name: kotlin codec package on Linux
Expand All @@ -297,8 +297,9 @@ jobs:
uses: gradle/actions/wrapper-validation@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1

- name: Install Java
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
problem-matcher: true
distribution: temurin
java-version: '21'

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:

- name: Install Java
if: matrix.language == 'java-kotlin'
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
problem-matcher: true
distribution: temurin
java-version: '21'

Expand Down
27 changes: 22 additions & 5 deletions .github/workflows/crates-package-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
description: Release version without leading v
required: true
type: string
default: 0.4.3
default: 0.4.4
source_sha:
description: Full commit SHA on main used for this release
required: true
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: reallyme/release-readiness
ref: 55115f21d5bf9a3fbc1bb8d10484aecba6e7bd8f
ref: e323ea52bc1f76e67df03fc95e19d596fb54bd03
path: .release-readiness
persist-credentials: false

Expand Down Expand Up @@ -99,6 +99,12 @@ jobs:
RELEASE_TAG: v${{ inputs.version }}
SOURCE_SHA: ${{ steps.source.outputs.sha }}

- name: Verify publication privacy
shell: bash
env:
PUBLICATION_PATH: ${{ runner.temp }}/release-readiness-ci.json
run: node .release-readiness/scripts/repository-privacy.mjs --artifact "$PUBLICATION_PATH"

- name: Record verified CI
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
Expand All @@ -118,13 +124,21 @@ jobs:
persist-credentials: false
ref: ${{ needs.verify-source-sha.outputs.release_sha }}

- name: Checkout release-readiness runner
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: reallyme/release-readiness
ref: e323ea52bc1f76e67df03fc95e19d596fb54bd03
path: .release-readiness
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: 1.100.0

- name: Install cargo-audit
uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3, cargo-audit
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6, cargo-audit
with:
tool: cargo-audit@0.23.0

Expand Down Expand Up @@ -159,8 +173,11 @@ jobs:
env:
CRATE_ARCHIVE_DIR: ${{ runner.temp }}/release-package

- name: Check package contents for private local files
run: python3 scripts/check_release_privacy.py "$RUNNER_TEMP/release-package"
- name: Verify publication privacy
shell: bash
env:
PUBLICATION_PATH: ${{ runner.temp }}/release-package
run: node .release-readiness/scripts/repository-privacy.mjs --artifact "$PUBLICATION_PATH"

- name: Upload verified package
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/crates-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
description: Release version without leading v
required: true
type: string
default: 0.4.3
default: 0.4.4
source_sha:
description: Copy the full source SHA from the successful Crates Package Preflight summary
required: true
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: reallyme/release-readiness
ref: 55115f21d5bf9a3fbc1bb8d10484aecba6e7bd8f
ref: e323ea52bc1f76e67df03fc95e19d596fb54bd03
path: .release-readiness
persist-credentials: false

Expand Down Expand Up @@ -114,6 +114,14 @@ jobs:
persist-credentials: false
ref: ${{ needs.verify-release-sha.outputs.release_sha }}

- name: Checkout release-readiness runner
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: reallyme/release-readiness
ref: e323ea52bc1f76e67df03fc95e19d596fb54bd03
path: .release-readiness
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
Expand All @@ -136,8 +144,11 @@ jobs:

# No build cache is restored here: this job holds the registry token, and
# publishing uses --no-verify, so a cache could only add poisoning risk.
- name: Check package contents for private local files
run: python3 scripts/check_release_privacy.py "$RUNNER_TEMP/release-package"
- name: Verify publication privacy
shell: bash
env:
PUBLICATION_PATH: ${{ runner.temp }}/release-package
run: node .release-readiness/scripts/repository-privacy.mjs --artifact "$PUBLICATION_PATH"

- name: Publish crates in dependency order
run: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/fuzz-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:
- deterministic_cbor
- general_cbor
- der
- der_schema
- tlv
- multibase
- multicodec
- multikey
- operation_contract
- jcs_text
- guarded_json
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -41,21 +43,23 @@ jobs:
- name: Install Rust nightly
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: nightly-2026-07-01
toolchain: nightly-2026-11-10

- name: Install cargo-fuzz
run: cargo install --git https://github.com/rust-fuzz/cargo-fuzz.git --rev 984c861c8dfea28055254c5f1d2659ab2cd63f76 --locked cargo-fuzz

- name: Seed regression corpus
if: matrix.target == 'general_cbor' || matrix.target == 'operation_contract'
if: matrix.target == 'general_cbor' || matrix.target == 'operation_contract' || matrix.target == 'der_schema' || matrix.target == 'guarded_json'
env:
FUZZ_CORPUS_TARGET: ${{ matrix.target }}
run: |
mkdir -p "fuzz/corpus/$FUZZ_CORPUS_TARGET"
cp "fuzz/seeds/$FUZZ_CORPUS_TARGET/"* "fuzz/corpus/$FUZZ_CORPUS_TARGET/"

- name: Run time-boxed fuzz target
run: cargo +nightly-2026-07-01 fuzz run ${{ matrix.target }} -- -max_total_time=300 -rss_limit_mb=4096
env:
FUZZ_MAX_LEN: ${{ matrix.target == 'der_schema' && '2097152' || '0' }}
run: cargo +nightly-2026-11-10 fuzz run ${{ matrix.target }} -- -max_total_time=300 -rss_limit_mb=4096 -max_len="$FUZZ_MAX_LEN"

- name: Upload crash artifacts
if: failure()
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install Rust nightly
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: nightly-2026-07-01
toolchain: nightly-2026-11-10

- name: Verify fuzz lockfile is current
run: cargo metadata --manifest-path fuzz/Cargo.toml --locked --format-version 1 > /dev/null
Expand All @@ -37,10 +37,16 @@ jobs:
run: cargo install --git https://github.com/rust-fuzz/cargo-fuzz.git --rev 984c861c8dfea28055254c5f1d2659ab2cd63f76 --locked cargo-fuzz

- name: Build fuzz targets
run: cargo +nightly-2026-07-01 fuzz build
run: cargo +nightly-2026-11-10 fuzz build

- name: Replay operation contract regression
run: cargo +nightly-2026-07-01 fuzz run operation_contract fuzz/seeds/operation_contract/provider_info.json
run: cargo +nightly-2026-11-10 fuzz run operation_contract fuzz/seeds/operation_contract/provider_info.json

- name: Replay caller-supplied DER schema regressions
run: cargo +nightly-2026-11-10 fuzz run der_schema fuzz/seeds/der_schema -- -runs=0 -max_len=2097152

- name: Replay guarded JSON regressions
run: cargo +nightly-2026-11-10 fuzz run guarded_json fuzz/seeds/guarded_json -- -runs=0

- name: Record verified source
id: verified
Expand Down
Loading
Loading