Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep 2.0.0 #778

Merged
merged 3 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ All versions prior to 0.9.0 are untracked.

## [Unreleased]

## [2.0.0]

### Added

* CLI: `sigstore sign` and `sigstore get-identity-token` now support the
Expand Down Expand Up @@ -279,7 +281,8 @@ All versions prior to 0.9.0 are untracked.
([#351](https://github.com/sigstore/sigstore-python/pull/351))

<!--Release URLs -->
[Unreleased]: https://github.com/sigstore/sigstore-python/compare/v1.1.2...HEAD
[Unreleased]: https://github.com/sigstore/sigstore-python/compare/v2.0.0...HEAD
[2.0.0]: https://github.com/sigstore/sigstore-python/compare/v1.1.2...v2.0.0
[1.1.2]: https://github.com/sigstore/sigstore-python/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/sigstore/sigstore-python/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/sigstore/sigstore-python/compare/v1.0.0...v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ namely the Fulcio's supported identity providers and the claims expected within

### Verifying against a signature and certificate

By default, `sigstore verify` will attempt to find a `<filename>.sigstore` in the
By default, `sigstore verify identity` will attempt to find a `<filename>.sigstore` in the
same directory as the file being verified:

```console
Expand Down
2 changes: 1 addition & 1 deletion sigstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
* `sigstore.sign`: creation of Sigstore signatures
"""

__version__ = "2.0.0rc3"
__version__ = "2.0.0"
4 changes: 2 additions & 2 deletions sigstore/transparency.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
BaseModel,
ConfigDict,
Field,
FieldValidationInfo,
StrictInt,
StrictStr,
ValidationInfo,
woodruffw marked this conversation as resolved.
Show resolved Hide resolved
field_validator,
)
from pydantic.dataclasses import dataclass
Expand Down Expand Up @@ -62,7 +62,7 @@ def _tree_size_positive(cls, v: int) -> int:

@field_validator("tree_size")
def _log_index_within_tree_size(
cls, v: int, info: FieldValidationInfo, **kwargs: Any
cls, v: int, info: ValidationInfo, **kwargs: Any
) -> int:
if "log_index" in info.data and v <= info.data["log_index"]:
raise ValueError(
Expand Down