Browse Source

prop224: Add onion key to service descriptor intro point

Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet 6 years ago
parent
commit
c9927ce4d5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/or/hs_service.h

+ 4 - 0
src/or/hs_service.h

@@ -30,6 +30,10 @@ typedef struct hs_service_intro_point_t {
   /* Top level intropoint "shared" data between client/service. */
   hs_intropoint_t base;
 
+  /* Onion key of the introduction point used to extend to it for the ntor
+   * handshake. */
+  curve25519_public_key_t onion_key;
+
   /* Authentication keypair used to create the authentication certificate
    * which is published in the descriptor. */
   ed25519_keypair_t auth_key_kp;