angelos.psi.keyloader¶
Multiplatform key loader mechanism.
-
class
angelos.psi.keyloader.
BaseKeyLoader
¶ Bases:
abc.ABC
Key loader base class. Subclass this for different backends.
-
classmethod
get
() → bytes¶ Get the key.
-
classmethod
new
() → bytes¶ Generate a new secret.
-
classmethod
redo
()¶
-
classmethod
set
(master: bytes, key: Optional[bytes] = None)¶ Save a key, generate new if none given.
-
classmethod
-
class
angelos.psi.keyloader.
KeyLoader
¶ Bases:
angelos.psi.keyloader.BaseKeyLoader
Keyloader for the keychain in Darwin/macOS.