12.11.2015 23:24, Vlad Khorsun wrote:
> 13.11.2015 0:02, Dimitry Sibiryakov wrote:
>> >12.11.2015 22:30, Vlad Khorsun wrote:
>>>> >>>       Yep. As I said, good old style plugins: separate library for 
>>>> >>> each, a definite entry
>>>>> >>>>point for each type which returns ready-to-use plugin class instead 
>>>>> >>>>of pointless factory.
>>> >>      I see no good reason to force people to isolate tightly coupled 
>>> >> plugins from each other
>>> >>just because you not understand difference between module initialization 
>>> >>and creation of
>>> >>plugin instance.
>> >
>> >     Can you provide example of such coupled plugins?
>     All kind of Auth plugins. DBCrypt, WireCrypnt and CryptKeyHolder.

   At first, these are different types of plugins. Read carefully, they can 
co-exists in 
single library because they use different entry point.
   At second, interfaces of DbCrypt plugin and WireCrypt pugins are different, 
they are 
not compatible. Besides, they cannot use the same crypt algorithm. Well, they 
can, but it 
will be ineffective and/or insecure.
   At third, CryptKeyHolder has questionable purpose at all, because everything 
it can do, 
crypt plugin itself can do better.

-- 
   WBR, SD.

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to