From f9078ebfa92f2e290239db12e2f59b16e84a8d45 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 30 Jan 2023 02:59:20 +0100 Subject: [PATCH] FlexiKey: define STORAGE in base class avoids some mypy warnings. --- src/borg/crypto/key.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/borg/crypto/key.py b/src/borg/crypto/key.py index 8137cfc62..066df18e0 100644 --- a/src/borg/crypto/key.py +++ b/src/borg/crypto/key.py @@ -417,6 +417,7 @@ class AESKeyBase(KeyBase): class FlexiKey: FILE_ID = "BORG_KEY" + STORAGE = KeyBlobStorage.NO_STORAGE # override in subclass @classmethod def detect(cls, repository, manifest_data):