{"_id":"@afanka/libsignal-node","name":"@afanka/libsignal-node","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@afanka/libsignal-node","version":"1.0.0","description":"Open Whisper Systems' libsignal for Node.js","repository":{"type":"git","url":"git+https://github.com/afanka/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":"@afanka/libsignal-node@1.0.0","bugs":{"url":"https://github.com/afanka/libsignal-node/issues"},"homepage":"https://github.com/afanka/libsignal-node#readme","_nodeVersion":"25.8.2","_npmVersion":"11.13.0","dist":{"integrity":"sha512-7c6mmCG69R8DgPnDnKoLs8qteoEg/dJHhaZjZXtNA81ibLfde556BUSu08d0aPiuDElyLpfOQ0qRjI6XNMcTyQ==","shasum":"8e53ca13a8691532439284ab4738e80a8957ecd5","tarball":"https://registry.npmjs.org/@afanka/libsignal-node/-/libsignal-node-1.0.0.tgz","fileCount":20,"unpackedSize":144592,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH9sghHR/o8C7bHVk4qB/3yYnUYzKfuZNOWCulUrNo18AiBQXm5KmQlm10S6VlYyDC3gfMdC7MysieHJajdrmg53CQ=="}]},"_npmUser":{"name":"afanka","email":"stokakunafanka@gmail.com"},"directories":{},"maintainers":[{"name":"afanka","email":"stokakunafanka@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/libsignal-node_1.0.0_1777207601654_0.2484028496360695"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-26T12:46:41.500Z","1.0.0":"2026-04-26T12:46:41.790Z","modified":"2026-04-26T12:46:42.040Z"},"maintainers":[{"name":"afanka","email":"stokakunafanka@gmail.com"}],"description":"Open Whisper Systems' libsignal for Node.js","homepage":"https://github.com/afanka/libsignal-node#readme","keywords":["signal","whispersystems","crypto"],"repository":{"type":"git","url":"git+https://github.com/afanka/libsignal-node.git"},"bugs":{"url":"https://github.com/afanka/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-c9209b108cf4b7a27f3ace4fc5d1c277"}