What is a good example for a permissions object? Something that permits things based on who is making a request, not just anonymous.
I assume that part of the purpose of secret-stack and shs is authenticating each end of the peer connection, so that you can be sure the caller has a specific public ID.
Add an example to the readme that demonstrates connecting two secret-stack instances.
TODO How to incorporate permissions? If you run the
example.js
file, it results in an errorHowever, if you include these permission in the plugin, then it works
What is a good example for a permissions object? Something that permits things based on who is making a request, not just
anonymous
.I assume that part of the purpose of secret-stack and shs is authenticating each end of the peer connection, so that you can be sure the caller has a specific public ID.