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

message signing [question] #154

Closed
dchagniot opened this issue Jul 15, 2021 · 2 comments · Fixed by #160
Closed

message signing [question] #154

dchagniot opened this issue Jul 15, 2021 · 2 comments · Fixed by #160

Comments

@dchagniot
Copy link

I am using C++ libp2p with Rust libp2p peers in a gossip network (I use the gossip example as starting point).

Peers are connecting without issue.
I may send a message from a rust peer and the other rust and C++ peers get it.

But if the C++ peer sends a message, the rust peers are rejecting it:
the message is not signed and the gossip configuration of the rust peers want a message signed.

Is it possible for C++ libp2p to sign the message before sending it ?

@dchagniot dchagniot changed the title message signing [help] message signing [question] Jul 15, 2021
@turuslan
Copy link
Contributor

turuslan commented Aug 5, 2021

Please check if it works now, with gossip config.sign_messages = true

@dchagniot
Copy link
Author

perfect, thanks
this is working now with the rust gossipsub-chat example

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

Successfully merging a pull request may close this issue.

2 participants