Skip to content
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
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: astral-sh/setup-uv@v9.0.0
- uses: astral-sh/setup-uv@v10.3.0
with:
version: "0.13.4"

- run: uv build

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: astral-sh/setup-uv@v9.0.0
- uses: astral-sh/setup-uv@v10.3.0
with:
version: "0.13.4"

- run: uv python install ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion ecies/utils/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def sha256(data: bytes) -> bytes:
def derive_key(master: bytes, salt: bytes = b"") -> bytes:
# 32 bytes for aes256 and xchacha20
derived = HKDF(master, 32, salt, SHA256, num_keys=1)
return derived # type: ignore
return derived
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ dev = [
"ipython>=9.17.0,<10; python_version >= '3.11'",
"pytest>=9.1.1,<10; python_version >= '3.10'",
"pytest-cov>=7.1.0,<8",
"ruff>=0.16.5",
"ty>=0.0.75",
"ruff>=0.17.1",
"ty>=0.0.90",
]

[build-system]
Expand Down
Loading
Loading