nitrokey.nkpk

Accessing Nitrokey Passkey Devices

nitrokey.nkpk.list()
Rückgabetyp:

List[NKPK | NKPKBootloader]

nitrokey.nkpk.open(path)
Parameter:

path (str)

Rückgabetyp:

NKPK | NKPKBootloader | None

Nitrokey Passkey Objects

class nitrokey.nkpk.NKPK

Basen: TrussedDevice

__init__(device)
Parameter:

device (CtapHidDevice)

Rückgabetyp:

None

classmethod from_device(device)
Parameter:

device (CtapHidDevice)

Rückgabetyp:

NKPK

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

Basen: TrussedBootloaderNrf52

classmethod list()
Rückgabetyp:

List[NKPKBootloader]

classmethod open(path)
Parameter:

path (str)

Rückgabetyp:

NKPKBootloader | None

property name: str
property pid: int