Closed christianbundy closed 3 years ago
Strange, when I was testing caps 3 months ago I didn't run into this problem. How did you find this?
I just ran it from Node, bin.js
worked fine but not when I used require()
.
Strange, this is secret-stack's responsibility, it should work either way because secret-stack converts it always to Buffer. See these lines:
and
I don't doubt you experienced an issue, but I'm really curious why it broke with a buffer but not with a string.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
Tests pass locally. Thanks @christianbundy
Problem: The SSB-Server configures
caps
as a buffer, which breaks all connections because it's supposed to be a base64 string.Solution: Use the base64 string just like we're doing in SSB-Config.