Skip to content

Commit

Permalink
zeroize: Upgrade to v0.9 (#2914)
Browse files Browse the repository at this point in the history
* zeroize: Upgrade to v0.9

* missed Cargo.lock
  • Loading branch information
garyyu authored and yeastplume committed Jun 25, 2019
1 parent 71d16d1 commit 41fa0e2
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 79 deletions.
144 changes: 69 additions & 75 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ siphasher = "0.2"
uuid = { version = "0.6", features = ["serde", "v4"] }
log = "0.4"
chrono = { version = "0.4.4", features = ["serde"] }
zeroize = "0.8"
zeroize = "0.9"

grin_keychain = { path = "../keychain", version = "2.0.0-beta.2" }
grin_util = { path = "../util", version = "2.0.0-beta.2" }
Expand Down
2 changes: 1 addition & 1 deletion keychain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde_derive = "1"
serde_json = "1"
uuid = { version = "0.6", features = ["serde", "v4"] }
lazy_static = "1"
zeroize = "0.8.0"
zeroize = "0.9"

digest = "0.7"
hmac = "0.6"
Expand Down
1 change: 1 addition & 0 deletions keychain/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ impl fmt::Display for Identifier {
}

#[derive(Default, Clone, PartialEq, Serialize, Deserialize, Zeroize)]
#[zeroize(drop)]
pub struct BlindingFactor([u8; SECRET_KEY_SIZE]);

// Dummy `Debug` implementation that prevents secret leakage.
Expand Down
4 changes: 2 additions & 2 deletions util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ log = "0.4"
walkdir = "2"
zip = { version = "0.4", default-features = false }
parking_lot = {version = "0.6"}
zeroize = "0.5.2"
zeroize = "0.9"

[dependencies.grin_secp256k1zkp]
#git = "https://github.com/mimblewimble/rust-secp256k1-zkp"
#tag = "grin_integration_29"
#path = "../../rust-secp256k1-zkp"
version = "0.7.6"
version = "0.7.7"
features = ["bullet-proof-sizing"]

0 comments on commit 41fa0e2

Please sign in to comment.