We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5527455 commit 94f805eCopy full SHA for 94f805e
1 file changed
keyvalidator
@@ -19,8 +19,8 @@ def checkkeyobj(priv):
19
alg = ec.ECDSA(hashes.SHA256())
20
else:
21
alg = hashes.SHA256()
22
- sig = priv.sign(b"2u_Yg7", alg)
23
try:
+ sig = priv.sign(b"2u_Yg7", alg)
24
pubkey = priv.public_key()
25
except ValueError:
26
return True
0 commit comments