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

feat!: make DhtHeader field non-malleable #3243

Closed

Commits on Aug 26, 2021

  1. feat!: Make DhtHeader field non-malleable

    ### Breaking Change to comms
    
    This PR includes the relevant DhtHeader fields in the commitment of a Dht Message MAC signature so that they cannot be changed while in route.
    
    The header fields included in the commitment are:
    - Major version
    - Minor version
    - Destination
    - Message type
    - Message flags
    - Expiry time (if exists)
    - Ephemeral public key (if exists)
    philipr-za committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    b8cc0a3 View commit details
    Browse the repository at this point in the history