Skip to content

NIP-66: Define output tags for ssl, geo, and net checks; fix timeout/l-tag/c-tag docs#2200

Draft
VincenzoImp wants to merge 1 commit intonostr-protocol:masterfrom
VincenzoImp:nip66-output-tags
Draft

NIP-66: Define output tags for ssl, geo, and net checks; fix timeout/l-tag/c-tag docs#2200
VincenzoImp wants to merge 1 commit intonostr-protocol:masterfrom
VincenzoImp:nip66-output-tags

Conversation

@VincenzoImp
Copy link
Contributor

Closes #2171

See issue for full details.

This PR proposes additions to NIP-66 to standardize the output format
for checks that are already declarable in kind 10166 but lack defined
result tags in kind 30166.

Changes:

**Bug Fixes:**
- Fix timeout tag format documentation (text contradicted example)
- Document l (language) tag that was in example but not documented
- Clarify c tag check values (ws → open/read/write)

**New Output Tags:**
- SSL/TLS: ssl, ssl-expires, ssl-issuer
- Network: net-ip, net-ipv6, net-asn, net-asn-org
- Geographic: geo-country, geo-city, geo-lat, geo-lon, geo-tz

**Documentation:**
- Add formal check-to-output mapping table
- Reorganize tags by category (Basic, RTT, SSL, Network, Geographic)
- Add Use Cases and Privacy Considerations sections
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.

NIP-66: Define output tags for ssl, geo, and net checks; fix timeout/l-tag/c-tag docs

1 participant