diff --git a/openpgp-card/src/lib.rs b/openpgp-card/src/lib.rs index 09c46ca..89b1d5e 100644 --- a/openpgp-card/src/lib.rs +++ b/openpgp-card/src/lib.rs @@ -528,7 +528,7 @@ impl PinType { } /// Identify a Key slot on an OpenPGP card -#[derive(Debug, Clone, Copy, Eq, PartialEq)] +#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)] #[non_exhaustive] pub enum KeyType { Signing,