We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a736c46 commit 49f8c93Copy full SHA for 49f8c93
tests/util/keyhandler.py
@@ -9,6 +9,8 @@
9
10
11
def str_2_key(gen: str) -> bytes:
12
+ if not gen:
13
+ warnings.warn("No key supplied!")
14
if (length := len(gen)) < 32:
15
warnings.warn(f"Short length {length}")
16
gen = gen.zfill(32)
0 commit comments