Skip to content

Various HS fixes

Ian Jackson requested to merge Diziet/arti:hs-fixes into main

I took @gabi-250's WIP key mgmt branch from yesterday and started debugging.

With the fixes in this branch and the commit from !1682 (merged) and one other fix[1], this now

  • Creates a fresh K_hsid but doesn't tell us what it is (this is #1071 (closed))
  • Waits for the netdir to become available
  • Selects IPTs
  • Establishes IPTs
  • Constructs a descriptor for upload
  • Tries to upload it
  • Prints to the log an error from the upload: "HTTP status code 400"

[1] I also had one other commit t.txt which I think wouldn't actually be needed to reproduce the above "success", but which also doesn't apply to main.

NB my tests were done with a pre-rebase version of this branch. I will try to reconstruct something similar and post here about it.

Merge request reports