Repository navigation
Open
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 Append only chat-pane#100
- must be Append only for authenticated users
- ReadWrite for chat creator (owner)
- index.ttl : ReadWrite for authenticated agents and owner can't store chat members properties chat-pane#102
- see Append only chat-pane#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
Reacted by Melvin Carvalho
Metadata
Metadata
Assignees
Labels
No labels
Activity
bourgeoa commentedon May 6, 2023
Ontology and keys
Looking for an ontology to describe keys (privateKey, publicKey), and may be keyType (asymetric RS256, SHA256)
This is actually in a fixed location (/profile/keys/privateKey.ttl and publicKey.ttl) in a pod storage.
publicKey could be located in the WebID document. Mis-use could be limited :
Signature issues
automatic: shall a chat member sign, unsigned messages whenever this member is logged in ? This could be limited to displayed messageson demand to owner: remove deleted messages ?Even not displayed, the deleted messages are readable by going to the tree structure
Deleting messages definitely make them not restorable, we may encode/decode them with an owner/managers symmetric key
on demand to owner: changing privateKey, this returns invalid signatureOwner can remove invalid chat members signature and allow automatic rebuild signature when a chat user relogs
How to consider WebID being deleted ?
Actually all related messages will have an invalid signature
Chat channel issues
Global options and individual chat options are available in the same resource index.ttl
The chat channel authorization, apply by default :
ReadWriteControlby creator. May be limited toReadWrite. In which case an Owner can edit the ACLReadAppendby all authenticated members.Readby everybodyThis means that
individual options can be set but not modified.melvincarvalho commentedon May 25, 2023
Or some variant of this
In general, lower case hex strings are most common in implementations
You dont even need to wait for the terms to get upstream because the labels will display nicely enough, and the functionality will be in the library
bourgeoa commentedon Feb 18, 2024
@timbl @angelo-v @megoth
Working chat with thread and signed messages.
Tested with NSS. Needs following PRs
or Issue#631bis linkeddata/rdflib.js#636
see detail in issue deleteDocument() : Error : Statement to be removed is not on store linkeddata/rdflib.js#631
[-]signing message[/-][+]Chat thread with signed messages [/+]megoth commentedon Feb 19, 2024
Hey, I see that I'm tagged here. Just FYI I don't have any excess energy to spend on rdflib.js or SolidOS at the moment =/ Just so there's no expectation that I'll be able to do this work.