-
Notifications
You must be signed in to change notification settings - Fork 433
Description
Feature request: SCRAM-SHA-256 authentication
Hi,
I would like to see if you guys would be interested in implementing the SCRAM-SHA-256 authentication?
I have written a routine using aiosasl library but I have no experience with Cython and am having trouble implementing the aiosasl routine using cython. I can't use await expressions so I tried using loop.create_task inside Cython but I still get errors. I think I have written what I think is 80%-90% of what's required (albeit I can't test it so can't be sure). I have attached the code. I think some educated eyes may be able to perhaps fix the loose ends to make this work? I based my code on whats in the library.
This would also introduce aiosasl dependency...
relevant links:
postgres sasl-authentication
postgres message-formats