sign release with OpenSSL.crypto.sign (last remaining use of ed25519)
This commit is contained in:
parent
5a920ca053
commit
14b2c99ab3
5 changed files with 67 additions and 21 deletions
|
|
@ -14,14 +14,12 @@ import os
|
|||
import time
|
||||
|
||||
import ox
|
||||
import ed25519
|
||||
from tornado.ioloop import PeriodicCallback
|
||||
|
||||
import settings
|
||||
import user.models
|
||||
from changelog import Changelog
|
||||
|
||||
import directory
|
||||
from websocket import trigger_event
|
||||
from localnodes import LocalNodes
|
||||
from tor_request import get_opener
|
||||
|
|
@ -126,6 +124,8 @@ class Node(Thread):
|
|||
|
||||
|
||||
def migrate_id(self):
|
||||
import directory
|
||||
import ed25519
|
||||
key = self.user_id.encode()
|
||||
vk = ed25519.VerifyingKey(key, encoding=ENCODING)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue