{"_id":"@baileys-md/libsignal","name":"@baileys-md/libsignal","dist-tags":{"latest":"2.0.1"},"versions":{"2.0.1":{"name":"@baileys-md/libsignal","version":"2.0.1","description":"Open Whisper Systems' libsignal for Node.js","repository":{"type":"git","url":"git+https://github.com/ForstaLabs/libsignal-node.git"},"main":"index.js","keywords":["signal","whispersystems","crypto"],"license":"GPL-3.0","dependencies":{"curve25519-js":"^0.0.4","protobufjs":"6.8.8"},"devDependencies":{"eslint":"6.0.1"},"_id":"@baileys-md/libsignal@2.0.1","gitHead":"6ee06c2136fc68a571d3673b813e2e290137bb1c","bugs":{"url":"https://github.com/ForstaLabs/libsignal-node/issues"},"homepage":"https://github.com/ForstaLabs/libsignal-node#readme","_nodeVersion":"23.6.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-XPU+n9qWhKHgsT7eGSvDzNZVT5l/xth+yP9REgj+f3qKlWHJZ/eh9nub+1mFj4dxPBiKgr/OdMdeVBCet1TBMA==","shasum":"0d9dc601bcb357c3a567d2ba4a26b61180ec44ff","tarball":"https://registry.npmjs.org/@baileys-md/libsignal/-/libsignal-2.0.1.tgz","fileCount":19,"unpackedSize":126489,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDzEBeTbPnezXHBZeXgsOxJRpy7MWluDJS/LYya2JIMaAiEAlkzeTuB9fctPsdkCobIm2ayTrKvmus/WRp+xisjgXDs="}]},"_npmUser":{"name":"rulihenderson","email":"matsunagahisahde@gmail.com"},"directories":{},"maintainers":[{"name":"rulihenderson","email":"matsunagahisahde@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/libsignal_2.0.1_1736814406905_0.8698988060371708"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-14T00:26:46.837Z","2.0.1":"2025-01-14T00:26:47.092Z","modified":"2025-01-14T00:26:47.391Z"},"maintainers":[{"name":"rulihenderson","email":"matsunagahisahde@gmail.com"}],"description":"Open Whisper Systems' libsignal for Node.js","homepage":"https://github.com/ForstaLabs/libsignal-node#readme","keywords":["signal","whispersystems","crypto"],"repository":{"type":"git","url":"git+https://github.com/ForstaLabs/libsignal-node.git"},"bugs":{"url":"https://github.com/ForstaLabs/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"}