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

js-waku / go-waku interop issue #2134

Closed
vpavlin opened this issue Sep 13, 2024 · 1 comment
Closed

js-waku / go-waku interop issue #2134

vpavlin opened this issue Sep 13, 2024 · 1 comment

Comments

@vpavlin
Copy link
Member

vpavlin commented Sep 13, 2024

This is a bug report

Problem

I am trying to use ECIES to secure communication between js-waku and go-waku based application instances. There seems to be some issue somewhere as I cannot get it fully working.

Example repo: https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z29t7pWyymDmGcHR8KUtKMPzXbLh6/

The issue I am seeing is that I cannot get any encrypted messages originating in go-waku decoded in js-waku. If you run the demo above (make backend and open jswaku/index.html in browser), they will start regularly publishing messages -

  • js-waku publishes on /wakuecies/1/ping/json
  • go-waku publishes on /wakuecies/1/ping-from-go/json

And the subcsribing to receive messages is reverse.

I can see messages published by js-waku to be decoded by go-waku, but messages published by go-waku are never received/decoded by js-waku.

EDIT: I also added a bit where go-waku decodes it's own published messages (obivously using the privateKey used in js-waku component) as they are delivered by Relay (and it does work fine)

Proposed Solutions

No clue:)

Notes

@vpavlin
Copy link
Member Author

vpavlin commented Sep 13, 2024

Not an issue/bug after all - I made a mistake with attaching RLN proof for plaintext (non-encrypted) payload

@vpavlin vpavlin closed this as completed Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant