Skip to content

Commit

Permalink
Added missing commit for host pub key (#134)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Geddes <[email protected]>
  • Loading branch information
mattgeddes and Matthew Geddes authored Aug 22, 2024
1 parent 2247aaa commit 77d740c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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 @@ mod tests {
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

0 comments on commit 77d740c

Please sign in to comment.