summaryrefslogtreecommitdiffstats
path: root/openpgp/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/lib.rs')
-rw-r--r--openpgp/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/openpgp/src/lib.rs b/openpgp/src/lib.rs
index 6f792c88..09e1bfca 100644
--- a/openpgp/src/lib.rs
+++ b/openpgp/src/lib.rs
@@ -345,6 +345,10 @@ pub enum Error {
})
.unwrap_or_else(|| "".into()))]
PolicyViolation(String, Option<std::time::SystemTime>),
+
+ /// Short key IDs are insecure, and not supported.
+ #[error("Short key IDs are insecure, and not supported: {0}")]
+ ShortKeyID(String),
}
assert_send_and_sync!(Error);