This commit is contained in:
2024-09-09 16:11:18 +02:00
parent a919eabbba
commit 5fa068776c
16 changed files with 55 additions and 47 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export default class PrivateWrap {
const pubkey = await pubkey_fromString(parts[0], Usage.ecdh)
if (pubkey === null) return null
const box = SecretWrap.fromString(parts.slice(1).join("."))
const box = SecretWrap.fromString(parts.slice(1).join('.'))
if (box === null) return null
return new PrivateWrap(box, pubkey)