Implement admin signature handling and pinning functionality for post… - #387
dhyeymistri wants to merge 1 commit into
Conversation
|
Thanks for this — I went through the whole diff (signature construction/verification, wire format, the blocking APIs, the GUI call sites on master, the JSON API generator, the tests). The core mechanism is sound, but before you spend more time on it I think the maintainers need to take a design decision, and one thing currently breaks the build. Details below, roughly in order of importance. 1. Build blocker (trivial to fix): the JSON API generator aborts.
2. Design decision for @csoler, before any further work on the editing part. The PR makes editing an admin-key operation: only the node that created the board can edit any post, the author cannot fix their own typo, and a board whose creator is gone is frozen. The two precedents in the lib are different: channels let any publish-key holder edit and keep older versions in 3. Performance regression on the existing GUI, independent of the design call. 4. A few things the eventual lib/GUI pair must handle (noting, not asking for now):
5. Suggested split. (a) The I did not find problems with the crypto: the admin signature covers the same buffer as the publish/author signatures (body + meta with |
…ed items