[erlang-patches] EEP Light: Option to override private key lookup when using Erlang ssh client
Vipin Nair
swvist@REDACTED
Thu Nov 12 18:31:12 CET 2015
Hello Hans,
> A more general way to pass options to the key callback module would be
> to introduce a second form of the key_cb option:
> - keep todays {key_cb, Module::atom()} to keep compatibility
> - introduce the variant {key_cb, {Module::atom(), ModuleOptions}}
> [...]
> In that way it is possible to write a callback module with whatever is
> needed as private options.
This will work! In retrospect, I should have done this instead. This is much
simpler and solves my problem. I'll send a new pull request with the suggested
implementation. Thanks!
--
Regards,
Vipin
More information about the erlang-patches
mailing list