Make ServerHash a String
Best not to ascribe any special meaning to it.
This commit is contained in:
parent
ffe3aa5232
commit
ccf6d33c89
1 changed files with 2 additions and 1 deletions
|
@ -48,8 +48,9 @@ impl From<String> for ServerPadlock {
|
|||
}
|
||||
}
|
||||
|
||||
/// Not actually a hash, just a random value handed out to servers on request.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct ServerHash(pub Vec<u8>);
|
||||
pub struct ServerHash(pub String);
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct PadlockGenerationSecret(pub SecretVec<u8>);
|
||||
|
|
Loading…
Reference in a new issue