bwauth: Allow "node_id" KeyValue without "$"
commit56819b0a5027807ed6c7894c164a541bf32ee957
authorjuga <juga@riseup.net>
Sat, 18 Nov 2023 17:45:28 +0000 (18 17:45 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 30 Jan 2024 15:47:13 +0000 (30 10:47 -0500)
tree5dc244819a6c7be3e42da01b9fe9411b2e116302
parentee5be2bebc977fc723e3bc95ff9ac9a9f8bd732f
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