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

Clarify own_key scheme #28

Open
Powersource opened this issue Mar 1, 2023 · 0 comments
Open

Clarify own_key scheme #28

Powersource opened this issue Mar 1, 2023 · 0 comments

Comments

@Powersource
Copy link
Collaborator

https://github.com/ssbc/private-group-spec/tree/master/direct-messages#b-self-case---mapping-our-own-feed_id-to-recp_key

That section says

the full key you try with a slot is of form { key, scheme: "envelope-symmetric-key-for-self" }

but it also says

The complete key-and-scheme for the envelope key_recp slot is of form js { key: Buffer, // the directMessageSlotKey scheme: "envelope-id-based-dm-converted-ed25519" }

that's confusing to me but the second one looks like it might be accidentally included from copy pasting some other section. Is the first one correct and is it fine to remove the second one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant