Skip to content

chore: improve security and update dependencies#63

Merged
btutu-filuta merged 6 commits intomasterfrom
chore/dependency-update
Mar 26, 2026
Merged

chore: improve security and update dependencies#63
btutu-filuta merged 6 commits intomasterfrom
chore/dependency-update

Conversation

@btutu-filuta
Copy link
Copy Markdown

@btutu-filuta btutu-filuta commented Mar 26, 2026

Dependency Update & Security Upgrade

This PR addresses vulnerabilities, fixes build failures, and improves security standards.

Key Changes

  • Security Upgrade: Replaced passlib.pwd.genword() with secrets.token_urlsafe(32). This resolves the pkg_resources error and upgrades security from ~48 bits (9 chars) to 256 bits of entropy (~43 chars).
  • CI Stability: Updated the bandit pre-commit hook to 1.7.10 to fix environment crashes and corrected password.py formatting for Ruff compliance.
  • Version Bump: Incremented package version to 12.1.1+10 in source and tests.

Dependency Updates

  • python-multipart: 0.0.190.0.22 (vulnerability fix)
  • bandit: 1.7.51.7.10
  • pyjwt[crypto]: 2.8.02.10.1
  • email-validator: Updated constraint to <2.1

Verification

  • All tests passed.
  • Pre-commit hooks clean.
  • Package build verified for version 12.1.1+10.

Requested on Slack: https://filuta.slack.com/archives/C04C91Z421J/p1774528912011389

@btutu-filuta btutu-filuta changed the title chore: update python-multipart because of vulnerability chore: update dependencies Mar 26, 2026
@btutu-filuta btutu-filuta requested a review from slavomirs March 26, 2026 15:05
@btutu-filuta btutu-filuta changed the title chore: update dependencies chore: improve security and update dependencies Mar 26, 2026
@btutu-filuta btutu-filuta merged commit feaed96 into master Mar 26, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants