Re: [Firebird-devel] Suppress database encryption callback

2018-04-13 Thread Paul Beach
> 13.04.2018 17:01, Mark Rotteveel wrote: > > Let me rephrase: exactly what causes Firebird to perform a callback to the > > client, and > > what must a KeyHolderPlugin do to make sure no callback is performed. > >Firebird calls client callback when key holder in keyCallback() calls the >

Re: [Firebird-devel] Suppress database encryption callback

2018-04-13 Thread Mark Rotteveel
On 13-4-2018 17:10, Dimitry Sibiryakov wrote: 13.04.2018 17:01, Mark Rotteveel wrote: Let me rephrase: exactly what causes Firebird to perform a callback to the client, and what must a KeyHolderPlugin do to make sure no callback is performed.   Firebird calls client callback when key holder

Re: [Firebird-devel] Suppress database encryption callback

2018-04-13 Thread Dimitry Sibiryakov
13.04.2018 17:01, Mark Rotteveel wrote: Let me rephrase: exactly what causes Firebird to perform a callback to the client, and what must a KeyHolderPlugin do to make sure no callback is performed. Firebird calls client callback when key holder in keyCallback() calls the callback received in

Re: [Firebird-devel] Suppress database encryption callback

2018-04-13 Thread Mark Rotteveel
On 13-4-2018 16:56, Dimitry Sibiryakov wrote: 13.04.2018 16:47, Mark Rotteveel wrote: The person reporting the problem indicates a different plugin did not have this problem, which would indicate there is a way to suppress the callback. What does the plugin need to do to not perform a callback?

Re: [Firebird-devel] Suppress database encryption callback

2018-04-13 Thread Dimitry Sibiryakov
13.04.2018 16:47, Mark Rotteveel wrote: The person reporting the problem indicates a different plugin did not have this problem, which would indicate there is a way to suppress the callback. What does the plugin need to do to not perform a callback? It must be a plugin that never call the ca

[Firebird-devel] Suppress database encryption callback

2018-04-13 Thread Mark Rotteveel
I'm currently looking at a problem with Jaybird (which doesn't support the callback) and a plugin that performs the callback when I think it shouldn't. If I modify Jaybird to send an empty buffer in response, it works fine. The person reporting the problem indicates a different plugin did not