On 11/16/2015 05:26 PM, Daniel Rail wrote:
> Hi,
>
> At November 15, 2015, 9:22 AM, Alex Peshkoff wrote:
>
>>> I
>>> see discussions about details but I can't find a basic architecture
>>> description, maybe I'm missing some obvious documents?
>> There is doc/README.plugins.html but it's very far from ideal. Like
>> unfortunately a lot of our documentation...
> The documentation should at least give a simple overview and how to
> use the plugins, at a minimum. But having good examples, with some
> comments in the code can be the additional documentation, on how to
> implement the plugin. We're looking at developing our own dbcrypt
> plugin, but the sample files that are included in the RC1 Windows zip
> file are not enough for me. The sample files are just 3 .cpp files.
> Two of those files I can figure out what they are for(DbCrypt.cpp and
> CryptKeyHolder.cpp), but what is CryptApplication.cpp used for. If
> there would be a compilable example, then I would most likely know
> where they belong, and to have some comments describing the functions
> in the source code, would go a long way.

Great sorry for having it not compilable. I will add it to the regular 
build in order to avoid such troubles in release.
What about functionality: it demonstrates one way to pass encryption key 
to firebird engine and also can perform according to the switch 'alter 
database encrypt/decrypt'.
You may get it here: 
https://sourceforge.net/p/firebird/code/HEAD/tree/firebird/trunk/examples/dbcrypt/CryptApplication.cpp?format=raw

> Since  FB3.0  will not have a DbCrypt plugin released with it, then it
> does  become  important  to  have a proper example that is compilable,
> even it does not include any encryption algorithm.  This should give a
> good starting point for anybody who wishes to create their own dbcrypt
> plugin.
>

Certainly, you are absolutely right.
Thanks for finding a bug in RC1.


------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to