Skip to content

Commit

Permalink
Use our own zeroize instead of the one form ctr::cipher (#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
pronebird authored Dec 10, 2024
1 parent eb0b27a commit 7fe6c2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions nym-vpn-core/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 nym-vpn-core/crates/nym-vpn-api-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ strum.workspace = true
strum_macros.workspace = true
thiserror.workspace = true
tracing.workspace = true
zeroize.workspace = true

[dev-dependencies]
tokio = { workspace = true, features = ["full"] }
bip39 = { workspace = true, features = ["zeroize"] }

3 changes: 2 additions & 1 deletion nym-vpn-core/crates/nym-vpn-api-client/src/types/account.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Copyright 2024 - Nym Technologies SA <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only

use zeroize::Zeroizing;

use nym_compact_ecash::scheme::keygen::KeyPairUser;
use nym_crypto::ctr::cipher::zeroize::Zeroizing;
use nym_validator_client::{
nyxd::bip32::DerivationPath, signing::signer::OfflineSigner as _, DirectSecp256k1HdWallet,
};
Expand Down

0 comments on commit 7fe6c2e

Please sign in to comment.