Issue Details (XML | Word | Printable)

Key: JDBC-536
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

Add support for the new Srp256 authentication plugin (and others)

Created: 21/Jun/18 03:20 PM   Updated: 07/Sep/18 03:41 PM
Component/s: Wire protocol
Affects Version/s: None
Fix Version/s: Jaybird 3.0.5, Jaybird 4

Issue Links:
Depend
 


 Description  « Hide
See CORE-5788 and https://github.com/FirebirdSQL/firebird/commit/b9a93f53128019c50a408d9c73a83d54279a3c9d

Add support for Srp256 (and possibly the other hashes (224, 384 and 512) as well).

We should consider to move JDBC-417 back to Jaybird 4, to introduce a property to specify the authentication plugins to be used. That way we can minimize the number of plugins (eg only Srp256, or Srp256 + Srp), while allowing people to apply alternative combinations (eg Legacy_Auth, or Srp224, Srp384 or Srp512, etc).

Note the scope of this story is only adding support for the other protocols, and adding Srp256 to the default. Minimizing the default (eg to only Srp256) is explicitly out of scope for this ticket, and should only be done after JDBC-417 is done.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 23/Jun/18 09:06 AM
(default) Order of plugins tried by Jaybird is Srp256,Srp,Legacy_Auth.

For Jaybird 3, only added Srp256 support. For Jaybird 4, the other SrpNNN plugins are there but can't be used until JDBC-417 has been done.

Mark Rotteveel added a comment - 23/Jun/18 10:50 AM
The test coverage is rather light. When JDBC-417 is done, additional tests need to be added that explicitly verify connecting with each plugin.