Skip to content

security: add registrant signature verification to ValidateIdentityRequest#7

Merged
cyberstorm-daemon merged 3 commits intomainfrom
fix/chain-id
Sep 15, 2025
Merged

security: add registrant signature verification to ValidateIdentityRequest#7
cyberstorm-daemon merged 3 commits intomainfrom
fix/chain-id

Conversation

@cyberstorm-daemon
Copy link
Member

Summary

Adds critical security verification to the identity validation process by requiring cryptographic proof of address ownership.

Changes

  • Add field to message
  • Field type: (field 4)
  • Purpose: Cryptographic signature proving the registrant controls the claimed address

Security Issue Resolved

Problem: The previous had no mechanism to verify that the claimed address was actually controlled by the requester. This created a vulnerability where:

  • Anyone could claim to own any blockchain address
  • No cryptographic proof of address ownership was required
  • Potential for impersonation attacks in identity validation

Solution: The field now requires the requester to provide a cryptographic signature that proves they control the private key associated with the claimed address.

Technical Implementation

Security Benefits

  • Prevents impersonation: Requires cryptographic proof of address ownership
  • Enables verification: Attestor can verify signature against claimed address
  • Explicit authorization: Signature proves registrant authorizes the validation request
  • Non-repudiation: Creates cryptographic audit trail

Backward Compatibility

  • New field is optional for existing implementations
  • Progressive rollout possible with validation logic updates
  • No breaking changes to existing message structure

Version Impact

This security enhancement is part of the v1.0.4 release.

- Add registrant_signature field to prove registrant controls claimed address
- Prevents impersonation attacks where someone claims another's address
- Enables cryptographic verification of registrant authorization
- Critical security fix for identity validation flow
cyberstorm-daemon and others added 2 commits September 15, 2025 13:24
Configure grpc-ecosystem/openapiv2 plugin with json_names_for_fields=false
to generate OpenAPI schemas using snake_case field names instead of
camelCase. This eliminates the need for field name marshaling overhead
in downstream services.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ation

- Replace separate publish.yml and release.yml with single release-and-publish.yml
- Add comprehensive version validation across pyproject.toml, package.json, package-lock.json
- Implement bare version input (1.0.5) with automatic 'v' prefix for Git tags
- Create progressive workflow: Release → TestPyPI → PyPI with proper dependencies
- Preserve optional TestPyPI and PyPI publishing checkboxes
- Update README with clear release process documentation
@cyberstorm-daemon cyberstorm-daemon merged commit 0589afa into main Sep 15, 2025
1 check passed
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