cryptnox_cli.command.user_keys.hello package
Submodules
cryptnox_cli.command.user_keys.hello.exceptions module
Exceptions Windows Hello can raise.
- exception cryptnox_cli.command.user_keys.hello.exceptions.WindowsHelloExceptions[source]
Bases:
ExceptionBase exception for the class exceptions.
- exception cryptnox_cli.command.user_keys.hello.exceptions.NotSupportedException[source]
Bases:
WindowsHelloExceptionsThere is no hardware support for Windows Hello.
- exception cryptnox_cli.command.user_keys.hello.exceptions.UnknownErrorException[source]
Bases:
WindowsHelloExceptionsAn unknown error occurred.
- exception cryptnox_cli.command.user_keys.hello.exceptions.NotFoundException[source]
Bases:
WindowsHelloExceptionsThe credential could not be found.
- exception cryptnox_cli.command.user_keys.hello.exceptions.CanceledException[source]
Bases:
WindowsHelloExceptionsThe request was cancelled by the user.
- exception cryptnox_cli.command.user_keys.hello.exceptions.UserPrefersPasswordException[source]
Bases:
WindowsHelloExceptionsThe user prefers to enter a password.
- exception cryptnox_cli.command.user_keys.hello.exceptions.SecurityDeviceLockedException[source]
Bases:
WindowsHelloExceptionsThe security device was locked.
cryptnox_cli.command.user_keys.hello.hello module
cryptnox_cli.command.user_keys.hello.windows_hello module
Module for signing messages with Windows Hello.
- cryptnox_cli.command.user_keys.hello.windows_hello.delete(name: str) None[source]
Delete the key from Windows Hello
- Parameters:
name (str) – name of the slot
- cryptnox_cli.command.user_keys.hello.windows_hello.get_public_key(name: str) bytearray[source]
Get public key from Windows Hello
- Returns:
public key
- Return type:
bytearray
- cryptnox_cli.command.user_keys.hello.windows_hello.sign(name: str, message_to_sign: str) bytearray[source]
Sign given message with Windows Hello
- Parameters:
name (str) – name of the slot
message_to_sign (str) – message that needs to be signed
- Returns:
Dictionary with public key and signed message as byte array
- Return type:
bytearray
Module contents
Module containing Windows Hello user key handling.