nitrokey.nkpk

Accessing Nitrokey Passkey Devices

nitrokey.nkpk.list()
Type renvoyé:

List[NKPK | NKPKBootloader]

nitrokey.nkpk.open(path)
Paramètres:

path (str)

Type renvoyé:

NKPK | NKPKBootloader | None

Nitrokey Passkey Objects

class nitrokey.nkpk.NKPK

Bases : TrussedDevice

__init__(device)
Paramètres:

device (CtapHidDevice)

Type renvoyé:

None

classmethod from_device(device)
Paramètres:

device (CtapHidDevice)

Type renvoyé:

NKPK

property name: str
property pid: int
class nitrokey.nkpk.NKPKBootloader

Bases : TrussedBootloaderNrf52

classmethod list()
Type renvoyé:

List[NKPKBootloader]

classmethod open(path)
Paramètres:

path (str)

Type renvoyé:

NKPKBootloader | None

property name: str
property pid: int