Changes between Initial Version and Version 1 of Ticket #31369, comment 7


Ignore:
Timestamp:
Aug 28, 2019, 9:55:03 AM (6 months ago)
Author:
asn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31369, comment 7

    initial v1  
    1919>
    2020
    21 OK here is an unencrypted version of the descriptor. The stuff below "encrypted" belongs to the inner layer of the descriptor, while the stuff below "superencrypted" belongs to the middle layer of the descriptor.
     21OK here is an unencrypted version of the descriptor. The stuff below "encrypted" belongs to the inner layer of the descriptor, while the stuff below "superencrypted" belongs to the middle layer of the descriptor. I also provide a splitted version where it's decomposed: https://gist.github.com/asn-d6/bf5f4da3d6f9fd1e66e630a7b234ddd0
    2222
    2323The descriptor decryption/encryption logic is fairly complicated so it will take me some time to implement properly, so feel free to work on this unencrypted thing if it's helpful to you :)
    2424
    25 
    26 {{{
    27 hs-descriptor 3
    28 descriptor-lifetime 180
    29 descriptor-signing-key-cert
    30 -----BEGIN ED25519 CERT-----
    31 AQgABqRnARJOPIQQUBTcdHepFHerAPuv0UucpTBBFRpDysiHNwmZAQAgBADI3nM8
    32 stVGnGGuzA4/81qRBS5asA8oUrLwH/MDpJ6QSRePrioaMbGwrgu999FasMbYpEWM
    33 VJ2VKC3FfU1OtQZlm8kgeEvptCbgVzqD0KQ5A8YKpkiZB40ONEL/6eIyBAE=
    34 -----END ED25519 CERT-----
    35 revision-counter 1012307846
    36 superencrypted
    37 -----BEGIN MESSAGE-----
    38 desc-auth-type x25519
    39 desc-auth-ephemeral-key 68GrIdhTe01n7WfZroM+Uwqzd4N6GpFWgVfperanvDM=
    40 auth-client viYu6HEs7bo ljriJfI9acOhbwhjksBvAg omzl9Hz/XK6fMdifuIAXiw
    41 auth-client SNzxBNMmHiU Mh0Zv0GrGxjFaKr9OG1QNg 9xayJnQoEXsuakxolL54nQ
    42 auth-client Ho28DFsBhTE tBB4ebOhBu95a+3dHEv+Fg XUkBvpJXerGUX/eS3uwXdQ
    43 auth-client 7BHnYML5O20 eMm3Csm92XdR9Mt/Xzy/ug HrEx44IVpQlQBu7tcP4F2g
    44 auth-client xsrAsjgWj/0 5QdhG282mmK35U5BCkqaMg Ops8Lgl+ASOXKnfii7egdA
    45 auth-client 6FO1oPHXwmI mEl0Z5Pn8GLlCNH5xbUeWg 9610jM1OWyASws80exma6Q
    46 auth-client MvOMOF2ynd0 t2TFwq3mj5ZKm8yH6wDEIg hM1wsvG4CTY8X1MLOInIIg
    47 auth-client WJs5l92CN4Y vfmHF82nJ8qmGqJ/DLRTGg g9d51VyUEi9LOsmdQvaQJQ
    48 auth-client 1TiTYG9rpDU xPJPjzHtQYmJTFm8zR1j9Q /Uv+1B5co/86sOKEGJzCqQ
    49 auth-client ZBkeY2qXdTc ir85lASBZRF/pD4PQIK+EQ 2LxDABMvmv86KaNQqzNenQ
    50 auth-client 1AOfLh0KtmI 2+yYUfy1BAKB+PKwMukTrA S1d6QTczWqADotn+yl+2aQ
    51 auth-client xd2xsZiNr3A FWk/SsFrech49gODym+7gA 5ydb7Ji0e7yCNZFlVD4Q5Q
    52 auth-client DQYYX5iSlGA VIV3wSGKIfK1GxF0xxm4dg wdH1bc2zm5dSvCVJX8ZzLg
    53 auth-client 1rqVzmtYgGU aSQbgq+/sF93k5stnA+8KA aAWoQMV0VM262Znc7RCMxw
    54 auth-client sx7Br+mYTp8 b/0rd+9e5Q1zGa79I1O41A jc1sm3lOfujPljWA09Q3ng
    55 auth-client S4C/qS7s5N8 XtRzoNhqQGcrVaeTQqMk2A O4bBlq8d3gopBRMWkpuyeg
    56 encrypted
    57 -----BEGIN MESSAGE-----
    58 create2-formats 2
    59 introduction-point AwAGkExrfCMpAhTjo4XfW84SY3IR1NHfRwPEsetFYAMgunpaAeKrlxOok7NcwG7XQJO12DqiRACG4shEyIL3MYU=
    60 onion-key ntor +GHueuAQu2CJhx87ADCpDP6LeSWVBaX+hVuuSf4y2X8=
    61 auth-key
    62 -----BEGIN ED25519 CERT-----
    63 AQkABqRmARQiSGQe7cREmoid9fsRTmS+40K4S+uCxZ/MqDTui62NAQAgBAASTjyE
    64 EFAU3HR3qRR3qwD7r9FLnKUwQRUaQ8rIhzcJmW8ANRYfvbwh8I3SYUKrrxFamAnI
    65 Th4QXMrext1v3VCCu5GkzSwbmoXcw6Jmb0L6iNj5mq7DygO+8xkCuPGxTAY=
    66 -----END ED25519 CERT-----
    67 enc-key ntor 0XZIya+M/b3AOMM+65dvsdo4t7wYINPZAEqHqpIC4mI=
    68 enc-key-cert
    69 -----BEGIN ED25519 CERT-----
    70 AQsABqRmATzQHfq5TLhxvSIXZu3hD3wl37DkLfgWeOr9FGyfLOtHAQAgBAASTjyE
    71 EFAU3HR3qRR3qwD7r9FLnKUwQRUaQ8rIhzcJmTCs3FYjx4KoGH8h33Dlv72/2NLI
    72 3VSdrZc7IblPfkBybuUjarbAnGH9FmeCcEBLnqykvbKRWklk5luHDzJiIgQ=
    73 -----END ED25519 CERT-----
    74 introduction-point AwAGsB8tAwG7AhTqQ2a83KYWe4z/cOQdjNHumWjkRQMgDXL7pq1xXCCsFVp/fLe17caZhva4tDZ6/K5RPVNrGV8=
    75 onion-key ntor 67rrzP7USiiFuLf6f2DdzLjMGPTYI/THf0JA0NgdCEw=
    76 auth-key
    77 -----BEGIN ED25519 CERT-----
    78 AQkABqRmAVLwfGwQd1+CdVIxJD57ot8qyC4qLkn/BEvlOd+K1GwJAQAgBAASTjyE
    79 EFAU3HR3qRR3qwD7r9FLnKUwQRUaQ8rIhzcJmVdkwdxk9NbZ+ERq/OMn4ecdtpof
    80 SmWR7Og/BO9JZ3RpQeDEYvXm1XQhuBvdjs1+NGSmb7MMC5BCLTgXwXoo8Ac=
    81 -----END ED25519 CERT-----
    82 enc-key ntor jZ0oazC6FVzBCf4EoDtup8XCKL01b/lXlcDv07tnC1Y=
    83 enc-key-cert
    84 -----BEGIN ED25519 CERT-----
    85 AQsABqRmAYgVv926BQ01WwTrtNXT+VrYcZHLwomROSuaq/aqNXRuAQAgBAASTjyE
    86 EFAU3HR3qRR3qwD7r9FLnKUwQRUaQ8rIhzcJmdLuGMZGffBATymvNZ+Rdwy0T0gc
    87 DhPYhi+moBsf41NligZ7GjzD64G/xDXpJW4jXTnGIliisZyoci7jTUXDGgg=
    88 -----END ED25519 CERT-----
    89 introduction-point BAAG1e/X3SMpAhQCHdzWh/1QW36n512mzvDXeKoH+wMgQM1EqfCypvdC6oFfjE2DjfCb0FupPqBH5iJm/FyFI8ABEioBBPgAoJCweJ0GpJXzp4wjKQ==
    90 onion-key ntor 8BfSoB+OJ0XM06b8yE4dUgpyla17Hhha551sMeCspAU=
    91 auth-key
    92 -----BEGIN ED25519 CERT-----
    93 AQkABqRmAaEgakKORB8XHiYdroxoEznAIC7fzqJ49dNMcZoEDQwjAQAgBAASTjyE
    94 EFAU3HR3qRR3qwD7r9FLnKUwQRUaQ8rIhzcJmYmBRh6lM8or1WcsJwbgZrbTlxZA
    95 1oHQA6yDh+mQBcK6uDgkpbbWUNf+bZPpXh3/2Y50kHcfQIkLluzYFqciQgo=
    96 -----END ED25519 CERT-----
    97 enc-key ntor Yv6Yrmt7QPI4NAP5fY6weEjEGJOv8giFXxN6Wlqo82Q=
    98 enc-key-cert
    99 -----BEGIN ED25519 CERT-----
    100 AQsABqRmAUSQ0SBPP9T8mxbCKCZfPYY74y/9V5DyPrROYKTvQcYVAQAgBAASTjyE
    101 EFAU3HR3qRR3qwD7r9FLnKUwQRUaQ8rIhzcJmRDI4CVOU+oEeKUXiydsznIfOE4C
    102 IpskucdyhEUD0tgzi2gvasuTQK0rjwp6Vn9W03S6+hLESNJjY+F0prhKxgk=
    103 -----END ED25519 CERT-----
    104 -----END MESSAGE----------END MESSAGE-----
    105 signature +87sbLtU3Bnjfhw1NacnmzktKnRsbC+IVayQq7UEcvEudRoSGDbq+wpWZFtQqfY1POOU+s4yEl7OStfH7Te+Bw
    106 }}}
    10725> > Also would it be possible to split the hidden_service.py file into two files (v2 and v3) so that the two codebases are isolated from each other?
    10826>