Skip to content

Update dependencies for security fixes - #24

Open
lasantosr wants to merge 1 commit into
hanzoai:mainfrom
lasantosr:deps/security-updates
Open

lasantosr wants to merge 1 commit into
hanzoai:mainfrom
lasantosr:deps/security-updates

Conversation

@lasantosr

Copy link
Copy Markdown

What changed

Bumped vulnerable dependency versions: rand, sha2, base64, bip32, k256, sha3, reqwest, toml, dirs, colored, dialoguer, which, and tiny-bip39. Applied the required API adaptations for the new versions.

Why

To get rid of all 15 vulnerabilities reported by cargo audit.

How it was checked

cargo check passes.

Bump rand, sha2, base64, bip32, k256, sha3, reqwest, toml, dirs,
colored, dialoguer, which, and tiny-bip39, adapting to API changes:

- reqwest 0.13: enable query/form features
- bip32 0.6: enable alloc for DerivationPath/derive_from_path
- rand 0.10: OsRng/RngCore -> SysRng/TryRng
- k256/ecdsa 0.17: to_encoded_point -> to_sec1_point
- sha2 0.11: hex-encode digest manually (LowerHex removed)
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.

1 participant