Skip to content

Commit

Permalink
Fix account-related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
l1h3r committed Mar 15, 2021
1 parent 3b31c87 commit d550d2b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions identity-account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ futures = { version = "0.3" }
hashbrown = { version = "0.9" }
identity-core = { version = "=0.2.0", path = "../identity-core" }
once_cell = { version = "1.5", default-features = false, features = ["std"] }
riker = { version = "0.4", git ="https://github.com/elenaf9/riker", branch = "master" }
riker = { version = "0.4" }
slog = { version = "2.7" }
tokio = { version = "1.2", default-features = false, features = ["rt", "rt-multi-thread", "sync"] }
zeroize = { version = "1.2"}

[dependencies.iota-crypto]
git = "https://github.com/iotaledger/crypto.rs"
rev = "dbb082870676b25b1867513792e51bd74ef1824d"
features = ["blake2b", "ed25519", "hmac", "pbkdf", "sha"]
rev = "b849861b86c3f7357b7477de4253b7352b363627"
features = ["blake2b", "ed25519", "hmac", "pbkdf", "sha", "slip10"]

[dependencies.iota-stronghold]
git = "https://github.com/iotaledger/stronghold.rs"
rev = "374742b1d0d42592d7ae39bb7842fb301b685ddd"
rev = "b8904ff0df9c963980ae148815ad56c40588d84a"

[dev-dependencies]
rand = { version = "0.8" }
Expand Down
2 changes: 1 addition & 1 deletion identity-account/src/stronghold/result.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use iota_stronghold::hd::ChainCode;
use crypto::keys::slip10::ChainCode;
use iota_stronghold::ProcResult;
use iota_stronghold::ResultMessage;

Expand Down
4 changes: 2 additions & 2 deletions identity-account/src/stronghold/vault.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use iota_stronghold::hd::Chain;
use iota_stronghold::hd::ChainCode;
use crypto::keys::slip10::Chain;
use crypto::keys::slip10::ChainCode;
use iota_stronghold::Location;
use iota_stronghold::Procedure;
use iota_stronghold::RecordHint;
Expand Down
2 changes: 1 addition & 1 deletion identity-account/src/utils/crypto.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use crypto::kdfs::pbkdf::PBKDF2_HMAC_SHA512;
use crypto::keys::pbkdf::PBKDF2_HMAC_SHA512;

const PBKDF_ITER: usize = 100;
const PBKDF_SALT: &[u8] = b"identity.rs";
Expand Down

0 comments on commit d550d2b

Please sign in to comment.