Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing commit for host pub key #134

Merged
merged 1 commit into from
Aug 22, 2024
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
3 changes: 3 additions & 0 deletions core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ pub enum Config {
// /1 derivation path of the device bundle base36 encoded
holoport_id: String,
/// Holo registration code is used to identify and authenticate its users
// This is a HoloHash version of the holoport_id
initial_host_pub_key: String,
registration_code: String,
/// The pub-key in settings is the holoport key that is used for verifying login signatures
settings: Settings,
Expand Down Expand Up @@ -121,6 +123,7 @@ impl Config {
device_derivation_path,
revocation_pub_key,
holoport_id,
initial_host_pub_key: public_key::to_holochain_encoded_agent_key(&device_pub_key),
registration_code,
settings: Settings { admin },
},
Expand Down
1 change: 1 addition & 0 deletions core/tests/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
device_derivation_path,
revocation_pub_key,
holoport_id,
initial_host_pub_key,

Check warning on line 63 in core/tests/configuration.rs

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, stable)

unused variable: `initial_host_pub_key`
registration_code,
settings,
} = hpos_config.0
Expand Down
Loading