move hkdf out of util/, remove now-empty directory
This commit is contained in:
parent
26e9621747
commit
17613ce8c1
2
setup.py
2
setup.py
|
@ -17,7 +17,7 @@ setup(name="magic-wormhole",
|
||||||
"wormhole.blocking",
|
"wormhole.blocking",
|
||||||
"txwormhole",
|
"txwormhole",
|
||||||
"wormhole_cli",
|
"wormhole_cli",
|
||||||
"wormhole.test", "wormhole.util",
|
"wormhole.test",
|
||||||
"wormhole_server"],
|
"wormhole_server"],
|
||||||
package_data={"wormhole_server": ["db-schemas/*.sql"]},
|
package_data={"wormhole_server": ["db-schemas/*.sql"]},
|
||||||
entry_points={"console_scripts":
|
entry_points={"console_scripts":
|
||||||
|
|
|
@ -18,7 +18,7 @@ from wormhole import __version__
|
||||||
from wormhole import codes
|
from wormhole import codes
|
||||||
from wormhole.errors import ServerError, Timeout, WrongPasswordError, UsageError
|
from wormhole.errors import ServerError, Timeout, WrongPasswordError, UsageError
|
||||||
from wormhole.timing import DebugTiming
|
from wormhole.timing import DebugTiming
|
||||||
from wormhole.util.hkdf import HKDF
|
from wormhole.hkdf import HKDF
|
||||||
from wormhole.channel_monitor import monitor
|
from wormhole.channel_monitor import monitor
|
||||||
|
|
||||||
CONFMSG_NONCE_LENGTH = 128//8
|
CONFMSG_NONCE_LENGTH = 128//8
|
||||||
|
|
|
@ -8,7 +8,7 @@ from twisted.internet import (reactor, interfaces, defer, protocol,
|
||||||
from twisted.internet.defer import inlineCallbacks, returnValue
|
from twisted.internet.defer import inlineCallbacks, returnValue
|
||||||
from twisted.protocols import policies
|
from twisted.protocols import policies
|
||||||
from nacl.secret import SecretBox
|
from nacl.secret import SecretBox
|
||||||
from wormhole.util.hkdf import HKDF
|
from wormhole.hkdf import HKDF
|
||||||
from wormhole.errors import UsageError
|
from wormhole.errors import UsageError
|
||||||
from wormhole.timing import DebugTiming
|
from wormhole.timing import DebugTiming
|
||||||
from . import ipaddrs
|
from . import ipaddrs
|
||||||
|
|
|
@ -11,7 +11,7 @@ from .. import __version__
|
||||||
from .. import codes
|
from .. import codes
|
||||||
from ..errors import ServerError, Timeout, WrongPasswordError, UsageError
|
from ..errors import ServerError, Timeout, WrongPasswordError, UsageError
|
||||||
from ..timing import DebugTiming
|
from ..timing import DebugTiming
|
||||||
from ..util.hkdf import HKDF
|
from ..hkdf import HKDF
|
||||||
from ..channel_monitor import monitor
|
from ..channel_monitor import monitor
|
||||||
|
|
||||||
SECOND = 1
|
SECOND = 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user