Chat thread with signed messages
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 153
- Forks
- 46
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 7
Description
Tasks :
-
manage pod keys
- ontologies
- https://w3id.org/security : Proof, VerificationMethod, proofValue
- http://www.w3.org/ns/auth/cert : PrivateKey, PublicKey, key (used for publicKey)
solidontology shall replacecertontology that do not cover privateKey :
creation of 2 new terms privateKey and publicKey
- create keys :
Schnorr alg and secp256k1 elliptic curves ( key is 64 bytes length). more recent tan ECDSA on same elliptic curve and shorter keys - Keys URI location and content:
- publicKey
parentSettings/profile/keys/publicKey.ttl
triple => :me solid:publicKey keyString # keystring is 64 char hex string - privateKey
parentSettings/settings/keys/privateKey.ttl/settings/ is discovered from WebID preference file
triple => :me solid:privateKey keyString # keystring is 64 char hex string - parentSetting is used for both Keys URI location
- publicKey
- secure keys with READ only on key resources and acl:default Read on key container
- repair publicKey keeping private key
- add key type description ? SS256 + SHA256 ? where ? JWT or JWS ?
- a WebID could have multiple key/keyPairs. Through using different key URIs
- ontologies
-
chat logic
- proof on default object message (id, date created, content, maker)
replacedBy, deleted and threads are not included. These should link to new signed things
This is not actually the case for deleted - add thread logic. Thread members property.
- proof on default object message (id, date created, content, maker)
-
chat channel
- see https://github.com/SolidOS/chat-pane/pull/100
- must be Append only for authenticated users
- ReadWrite for chat creator (owner)
- index.ttl : ReadWrite for authenticated agents and owner https://github.com/SolidOS/chat-pane/pull/102
- see https://github.com/SolidOS/chat-pane/pull/100
-
sign and verify object message. Cover Threads
- simple message
- edit message : replacedBy => sign new msg + verify same maker
- deleted message => verify the triple with a second signature or create a new thing.
and verify same maker. There is actually an optional parameter - links to new messages. Not needed
-
UI
- UI signed message with verify = false
- UI for unsigned message
- thread
-
tests
-
push key management in solid-logic ?
-
documentation
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the remaining checklist items for key type descriptions, tests, Solid Logic key management, and documentation. Start with the existing key locations under profile/keys/publicKey.ttl and settings/keys/privateKey.ttl, then inspect the chat signing and thread work referenced in the issue. Done requires resolving the remaining tasks and adding the missing tests and documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100