简体   繁体   English

使用Firebird ado.net提供程序在客户端和服务器上请求不兼容的有线加密级别

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

I am testing the connection firebird 3 using C #. 我正在使用C#测试连接firebird 3。 The version of what I'm used is the latest : Firebird ADO.NET Provider 5.0. 我使用的是最新版本: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. 在“ Firebird ADO.NET 4.10.0.0数据提供程序是否可以与Firebird 3.0一起使用? ”中,提出了一些在旧模型中启用身份验证或创建旧用户的建议。

But my question is if really does not support to new SRP authentication model in version 5.0 Net Provider? 但是我的问题是,是否真的不支持版本5.0 Net Provider中的新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. 该问题本身与SRP无关,但是Firebird .NET提供程序5.0.0.0版仅添加了SRP支持,但尚未实现有线协议加密。 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. 默认情况下,此有线协议加密确实依赖于SRP作为其会话密钥,但实际上已实现SRP,并不意味着已实现有线协议加密。

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

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 ADO.net提供程序版本7。版本7添加了对有线加密的支持, 有关Firebird的更多信息,请参阅ADO.NET提供程序7.0.0.0

Or, alternatively, you need to configure Firebird 3 to enable but not require encryption by editing firebird.conf : 或者,您需要将Firebird 3配置为启用,但不需要通过编辑firebird.conf进行加密:

WireCrypt = Enabled

And then restarting Firebird. 然后重新启动Firebird。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2015中针对Firebird的ADO.NET数据提供程序 - ADO.NET Data provider for Firebird in Visual Studio 2015 使用 ADO.Net 提供程序将 Firebird 2.5 迁移到 4.0 - Migrate Firebird 2.5 to 4.0 using ADO.Net provider Firebird ADO.NET 4.10.0.0数据提供程序是否适用于Firebird 3.0? - Does Firebird ADO.NET 4.10.0.0 Data provider work with Firebird 3.0? 首先创建ADO.NET实体数据模型-生成DB Firebird .NET提供程序 - ADO.NET Entity Data Model first - generate DB Firebird .NET provider 请求的数据库在连接字符串中没有设置有效的ADO.NET提供程序名称 - The requested database does not have a valid ADO.NET provider name set in the connection string 找不到具有不变名称“Oracle.ManagedDataAccess.Client”的ADO.NET提供程序的实体框架提供程序 - No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client' 自定义ADO.Net数据提供程序-如何? - Custom ADO.Net Data Provider - How To? Ado.net firebird commit向表中插入新行 - Ado.net firebird commit insert new lines to table 未找到实体框架 ADO.NET Sql.Data.Client 提供程序 - Entity Framework ADO.NET Sql.Data.Client provider not found 没有实例框架提供程序用于ADO.NET Oracle.ManagedDataAccess.Client没有配置 - No Entity Framework Provider for ADO.NET Oracle.ManagedDataAccess.Client Without Config
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM