-
Notifications
You must be signed in to change notification settings - Fork 279
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
[Signed Envelopes] Protobuf description not valid #329
Comments
Sorry for the late reply. The notification mail somehow ended up in my spam folder.
Note: I haven't been involved in the design of the signed envelopes RFC, thus the below is solely based on a short libp2p/go-libp2p-core#73 introduced a
The specification does not mention that this is I am sorry for this not being documented in the RFC. @thomaseizinger do you want to create a pull request updating the the signed envelopes RFC accordingly? If not, I can do so in the next couple of days. Cross referencing rust-libp2p pull request for those following along: libp2p/rust-libp2p#2081 |
I've opened a PR here that uses the protobuf descriptions from the go-libp2p repository in the spec. |
These protobuf definitions are taken from the go-libp2p repo. See #329 for details.
I've attempted to implement signed envelopes in the Rust libp2p implementation and noticed the following:
signature
field is given the number 5 but there is no number 4. Is this an overlook from an earlier iteration where there used to be another field?optional
orrequired
specifier. Without that, the protobuf doesn't actually compile.Happy to submit a patch if there is consensus on what the protobuf should be changed to!
The text was updated successfully, but these errors were encountered: