Skip to content

tor-proto: Return proper `Error::MissingId`

Clara Engler requested to merge cve/arti:dev/cve/missing-rsa into main

This commit fixes a bug in the ClientCirc::extend_ntor function, which currently returns a Error::MissingId(Ed25519) in the case that no RSA identity has been found in the accompanying channel target.

This behavior is obviously wrong, because a missing RSA identity should yield a Error::MissingId(Rsa).

Merge request reports