nysiris-core
Shared primitives for Nysiris-native chat clients and services: identities, signed direct-message envelopes, message framing, contacts, capability-key rooms, transport traits, and sealed files.
Part of the Nysiris-Core workspace. That repository depends on neither Nysiris nor NCC; both consume it. There is no chat service, no server-side message store, and no SQLite.
Install
[]
= "0.1"
What you get
ChatIdentity— ed25519 identity with X25519 key agreement.SealedDmandDM_AAD— ephemeral DH, BLAKE2b-256 KDF, XChaCha20-Poly1305.DmInnerandpack_dm_inner— signed inner envelope bound tofrom,to,ts,msgId, and body.GroupandGroupMember— capability-key rooms with signed invites, a 16-member cap, andMAX_GROUP_NAME_CHARS.Contact,ChatMessage,Direction,MessageState, conversation summaries, andMAX_BODY_BYTES.TransportandSentPayload— the trait every transport implements.nysiris-testkitships an in-memory fake;nysiris-transport-nymships the real Nym adapter.sealed_file— encrypted local file helpers, used by the history crate.idsanderror— conversation ids and the sharedCoreError/Result.
Related crates
| Crate | Purpose |
|---|---|
nysiris-chat-core |
1:1 and room chat engine built on this crate |
nysiris-chat-history |
Encrypted append-only local history |
nysiris-transport-nym |
Nym transport behind a nym feature |
nysiris-testkit |
In-memory transport for tests |
Security
Experimental protocol code that has not had an independent audit. Do not treat the DM, room, or history constructions as audited production cryptography. Report vulnerabilities privately through SECURITY.md, never in a public issue. Never log or persist message content, keys, or contact lists in the clear.
License
Apache-2.0. See LICENSE.