• George Kadianakis's avatar
    Fix TROVE-2020-003. · 089e57d2
    George Kadianakis authored and Nick Mathewson's avatar Nick Mathewson committed
    Given that ed25519 public key validity checks are usually not needed
    and (so far) they are only necessary for onion addesses in the Tor
    protocol, we decided to fix this specific bug instance without
    modifying the rest of the codebase (see below for other fix
    approaches).
    
    In our minimal fix we check that the pubkey in
    hs_service_add_ephemeral() is valid and error out otherwise.
    089e57d2