diff --git a/src/secrets.rs b/src/secrets.rs index ec09860..a02ce92 100644 --- a/src/secrets.rs +++ b/src/secrets.rs @@ -48,8 +48,9 @@ impl From 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); +pub struct ServerHash(pub String); #[derive(Deserialize)] pub struct PadlockGenerationSecret(pub SecretVec);