02.04.2018 17:40, Alex Peshkoff via Firebird-devel wrote:
With what release of firebird are you building your plugin? I mean first of all .h files.
Firebird 3.0.4.32939, freshly built. Default configuration. Key holder is set in databases.conf for single database.
Returning to your particular case - key holders talk one to another and user application using interface chainHandle that slightly differs from keyHandle used to talk to crypt plugin. When chainHandle is not implemented keyHandle is used instead but this is not always possible. One of such cases is (if I'm not mixing something) initial DB encryption with network access.
Yes, I saw that in my logs too: my own callback interface was called from my own plugin. It can produce endless loop, but still won't help: callback called from key holder is returning 0 and application callback is not called at all.
In embedded mode - yes, everything works. -- 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