checker: remove CollectedAt from DANEData

The observation timestamp is already managed by the core; there is no
need for the checker to record it separately.
This commit is contained in:
nemunaire 2026-05-16 13:06:47 +08:00
commit e75c97b52b
3 changed files with 4 additions and 11 deletions

View file

@ -18,8 +18,6 @@
// SHA-512) are matched against the chain slot implied by the usage.
package checker
import "time"
// ObservationKeyDANE is the observation key this checker writes.
const ObservationKeyDANE = "dane_checks"
@ -89,8 +87,7 @@ type DANEData struct {
// records set the AD bit. Only populated by the standalone interactive
// flow (lookupTLSA); nil in managed mode where records come from the
// user's zone config and DNSSEC posture is checked elsewhere.
DNSSECValidated *bool `json:"dnssec_validated,omitempty"`
CollectedAt time.Time `json:"collected_at"`
DNSSECValidated *bool `json:"dnssec_validated,omitempty"`
}
// InvalidRecord describes a TLSA record dropped during Collect.