Skip to content

Commit

Permalink
Drop malformed packets during Merge hockeypuck#198
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgdotcom committed May 3, 2023
1 parent 778956a commit bd3b8ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hockeypuck/openpgp/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ func Merge(dst, src *PrimaryKey) error {
if err != nil {
return errors.WithStack(err)
}
err = DropMalformed(dst)
if err != nil {
return errors.WithStack(err)
}
return ValidSelfSigned(dst, false)
}

Expand Down

0 comments on commit bd3b8ae

Please sign in to comment.