1
0
Fork 0
mirror of https://gitlab.com/hagrid-keyserver/hagrid.git synced 2023-02-13 20:55:02 -05:00

db: don't quarantine degenerate keys

This commit is contained in:
Vincent Breitmoser 2021-04-15 00:25:18 +02:00
parent 7ad5746f52
commit 7011245414

View file

@ -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!"));
}