vicariousdrama / cornychat

🌽 Corny Chat is an open source audio space built on Jam that integrates Nostr and Lightning
https://cornychat.com
GNU Affero General Public License v3.0
19 stars 6 forks source link

Feature: Associate Nostr ID across Device IDs #56

Closed vicariousdrama closed 3 months ago

vicariousdrama commented 4 months ago

Each device or profile of a device that accesses Corny Chat has its own locally generated public and private key pair independent of nostr. The public key portion is the ID, also referred to the JamID or identity of a user within the system. These ids are referenced in room owners, moderators, speakers arrays for permissions.

A user identity can verify with their nostr account.

If a user accesses corny chat from multiple profiles, and each are verified with nostr, it would be convenient for them to automatically get the permissions assigned to them on their other device profiles. This would ensure that room owners, admins, moderators etc would automatically get their ownership when switching devices, provided they've logged in with nostr.

vicariousdrama commented 3 months ago

This has been implemented in recent commit 7064c90a6a1a632d4321cb5be5dde90479553f35