Module identity

Source
Expand description

User identity and privacy system User Identity and Privacy System

This module provides a privacy-first user identity system for the P2P network. User profiles are encrypted by default and access is controlled through friend-based key sharing. Anti-spoofing measures bind user identities to network-level IPv6 cryptographic identities.

§Key Features

  • Encrypted profiles with granular access control
  • Friend-based key sharing for selective information disclosure
  • Anti-spoofing through IPv6 identity binding
  • Private contact discovery using bloom filters
  • Social verification network for trust building
  • Zero-knowledge profile operations

Modules§

manager
Identity Manager

Structs§

AccessGrant
Access grant allowing a friend to decrypt profile data
ChallengeProof
Response to identity challenge
ContactRequest
Contact request between users
DiscoverabilitySettings
Privacy and discoverability settings
EncryptedUserProfile
Encrypted user profile stored in DHT
IPv6BindingProof
Proof that user identity is bound to IPv6 network identity
IdentityChallenge
Challenge for proving identity ownership
PrivacySettings
Additional privacy controls
ProfilePermissions
Profile access permissions
UserIdentity
Core user identity structure
UserPreferences
User preferences and privacy settings
UserProfile
User profile data (stored encrypted)
VerificationVoucher
Social verification voucher

Enums§

RelationshipType
Types of relationships for social verification
VerificationLevel
User identity verification levels

Type Aliases§

UserId
Unique user identifier derived from public key