Acquire.Crypto._otp module¶
-
class
OTP(secret=None)[source]¶ Bases:
objectThis class handles everything to do with obtaining and verifying a one-time-password
-
static
decrypt(secret, key)[source]¶ Construct a OTP from the passed encrypted secret that will be decrypted with the passed private key
-
static
extract_secret(provisioning_uri)[source]¶ Return the otpsecret extracted from the passed provisioning_url
-
static