aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/harness/playlist_ui_probe.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/harness/playlist_ui_probe.py')
-rw-r--r--packages/meshbay-hub/tests/harness/playlist_ui_probe.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/meshbay-hub/tests/harness/playlist_ui_probe.py b/packages/meshbay-hub/tests/harness/playlist_ui_probe.py
index c705244..6e3be1e 100644
--- a/packages/meshbay-hub/tests/harness/playlist_ui_probe.py
+++ b/packages/meshbay-hub/tests/harness/playlist_ui_probe.py
@@ -173,12 +173,11 @@ const clickMenu = async (i) => {
try {
await initLocale();
- // A real HKDF handle, so the store derives its key the way it really does.
+ // A real master key, so the store derives its key the way it really does.
const raw = new Uint8Array(32).fill(3);
session.bundleKey = {
- v2: await crypto.subtle.importKey('raw', raw, { name: 'AES-GCM' }, false,
- ['encrypt', 'decrypt']),
- v2hkdf: await crypto.subtle.importKey('raw', raw, 'HKDF', false, ['deriveKey']),
+ v3: await crypto.subtle.importKey('raw', raw, 'HKDF', false, ['deriveKey', 'deriveBits']),
+ pepperVersion: 1,
};
// Deleting a playlist asks, in the page (ask.js) — so the probe answers the
// dialog the way a person would, by clicking its OK button.