{"versions":{"2.0.1":{"name":"@openclaw-cn/libsignal","version":"2.0.1","description":"Signal protocol implementation for Node.js (fork for openclaw-cn)","repository":{"type":"git","url":"git+https://github.com/jiulingyun/libsignal-node.git"},"main":"index.js","types":"index.d.ts","keywords":["signal","whispersystems","crypto","openclaw"],"license":"GPL-3.0","dependencies":{"curve25519-js":"^0.0.4","protobufjs":"6.8.8"},"gitHead":"1c30d7d7e76a3b0aa120b04dc6a26f5a12dccf67","_id":"@openclaw-cn/libsignal@2.0.1","bugs":{"url":"https://github.com/jiulingyun/libsignal-node/issues"},"homepage":"https://github.com/jiulingyun/libsignal-node#readme","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-LpiwCbZm6Wpnsc6H4TmVoAzJGx/YXbZ6JNjHhmQLBU4O28ZEHmfP9CYqbUx8nTrg89ynlNJoB16lUQtvDtvBpQ==","shasum":"bcc398cabf1d740858b1c2e25d8c8e79ab71d1f1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@openclaw-cn/libsignal/-/libsignal-2.0.1.tgz","fileCount":22,"unpackedSize":129793,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHJe+FIjKqqYG9lJbFjOINb9nM6nBAlnfyVGvxxj0dN+AiBDlwNxJ2TEQPBUsaiO2eKw9QIifa6buSW2FquF4qYqLQ=="}],"size":28038},"_npmUser":{"name":"anonymous","email":"yangmingfeng@jiulingyun.cn"},"directories":{},"maintainers":[{"name":"anonymous","email":"yangmingfeng@jiulingyun.cn"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/libsignal_2.0.1_1770095489232_0.19704993367155388"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-03T05:11:29.399Z","publish_time":1770095489399,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.0.1"},"name":"@openclaw-cn/libsignal","time":{"created":"2026-02-04T14:48:41.475Z","modified":"2026-02-04T14:48:42.176Z","2.0.1":"2026-02-03T05:11:29.399Z"},"readme":"libsignal-node\n========\nSignal protocol implementation for Node.js based on\n[libsignal-protocol-javascript](https://github.com/WhisperSystems/libsignal-protocol-javascript).\n\n[![npm](https://img.shields.io/npm/v/libsignal.svg)](https://www.npmjs.com/package/libsignal)\n[![npm](https://img.shields.io/npm/l/libsignal.svg)](https://github.com/ForstaLabs/libsignal-node)\n\n\nOverview\n--------\nA ratcheting forward secrecy protocol that works in synchronous and\nasynchronous messaging environments.\n\n\nPreKeys\n--------\nThis protocol uses a concept called 'PreKeys'. A PreKey is an ECPublicKey and\nan associated unique ID which are stored together by a server. PreKeys can also\nbe signed.\n\nAt install time, clients generate a single signed PreKey, as well as a large\nlist of unsigned PreKeys, and transmit all of them to the server.\n\n\nSessions\n--------\nSignal Protocol is session-oriented. Clients establish a \"session,\" which is\nthen used for all subsequent encrypt/decrypt operations. There is no need to\never tear down a session once one has been established.\n\nSessions are established in one of two ways:\n\n1. PreKeyBundles. A client that wishes to send a message to a recipient can\n   establish a session by retrieving a PreKeyBundle for that recipient from the\n   server.\n2. PreKeySignalMessages. A client can receive a PreKeySignalMessage from a\n   recipient and use it to establish a session.\n\n\nState\n--------\nAn established session encapsulates a lot of state between two clients. That\nstate is maintained in durable records which need to be kept for the life of\nthe session.\n\nState is kept in the following places:\n\n* Identity State. Clients will need to maintain the state of their own identity\n  key pair, as well as identity keys received from other clients.\n* PreKey State. Clients will need to maintain the state of their generated\n  PreKeys.\n* Signed PreKey States. Clients will need to maintain the state of their signed\n  PreKeys.\n* Session State. Clients will need to maintain the state of the sessions they\n  have established.\n\n\nLicense\n--------\nLicensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html\n\n* Copyright 2015-2016 Open Whisper Systems\n* Copyright 2017-2018 Forsta Inc","users":{}}