Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT | Write session key #25

Open
sevenbitbyte opened this issue Feb 26, 2020 · 0 comments
Open

FEAT | Write session key #25

sevenbitbyte opened this issue Feb 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@sevenbitbyte
Copy link
Member

🚀 Feature Proposal

Create write session keys in a lazy fashion as first bucket write occurs. Improve allowed from determinations to include checking for content signed by session keys (also in a lazy load).

{
  id: String,
  owner: String,
  keyid: String,
  fingerprint: String,
  public: String
}

If actor is allowed writer create a new seperate keychain for an ephmeral identity ( ie session-{session.id}.bucket-${bucket.id}@gpgfs.xyz ). Sign+encrypt the ephemeral identity (or don't) into a special writer-sessions/session-${session.id} metadata json.

We should set last writer fingerprint (along with root actor keyid if we're non-anon) directly in the bucket/index. A read will trigger verification that session key was originally signed+encrypted by any allowed writer (or is an allowed writer key).

@sevenbitbyte sevenbitbyte added the enhancement New feature or request label Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant