08.11.2015 19:43, Dimitry Sibiryakov wrote:
> 08.11.2015 18:31, Vlad Khorsun wrote:
>>      I have correct encryption key when user first encrypt database. It is 
>> possible to encrypt
>> something known to the engine by this key and store somewhere. Next time 
>> this encrypted data
>> could be used to verify user-supplied key.
>>
>>      BTW, this also could by done by crypto-plugin itself, especially if 
>> engine have no access
>> to the keys (i don't remember enough details right now).
>
>     One problem: crypto-plugin has no idea which database it works with. And 
> no interface
> to find it out at hand. All it has is an array of bytes to decrypt and a key 
> got from a
> holder.

   It have key name, IIRC

Regards,
Vlad


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to