File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dependencies = [
36
36
" rfc8785 ~= 0.1.2" ,
37
37
" sigstore-protobuf-specs ~= 0.3.1" ,
38
38
# NOTE(ww): Under active development, so strictly pinned.
39
- " sigstore-rekor-types == 0.0.12 " ,
39
+ " sigstore-rekor-types == 0.0.13 " ,
40
40
" tuf ~= 4.0" ,
41
41
" platformdirs ~= 4.2" ,
42
42
]
Original file line number Diff line number Diff line change @@ -210,8 +210,12 @@ def sign_dsse(
210
210
211
211
# Create the proposed DSSE log entry
212
212
proposed_entry = rekor_types .Dsse (
213
- spec = rekor_types .dsse .DsseV001Schema (
214
- proposed_content = rekor_types .dsse .ProposedContent (
213
+ spec = rekor_types .dsse .DsseSchema (
214
+ # NOTE: mypy can't see that this kwarg is correct due to two interacting
215
+ # behaviors/bugs (one pydantic, one datamodel-codegen):
216
+ # See: <https://github.com/pydantic/pydantic/discussions/7418#discussioncomment-9024927>
217
+ # See: <https://github.com/koxudaxi/datamodel-code-generator/issues/1903>
218
+ proposed_content = rekor_types .dsse .ProposedContent ( # type: ignore[call-arg]
215
219
envelope = content .to_json (),
216
220
verifiers = [b64_cert .decode ()],
217
221
),
You can’t perform that action at this time.
0 commit comments