Commit 70112454 authored by Vincent Breitmoser's avatar Vincent Breitmoser
Browse files

db: don't quarantine degenerate keys

parent 7ad5746f
......@@ -219,7 +219,7 @@ pub trait Database: Sync + Send {
full_tpk_new.keys().subkeys().next().is_some() ||
full_tpk_new.userids().next().is_some();
if !is_ok {
self.write_to_quarantine(&fpr_primary, &tpk_to_string(&full_tpk_new)?)?;
// self.write_to_quarantine(&fpr_primary, &tpk_to_string(&full_tpk_new)?)?;
return Err(anyhow!("Not a well-formed key!"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment