specific file path-dependency is not obvious in TryFrom impl of AxPrivateKey
Kelerchian opened this issue · comments
Alan Darmasaputra commented
I'd rather use a custom function for this instead of TryFrom
, since the implementation detail involves a side effect with a particular path default_user_identity_path.
Originally posted by @Kelerchian in #615 (comment)
impl TryFrom<&Option<KeyPathWrapper>> for AxPrivateKey
implies a specific default path as a fallback mechanism. This semantic is unobvious and may lead to a bug or a misuse