fix update check
This commit is contained in:
parent
17406a3929
commit
4f58d76eda
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ def verify(release):
|
|||
for module in sorted(release['modules']):
|
||||
value += [str('%s/%s' % (release['modules'][module]['version'], release['modules'][module]['sha1']))]
|
||||
value = '\n'.join(value)
|
||||
sig = str(release['signature'])
|
||||
value = value.encode()
|
||||
sig = release['signature'].encode()
|
||||
try:
|
||||
vk.verify(sig, value, encoding=ENCODING)
|
||||
except ed25519.BadSignatureError:
|
||||
|
|
Loading…
Reference in a new issue