Skip to content

Commit 4928552

Browse files
Typo fix of type error (#545)
* Typo fix of type error Signed-off-by: Mihai Maruseac <[email protected]> * Update CHANGELOG Signed-off-by: Mihai Maruseac <[email protected]> * Update version number for the patch Signed-off-by: Mihai Maruseac <[email protected]> --------- Signed-off-by: Mihai Maruseac <[email protected]>
1 parent c47b5f8 commit 4928552

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ All versions prior to 1.0.0 are untracked.
2121
### Removed
2222
- ...
2323

24+
## [1.1.1] - 2025-10-10
25+
26+
### Fixed
27+
- Fixed a bug where the API with default signing configuration results in an error due to a type confusion ([#545](https://github.com/sigstore/model-transparency/pull/545))
28+
2429
## [1.1.0] - 2025-10-10
2530

2631
### Added
@@ -77,7 +82,8 @@ All versions prior to 1.0.0 are untracked.
7782
- [Demo notebook](https://colab.sandbox.google.com/drive/18IB_uipduXYq0ohMxJv2xHfeihLIcGMT) to showcase API and CLI examples.
7883

7984

80-
[Unreleased]: https://github.com/sigstore/model-transparency/compare/v1.1.0...HEAD
85+
[Unreleased]: https://github.com/sigstore/model-transparency/compare/v1.1.1...HEAD
86+
[1.1.1]: https://github.com/sigstore/model-transparency/compare/v1.1.0...v1.1.1
8187
[1.1.0]: https://github.com/sigstore/model-transparency/compare/v1.0.1...v1.1.0
8288
[1.0.1]: https://github.com/sigstore/model-transparency/compare/v1.0.0...v1.0.1
8389
[1.0.0]: https://github.com/sigstore/model-transparency/compare/v0.1.0...v1.0.0

src/model_signing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
from model_signing import verifying
126126

127127

128-
__version__ = "1.1.0"
128+
__version__ = "1.1.1"
129129

130130

131131
__all__ = ["hashing", "signing", "verifying", "manifest"]

src/model_signing/signing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def sign(
103103
signature_path: The path of the resulting signature.
104104
"""
105105
if not self._signer:
106-
self._signer = self.use_sigstore_signer()
106+
self.use_sigstore_signer()
107107
manifest = self._hashing_config.hash(model_path)
108108
payload = signing.Payload(manifest)
109109
signature = self._signer.sign(payload)

0 commit comments

Comments
 (0)