[erlang-patches] EEP Light: Option to override private key lookup when using Erlang ssh client

Hans Nilsson R hans.r.nilsson@REDACTED
Thu Nov 12 19:19:57 CET 2015


Great!  If there also is documentation and a test case the likelihood of
acceptance is higher :)
-Hans

On 11/12/2015 06:31 PM, Vipin Nair wrote:
> 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!
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4101 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20151112/4790d76d/attachment.bin>


More information about the erlang-patches mailing list