nitrokey.nkpk

Accessing Nitrokey Passkey Devices

nitrokey.nkpk.list()
Return type:

List[NKPK | NKPKBootloader]

nitrokey.nkpk.open(path)
Parameters:

path (str)

Return type:

NKPK | NKPKBootloader | None

Nitrokey Passkey Objects

class nitrokey.nkpk.NKPK

Bases: TrussedDevice

__init__(device)
Parameters:

device (CtapHidDevice)

Return type:

None

classmethod from_device(device)
Parameters:

device (CtapHidDevice)

Return type:

NKPK

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

Bases: TrussedBootloaderNrf52

classmethod list()
Return type:

List[NKPKBootloader]

classmethod open(path)
Parameters:

path (str)

Return type:

NKPKBootloader | None

property name: str
property pid: int