Skip to content

Correct handling of channels created with no ed25519 ID in mind

Nick Mathewson requested to merge nickm/tor:bug40563_045 into main
Fix logic for whether a channel's Ed25519 ID is changing

The previous code would notice if we were changing from one identity
to another, but not if we were changing from no identity to having
an identity.  This problem caused a bug (spotted by cypherpunks in
ticket #40563) where if we created a channel for a circuit request
that doesn't include an Ed25519 identity, we won't be able to use
that channel later for requests that _do_ list Ed25519.

Fix for 40563; bugfix on 0.3.0.1-alpha.

Merge request reports

Loading