diff --git a/examples/style.css b/examples/style.css index 75fb451c..3b9cd063 100644 --- a/examples/style.css +++ b/examples/style.css @@ -85,6 +85,10 @@ ul, li { .rim { margin: 2%; } +.gap { + padding: 3%; +} + .loud { font-size: 150%; } diff --git a/sea.js b/sea.js index 2114cbcf..e564fcf2 100644 --- a/sea.js +++ b/sea.js @@ -485,7 +485,7 @@ // Derive shared secret from other's pub and my epub/epriv async derive(pub, { epub, epriv }) { try { - const { importKey, deriveKey, exportKey } = subtleossl || subtle + const { importKey, deriveKey, exportKey } = wc.ossl || subtle const keystoecdhjwk = (pub, priv) => { const [ x, y ] = Buffer.from(pub, 'base64').toString('utf8').split(':') const jwk = priv ? { d: priv, key_ops: ['decrypt'] } : { key_ops: ['encrypt'] } diff --git a/test/user.html b/test/user.html index 3f425aeb..d532ab87 100644 --- a/test/user.html +++ b/test/user.html @@ -17,6 +17,7 @@ +