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

from fluidasserts.format import string

otp = '123456'
string.is_otp_token_insecure(otp)
예제 #3
0
def test_otp_token_open():
    """Weak OTP token?."""
    assert string.is_otp_token_insecure(WEAK_OTP)