fix: browser version

This commit is contained in:
Adhiraj Singh
2022-04-14 21:29:07 +05:30
parent e2e8bef5eb
commit fe9a6d07ae
3 changed files with 27 additions and 33 deletions

View File

@@ -112,7 +112,7 @@ export const makeNoiseHandler = ({ public: publicKey, private: privateKey }: Key
mixIntoKey(Curve.sharedKey(privateKey, decStaticContent))
const certDecoded = decrypt(serverHello!.payload!)
const { details: certDetails, signature: certSignature } = proto.NoiseCertificate.decode(certDecoded)
const { details: certDetails } = proto.NoiseCertificate.decode(certDecoded)
const { key: certKey } = proto.NoiseCertificateDetails.decode(certDetails)