bwauth: Allow "node_id" KeyValue without "$"
commitd8aa69925380acf165335917bb87becb2f659875
authorjuga <juga@riseup.net>
Sat, 18 Nov 2023 17:45:28 +0000 (18 17:45 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 21 Nov 2023 15:43:36 +0000 (21 10:43 -0500)
tree291e1bd031c60a43ecce240c528da149f8469ffc
parent8bb7d681ae5898232a42b066784f578a594de41a
bwauth: Allow "node_id" KeyValue without "$"

Allow "node_id" KeyValue without the dollar sign at the start of the
hexdigit in the BandwidthFiles, in order to easier database queries
combining Tor documents in which the relays fingerprint doesn't
include it.
Bugfix on all supported versions of Tor.

Closes #40891
changes/ticket40891 [new file with mode: 0644]
src/feature/dirauth/bwauth.c
src/test/test_dir.c