Postgres module

scram_finish

procedure · 1 overloadsince 0.27.0Source

Checks the server-final message: its signature proves the server knows the password.

scram_finish :: (c: *Connection, s: *Scram, data: [] u8) -> Pg_Error

Checks the server-final message: its signature proves the server knows the password.

Parameters

c: *Connection
the connection the exchange runs on.
s: *Scram
the exchange state, marked verified when the signature is right.
data: [] u8
the server-final message.

Returns

See also