shogun-core 6.2.2 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -149,7 +149,8 @@ exports.importSignalPublicKey = importSignalPublicKey;
|
|
|
149
149
|
const importSignalSigningPublicKey = async (keyBytes) => {
|
|
150
150
|
return await crypto.subtle.importKey("raw", keyBytes, {
|
|
151
151
|
name: "Ed25519",
|
|
152
|
-
},
|
|
152
|
+
}, true, // Make public keys extractable for re-export in bundles
|
|
153
|
+
["verify"]);
|
|
153
154
|
};
|
|
154
155
|
exports.importSignalSigningPublicKey = importSignalSigningPublicKey;
|
|
155
156
|
const performSignalDH = async (privateKey, publicKey) => {
|