Tunnel Bound KAPA login for the Snif remoting framework (the post-quantum
replacement for the legacy verifier classes in StreamSec.Snif.Authentication):
AkeLogin - the Tunnel Bound KAPA handshake (AuthInit / AuthStep), plus a
two-step OTP login (RequestOTP / LoginOTP) for account recovery.
AkeChangeAuth - re-provision the password-derived verifier after re-auth.
An application chooses its login scheme by including EITHER this unit OR
StreamSec.Snif.Authentication (the legacy unit). Both may be linked together; this
unit's initialization calls SnifActivateAkeLogin, and the legacy classes then fail
closed so a client cannot fall back to the weaker scheme (AKE takes precedence). The
shared base and the precedence flag live in StreamSec.Snif.CustomAuthentication.
The heavy client work (Argon2id + KEM keygen/decaps) runs in the Snic proxy helper
(StreamSec.Snic.Authentication), never in these server classes (design goal G1).Feature notes: Snif remoting framework (concepts) · Tunnel Bound KAPA (Snif authentication)
inherits from TsnifCustomAuthentication
(no public members)
inherits from TsnifAkeCustomLogin
function AuthInit(const aUserName: string): TSafeBytes;
function AuthStep(const aResponse: TSafeBytes): TSafeBytes;
function RequestOTP(const aUserName: string): Boolean;
function LoginOTP(const aPassword: string): Boolean;
inherits from TsnifAkeCustomLogin
function Commit(const aNewPwFile: TSafeBytes): Boolean;