Skip to content
Snippets Groups Projects
Commit e2bb658c authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] #94 fix bug in pubsec v1 secret key check while loading

parent 16b117e3
No related branches found
No related tags found
1 merge request!66Merge of check_tests_and_examples to dev
......@@ -146,7 +146,7 @@ class SigningKey(libnacl.sign.Signer):
# line patterns
regex_pubkey = re.compile("pub: ([1-9A-HJ-NP-Za-km-z]{43,44})", re.MULTILINE)
regex_signkey = re.compile("sec: ([1-9A-HJ-NP-Za-km-z]{88,90})", re.MULTILINE)
regex_signkey = re.compile("sec: ([1-9A-HJ-NP-Za-km-z]{87,90})", re.MULTILINE)
# check public key field
match = re.search(regex_pubkey, pubsec_content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment