Skip to content

Add badgeverify credential package and PortVerify constant#17

Merged
TeoSlayer merged 1 commit into
mainfrom
feat/badgeverify
Jun 19, 2026
Merged

Add badgeverify credential package and PortVerify constant#17
TeoSlayer merged 1 commit into
mainfrom
feat/badgeverify

Conversation

@TeoSlayer

Copy link
Copy Markdown
Contributor

Adds the common/badgeverify package: offline-verifiable badge / enrollment / recovery credentials (Ed25519), two-keyring split (cold recovery key separate from online badge key), fail-closed zero-key guard, and an adversarial red-team test suite. Also adds protocol.PortVerify = 1003.

Additive only — no changes to existing behavior. Foundation for verified-address badges + identity-based node recovery.

Tested: go test -race ./... green.

New common/badgeverify package: offline-verifiable badge/enrollment/recovery
credentials (Ed25519, two-keyring split for cold recovery key, fail-closed
zero-key guard, adversarial red-team tests). Adds protocol.PortVerify=1003
for the verifier service.
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.03911% with 59 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
badgeverify/credential.go 50.00% 35 Missing and 6 partials ⚠️
badgeverify/badgeverify.go 81.44% 9 Missing and 9 partials ⚠️

📢 Thoughts on this report? Let us know!

@TeoSlayer TeoSlayer merged commit 2777e41 into main Jun 19, 2026
1 of 2 checks passed
@TeoSlayer TeoSlayer deleted the feat/badgeverify branch June 19, 2026 14:43
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.

2 participants