aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/indexer/group_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/indexer/group_index.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/indexer/group_index.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/indexer/group_index.py b/packages/meshbay-node/src/meshbay_node/indexer/group_index.py
index 4edeeab..a69429c 100644
--- a/packages/meshbay-node/src/meshbay_node/indexer/group_index.py
+++ b/packages/meshbay-node/src/meshbay_node/indexer/group_index.py
@@ -25,14 +25,16 @@ import zstandard as zstd
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
from meshbay_common.crypto import (
- chunk_key as derive_chunk_key,
- encrypt_chunk,
- decrypt_chunk,
sign_chunk,
verify_chunk_signature,
pk_to_b64,
generate_gek,
)
+from meshbay_common.webcrypto import (
+ chunk_key_aes as derive_chunk_key,
+ encrypt_chunk_aes as encrypt_chunk,
+ decrypt_chunk_aes as decrypt_chunk,
+)
from meshbay_common.protocol import IndexEntry, IndexDelta
log = logging.getLogger(__name__)