12.04.2018 15:31, Alex Peshkoff via Firebird-devel wrote:
In native API it's provider-specific - after getting an instance of provider one (who needs to use database encryption) should pass callback interface to that provider.
Not provider, but dispatcher. You still cannot predict what provider will be used for the database. And yes, the application has to know exactly what database it is going to connect, used encryption plugin and key type/name _before_ it attempts to connect to. You cannot get this information from key holder plugin, it must be delivered by different route (telepathy is fine).
-- WBR, SD. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel