From 8120651ec4892bbbc1a06bc91f75994ecb22e2dd Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Thu, 12 Jan 2023 17:08:23 +0100 Subject: [PATCH] Updates pyi for type annotation --- johnnycanencrypt/johnnycanencrypt.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/johnnycanencrypt/johnnycanencrypt.pyi b/johnnycanencrypt/johnnycanencrypt.pyi index b110f57..d20ce06 100644 --- a/johnnycanencrypt/johnnycanencrypt.pyi +++ b/johnnycanencrypt/johnnycanencrypt.pyi @@ -99,6 +99,9 @@ def encrypt_file_internal( ) -> bytes: ... def is_smartcard_connected() -> bool: ... def get_card_version() -> tuple[int, int, int]: ... +def enable_otp_usb() -> bool: ... +def disable_otp_usb() -> bool: ... + class Johnny: def __init__(self, certdata: bytes) -> Johnny: ...