]> git.ipfire.org Git - thirdparty/tor.git/commit
Allow pow-params to appear multiple times.
authorNick Mathewson <nickm@torproject.org>
Mon, 12 May 2025 12:27:34 +0000 (08:27 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 12 May 2025 12:44:15 +0000 (08:44 -0400)
commit3e585d60479b0081a46a2593344fc785e81de249
tree5b0e6d9150d04519a0e2c8795a2101264a516e7a
parentadb8a870ed90ac1b3504da65b538683a1bc89d10
Allow pow-params to appear multiple times.

Relatedly, we only require that a pow-params line has _1_ argument
(since future versions might have nothing but a scheme).

See torspec#272 for discussion;
also see proposal 356 for why the fingerprinting opportunity here
isn't a big deal.

We probably shouldn't merge this until torspec!390 is in,
just in case we decide _not_ to take this approach.

(I haven't reindented some code here yet, to make the diff easier to read.)
changes/torspec_272 [new file with mode: 0644]
src/feature/hs/hs_descriptor.c