identity

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AccountNamespaceUUID = "b4f5c9d2-8a3e-5f7b-0c6d-e9f2a3b4c5d6"
View Source
const DeviceNamespaceUUID = "a3e4b8c1-7f2d-4e6a-9b5c-d8f1e2a3b4c5"

Separate namespace UUIDs guarantee device_id != account_id even for the same EK fingerprint. WARNING: Changing either value invalidates all deterministic IDs and cached identity references. Never change them.

Variables

This section is empty.

Functions

func AccountID

func AccountID(ekFingerprint string) uuid.UUID

AccountID derives a deterministic account UUID from the founding device's EK fingerprint.

func DeviceID

func DeviceID(ekFingerprint string) uuid.UUID

DeviceID derives a deterministic device UUID from an EK fingerprint.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL