static MAGIC_BANNER: &str =
"# WARNING - AUTOMATICALLY GENERAED FILE - DO NOT EDIT\n";
-#[derive(Copy,Clone,Serialize,Deserialize,Eq,PartialEq)]
+#[derive(Copy,Clone,Serialize,Deserialize)]
+#[derive(Eq,PartialEq,Hash,Ord,PartialOrd)]
#[serde(transparent)]
// This will detecte if the slotmap in Accounts gets rewound, without
// updating the authorzed keys. That might reuse Id values but it
}
#[derive(Debug,Clone,Serialize,Deserialize)]
+#[derive(Eq,PartialEq,Hash,Ord,PartialOrd)]
pub struct KeySpec {
pub id: sshkeys::Id,
pub nonce: sshkeys::Nonce,