使用Firebird ado.net提供程序在客户端和服务器上请求不兼容的有线加密级别 [英] Incompatible wire encryption levels requested on client and server with Firebird ado.net provider

查看:170
本文介绍了使用Firebird ado.net提供程序在客户端和服务器上请求不兼容的有线加密级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#测试连接firebird 3。我使用的是最新版本:Firebird ADO.NET Provider 5.0。但是,当您建立连接时,会出现错误客户端和服务器上请求的不兼容的有线加密级别。

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"."

Firebird ADO.NET 4.10.0.0是否与数据提供者一起使用Firebird 3.0?,对于在旧模型中启用身份验证或创建旧用户有一些建议。

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.

但是我的问题是,是否真的不支持新版本?版本5.0 Net Provider中的SRP身份验证模型?

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

推荐答案

问题本身与SRP无关,但与Firebird无关。 NET提供程序5.0.0.0版仅添加了SRP支持,但尚未实现有线协议加密,这种有线协议加密默认情况下依赖于SRP作为其会话密钥,但实际上已实现SRP,并不意味着该有线协议协议加密已实现。

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默认情况下需要加密,但是由于Firebird .NET提供程序版本6和更早版本不支持加密,因此会出现错误客户端和服务器上要求的不兼容的有线加密级别

Firebird 3 by default requires encryption, but as this is not supported in Firebird .NET provider version 6 and earlier, you get the error "Incompatible wire encryption levels requested on client and server".

要能够使用有线加密,您需要更新到Firebird ADO.net提供程序版本7。版本7添加了对有线加密的支持,请参见适用于Firebird的ADO.NET提供程序7.0.0.0已准备就绪以获取更多信息。

To be able to use wire encryption, you need to update to Firebird ADO.net provider version 7. Version 7 added support for wire encryption, see ADO.NET provider 7.0.0.0 for Firebird is ready for more information.

或者,您需要通过编辑 firebird.conf 将Firebird 3配置为启用但不需要加密:

Or, alternatively, you need to configure Firebird 3 to enable but not require encryption by editing firebird.conf:

WireCrypt = Enabled

然后重新启动Firebird

And then restarting Firebird.

这篇关于使用Firebird ado.net提供程序在客户端和服务器上请求不兼容的有线加密级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆