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: Exception

Base exception for the class exceptions.

exception cryptnox_cli.command.user_keys.hello.exceptions.NotSupportedException[source]

Bases: WindowsHelloExceptions

There is no hardware support for Windows Hello.

exception cryptnox_cli.command.user_keys.hello.exceptions.UnknownErrorException[source]

Bases: WindowsHelloExceptions

An unknown error occurred.

exception cryptnox_cli.command.user_keys.hello.exceptions.NotFoundException[source]

Bases: WindowsHelloExceptions

The credential could not be found.

exception cryptnox_cli.command.user_keys.hello.exceptions.CanceledException[source]

Bases: WindowsHelloExceptions

The request was cancelled by the user.

exception cryptnox_cli.command.user_keys.hello.exceptions.UserPrefersPasswordException[source]

Bases: WindowsHelloExceptions

The user prefers to enter a password.

exception cryptnox_cli.command.user_keys.hello.exceptions.SecurityDeviceLockedException[source]

Bases: WindowsHelloExceptions

The 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.