Subject Re: [Firebird-Java] Jaybird 4, Firebird 4 and DBSchema
Author Mark Rotteveel
On 2019-05-16 15:18, Mark Rotteveel mark@... [Firebird-Java]
wrote:
> On 2019-05-16 15:03, sbailey@... [Firebird-Java]
> wrote:
>> I have made some progress, thanks to your help!
>>
>> As you suggested, I tried
>> AuthServer = Srp256, Srp
>>
>> ...and now it works - to a remote server at least.
>>
>> I presume AuthServer = Srp would also work.
>>
>> I am still having trouble connecting to a database on the same machine
>> but I'm sure I will get it going.
>>
>> Many thanks for pointing me in the right direction.
>
> It is curious though, because only Srp256 should work, and Jaybird
> explicitly tests with only Srp256 as a possible plugin (as set from
> Jaybird, my test Firebird installations usually have all plugins
> listed). One reason I can think of is that your version of Java doesn't
> support SHA-256 (although as far as I know all 'recent' versions
> support
> it). This should log a message with "Hash algorithm SHA-256 not
> supported by JVM".
>
> Which version of Java (including vendor, eg Oracle, AdopOpenJDK, etc)
> and which variant of Jaybird 4 are you using (jdk17, jdk18 or java11)?

What happens if you specify the Jaybird connection property
authPlugins=Srp256 ? This should produce different errors depending on
whether Jaybird hasn't been able to load Srp256, or if it fails later on
Firebird.

Mark