tor-keymgr: Rewrite define_key_specifier using derive-adhoc.
!1731 (merged)
Note: this MR is stacked on top ofFor the most part, this is just code movement. The implementation was
copied over to define_derive_adhoc
from define_key_specifier
, with
some minor adjustments that were needed to make it compile.
Closes #1093 (closed)
Note: while the new d-a based implementation supports multiple denotators, ArtiPath
does not (so if you derive KeySpecifierDefault
for specifier that has more than one denotator, its arti_path()
impl will return an error). I'll address this limitation in a separate MR