Re: [Firebird-devel] Sequence of key holder's methods calls

2018-04-02 Thread Dimitry Sibiryakov
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 parti

Re: [Firebird-devel] Sequence of key holder's methods calls

2018-04-02 Thread Alex Peshkoff via Firebird-devel
On 04/02/18 17:58, Dimitry Sibiryakov wrote: Hello, All.   Firebird 3.0.4.32939. Default configuration. Key holder is set in databases.conf for single database.   When I use "alter database encrypt" within embedded connection I see following sequence of calls to my key holder plugin: crea

Re: [Firebird-devel] Sequence of key holder's methods calls

2018-04-02 Thread Dimitry Sibiryakov
02.04.2018 16:58, Dimitry Sibiryakov wrote:   Could someone tell me why it is called three times in row, obviously from three different instances of crypt plugin (according to the last pointer in callback() call)? I thought that one instance is enough for one database in superserver mode. B

[Firebird-devel] Sequence of key holder's methods calls

2018-04-02 Thread Dimitry Sibiryakov
Hello, All. Firebird 3.0.4.32939. Default configuration. Key holder is set in databases.conf for single database. When I use "alter database encrypt" within embedded connection I see following sequence of calls to my key holder plugin: createPlugin is returning new KeyFileHolder obje