from srp import *


def test():
    client = SRPClient('will@example.com', 'not a terribly strong password')
    server = SRPServer('will@example.com', 'not a terribly strong password')
    salt, B = server.rcv_msg1(client.email, client.A)
    mac = client.rcv_msg2(salt, B)
    ok = server.rcv_msg3(mac)
    assert ok == 'OK'


if __name__ == '__main__':
    test()

56d888ba51d54ae5b5215297a974ad69c5504f40
<mask token>

<mask token>


def test():
    client = SRPClient('will@example.com', 'not a terribly strong password')
    server = SRPServer('will@example.com', 'not a terribly strong password')
    salt, B = server.rcv_msg1(client.email, client.A)
    mac = client.rcv_msg2(salt, B)
    ok = server.rcv_msg3(mac)
    assert ok == 'OK'


<mask token>

<mask token>


def test():
    client = SRPClient('will@example.com', 'not a terribly strong password')
    server = SRPServer('will@example.com', 'not a terribly strong password')
    salt, B = server.rcv_msg1(client.email, client.A)
    mac = client.rcv_msg2(salt, B)
    ok = server.rcv_msg3(mac)
    assert ok == 'OK'


if __name__ == '__main__':
    test()

from srp import *


def test():
    client = SRPClient('will@example.com', 'not a terribly strong password')
    server = SRPServer('will@example.com', 'not a terribly strong password')
    salt, B = server.rcv_msg1(client.email, client.A)
    mac = client.rcv_msg2(salt, B)
    ok = server.rcv_msg3(mac)
    assert ok == 'OK'


if __name__ == '__main__':
    test()
