Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Fast passphrase hashing #1986

Merged
merged 3 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG-UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- renamed `hc-conductor-wasm-install` to `hc-conductor-wasm-bindgen-install`
- core `shellHook` can now override holonix `shellHook`
- several `--target-dir` flags are removed in favour of `$CARGO_TARGET_DIR`
- the passphrase hashing config is now set to faster and less secure parameters to reduce the start-up time of conductors a lot, esp. on slow devices. (will become a setting the user can choose in the future - faster and less secure config is fine for now and throughout alpha and beta) [#1986](https://github.com/holochain/holochain-rust/pull/1986)

### Deprecated

Expand Down
3 changes: 2 additions & 1 deletion crates/conductor_lib/src/conductor/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ use crate::{
},
config::{AgentConfiguration, PassphraseServiceConfig},
interface::{ConductorApiBuilder, InstanceMap, Interface},
keystore::test_hash_config,
port_utils::get_free_port,
signal_wrapper::SignalWrapper,
static_file_server::ConductorStaticFileServer,
Expand Down Expand Up @@ -243,7 +244,7 @@ impl Conductor {
p2p_config: None,
network_spawn: None,
passphrase_manager: Arc::new(PassphraseManager::new(passphrase_service)),
hash_config: None,
hash_config: test_hash_config(),
n3h_keepalive_network: None,
}
}
Expand Down