On 26-4-2018 14:28, Alex Peshkoff via Firebird-devel wrote:
On 04/26/18 15:23, Mark Rotteveel wrote:
I don't receive a callback from Firebird for service operations
involving an encrypted database, so I can't respond to it.
That's very strange. Is protocol version correct? You should receive it
during service attach call.
When setting a global KeyHolderPlugin the callback is made during
service attach. For my testing this is OK for now, but I think this is
an unsatisfactory solution in general, because that means a global
config option needs to be used instead of a per-database solution. This
also leads to unnecessary roundtrips for unencrypted databases.
I'm not sure if that may also lead to problems for database encryption
plugins that need database-specific information to correctly perform the
callback (eg the keyname used?).
I also tried isc_spb_expected_db, but that doesn't have any effect.
Mark
--
Mark Rotteveel
------------------------------------------------------------------------------
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