Skip to content

Commit

Permalink
update deps + bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
notsatvrn committed Jul 19, 2023
1 parent d5f9760 commit 4591684
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ homepage = "https://github.com/notsatvrn/double-ratchet-rs"
repository = "https://github.com/notsatvrn/double-ratchet-rs"
readme = "README.md"
keywords = ["double-ratchet", "crypto", "cryptography", "signal"]
version = "0.4.4"
version = "0.4.5"
edition = "2021"
license = "MIT"

[dependencies]
x25519-dalek = {version = "2.0.0-pre.1", default-features = false, features = ["serde", "u64_backend"]}
x25519-dalek = {version = "2.0.0-rc.3", default-features = false, features = ["serde", "static_secrets", "zeroize"]}
rand_core = "0.6"
hkdf = "0.12"
hmac = "0.12"
aes-gcm-siv = "0.11"
sha2 = {version = "0.10", default-features = false}
serde = {version = "1", default-features = false, features = ["derive"]}
postcard = {version = "1", default-features = false, features = ["alloc"]}
hashbrown = {version = "0.13", features = ["serde"]}
zeroize = {version = "1.5", default-features = false, features = ["zeroize_derive"]}
serde = {version = "1.0", default-features = false, features = ["derive"]}
postcard = {version = "1.0", default-features = false, features = ["alloc"]}
hashbrown = {version = "0.14", features = ["serde"]}
zeroize = {version = "1.6", default-features = false, features = ["zeroize_derive"]}

[dev-dependencies]
criterion = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion src/dh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Default for DhKeyPair {

impl DhKeyPair {
pub fn new() -> Self {
let secret = StaticSecret::new(&mut OsRng);
let secret = StaticSecret::random_from_rng(&mut OsRng);
let public = PublicKey::from(&secret);
DhKeyPair {
private_key: secret,
Expand Down

0 comments on commit 4591684

Please sign in to comment.