ykman.oath
Attributes
Functions
|
Check if OATH credential is hidden. |
|
Check if OATH credential is steam. |
|
Calculate steam codes. |
|
Check if OATH application is in FIPS mode. |
Checks for credential in a broken state and deletes it. |
Module Contents
- ykman.oath.STEAM_CHAR_TABLE = '23456789BCDFGHJKMNPQRTVWXY'
Check if OATH credential is hidden.
- Parameters:
credential (yubikit.oath.Credential)
- Return type:
- ykman.oath.is_steam(credential)[source]
Check if OATH credential is steam.
- Parameters:
credential (yubikit.oath.Credential)
- Return type:
- ykman.oath.calculate_steam(app, credential, timestamp=None)[source]
Calculate steam codes.
- Parameters:
app (yubikit.oath.OathSession)
credential (yubikit.oath.Credential)
timestamp (Optional[int])
- Return type:
- ykman.oath.is_in_fips_mode(app)[source]
Check if OATH application is in FIPS mode.
- Parameters:
app (yubikit.oath.OathSession)
- Return type:
- ykman.oath.delete_broken_credential(app)[source]
Checks for credential in a broken state and deletes it.
- Parameters:
app (yubikit.oath.OathSession)
- Return type: