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:
parent
7ad5746f52
commit
7011245414
1 changed files with 1 additions and 1 deletions
|
@ -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!"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue