Exemplo n.º 1
0
def test_otp_token_close():
    """Strong OTP token?."""
    assert not string.is_otp_token_insecure(STRONG_OTP)
Exemplo n.º 2
0
#/usr/bin/python3
"""Test exploit."""

from fluidasserts.format import string

otp = '123456'
string.is_otp_token_insecure(otp)
Exemplo n.º 3
0
def test_otp_token_open():
    """Weak OTP token?."""
    assert string.is_otp_token_insecure(WEAK_OTP)