Open mariuz opened 10 years ago
Is this task still pending?
@mariuz do you know if this feature will be implemented soon?
Some old related blog posts and pull requests for dotnet/java
Related release for jaybird with wire encryption support
related blog post https://nakagami.blog.ss-blog.jp/2014-12-20
Firebird server side implementation https://github.com/FirebirdSQL/firebird/blob/B3_0_Release/src/auth/SecureRemotePassword/srp.cpp
Debug facility https://sourceforge.net/p/firebird/mailman/message/37168911/
In Srp plugin we have debugging facility:
define SRP_DEBUG 0 // 1 - prints some debug info
// 2 - uses consts instead randoms
Using it at level 1 (special FB build on lnux needed) you can at once see what happens on server (and compare with use of fbclient). If it's not enough - use of level 2 required changes at client side (random numbers should be replaced with predefined constants thus making process of authentication exactly reproducible). With it and some debugging printout on client all SRP behavior becomes abs clear.
Work in progress 😄
For Firebird 3 we need Protocol 13 (SRP) like is implemented in the pyfirebird driver
https://github.com/nakagami/pyfirebirdsql/blob/master/firebirdsql/wireprotocol.py