{"_id":"@sanndestroyer/libsignal-node","name":"@sanndestroyer/libsignal-node","dist-tags":{"latest":"2.2.5"},"versions":{"2.2.5":{"name":"@sanndestroyer/libsignal-node","version":"2.2.5","description":"Open Whisper Systems' libsignal for Node.js","repository":{"type":"git","url":"git+https://github.com/sanndestroyer/libsignal-node.git"},"main":"index.js","keywords":["signal","whispersystems","crypto"],"license":"GPL-3.0","dependencies":{"curve25519-js":"^0.0.4","crypto":"^1.0.1","fs":"^0.0.1-security","path":"^0.12.7","protobufjs":"6.8.8"},"devDependencies":{"eslint":"6.0.1"},"_id":"@sanndestroyer/libsignal-node@2.2.5","gitHead":"f916c2f5146178d72c40694d5484fd1425f61833","bugs":{"url":"https://github.com/sanndestroyer/libsignal-node/issues"},"homepage":"https://github.com/sanndestroyer/libsignal-node#readme","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-2bvo6yrNOMWCe2/JiVdRQzQSrEGXTCpWtKIGQrtPnBnpvqkfDVNh7YWt2xvxS80MdCO0JR4w4gOkZRheCoeZMA==","shasum":"baec7b7eb6aac73f12991ce34604dbfbd0e19217","tarball":"https://registry.npmjs.org/@sanndestroyer/libsignal-node/-/libsignal-node-2.2.5.tgz","fileCount":20,"unpackedSize":145408,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDxUEAbqozr+/53bss6ObL96pqE4Asdkawih/W7p0e0hAIgIlmMLLYHVxV7WatuHhzf/vWmPRGXkr5Rjy2a2eTG17U="}]},"_npmUser":{"name":"sanndestroyer","email":"longwhei@gmail.com"},"directories":{},"maintainers":[{"name":"sanndestroyer","email":"longwhei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/libsignal-node_2.2.5_1776513131505_0.6454970661942991"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-18T11:52:11.442Z","2.2.5":"2026-04-18T11:52:11.642Z","modified":"2026-04-18T11:52:11.800Z"},"maintainers":[{"name":"sanndestroyer","email":"longwhei@gmail.com"}],"description":"Open Whisper Systems' libsignal for Node.js","homepage":"https://github.com/sanndestroyer/libsignal-node#readme","keywords":["signal","whispersystems","crypto"],"repository":{"type":"git","url":"git+https://github.com/sanndestroyer/libsignal-node.git"},"bugs":{"url":"https://github.com/sanndestroyer/libsignal-node/issues"},"license":"GPL-3.0","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\n","readmeFilename":"README.md","_rev":"1-85b7aba3884ff53e2ea3518bd9fb3346"}