Incompatible wire encryption levels requested on client and server with Firebird ado.net provider

匿名 (未验证) 提交于 2019-12-03 01:10:02

问题:

I am testing the connection firebird 3 using C #. The version of what I'm used is the latest : Firebird ADO.NET Provider 5.0. But when you make the connection , the error occurs "Incompatible wire encryption levels requested on client and server"."

At "Does Firebird ADO.NET 4.10.0.0 Data provider work with Firebird 3.0?", there are some suggestions for enabling authentication in legacy model or create legacy user.

But my question is if really does not support to new SRP authentication model in version 5.0 Net Provider?

回答1:

The problem has nothing to do with SRP in itself, but that the Firebird .NET provider version 5.0.0.0 only added SRP support, but does not yet implement the wire protocol encryption. This wire protocol encryption does - by default - depend on SRP for its session key, but the fact SRP is implemented, does not imply that wire protocol encryption is implemented.

Firebird 3 by default requires encryption, but as this is not supported in Firebird .NET provider version 5, you get the error "Incompatible wire encryption levels requested on client and server". You need to configure Firebird 3 to enable but not require encryption by editing firebird.conf:

WireCrypt = Enabled 

And then restarting Firebird.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!