Skip to content

feat(malwaredb): verify feed head and persist pair - #21

Merged
coreybutler merged 1 commit into
mainfrom
feat/malware-db-seed
Oct 25, 2026
Merged

coreybutler merged 1 commit into
mainfrom
feat/malware-db-seed

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

Summary

  • Feed head.cose is checked with VerifySign1 for org Author Software Inc. Unsigned wrap is rejected.
  • head.cose is written beside malware.db. Same-seq updates also fill a missing head file.
  • PairTrusted / CopySeed copy a Program Files seed into the data root only when the live pair is missing or untrusted. A trusted live pair is not overwritten.

Test plan

  • go test ./malwaredb in common
  • Unsigned head fixture fails Update
  • CopySeed skips a trusted dest and fills an empty dest

Unsigned head.cose was accepted. VerifySign1 against
Author Software Inc. and keep head.cose beside malware.db
so a later reader can check the live pair.

Signed-off-by: Corey Butler <770982+coreybutler@users.noreply.github.com>
@coreybutler
coreybutler merged commit 15b2ef3 into main Oct 25, 2026
2 checks passed
@coreybutler
coreybutler deleted the feat/malware-db-seed branch October 25, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant