This commit is contained in:
Roman Zeyde
2015-08-11 20:46:13 +03:00
parent f462d49141
commit c367a1bd9d
2 changed files with 4 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ def decompress_pubkey(pub, curve=ecdsa.NIST256p):
return ecdsa.VerifyingKey.from_public_point(point, curve=curve,
hashfunc=hashfunc)
def serialize_verifying_key(vk):
key_type = ECDSA_KEY_PREFIX + ECDSA_CURVE_NAME
curve_name = ECDSA_CURVE_NAME