Skip to content

tor-keymgr: Rewrite define_key_specifier using derive-adhoc.

gabi-250 requested to merge gabi-250/arti:derive-adhoc into main

Note: this MR is stacked on top of !1731 (merged)


For 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

Merge request reports

Loading