aaronetz / signal-bot Goto Github PK
View Code? Open in Web Editor NEWA simple bot framework for Signal
License: GNU General Public License v3.0
A simple bot framework for Signal
License: GNU General Public License v3.0
How exactly do you send and receive messages? Do you open a new terminal? I verified successfully and can listen. But then what? I tried sending myself text messages seeing if they appear but to no avail.
And on Signal, my phone de-registers when I register from the terminal so I can't even send notes to myself.
Thanks!
Is your feature request related to a problem? Please describe.
It would be great if the KeyPair is not regenerated at every startup, but is saved so that the contact does not have to be reconfirmed every time in Signal.
Describe the solution you'd like
Keys shuld be saved
Additional context
I've already tried to do it by myself, but it looks like I used the wrong approach. I'm using the following approach:
Check if KeyPair.txt exists
if not exists -> Generate KeyPair, serialize it and save it to KeyPair.txt
if exists -> Deserialize key from KeyPair.txt
After that refresh the pre keys.
At the first start everything works without problems. But when I stop it and start it again, it doesn't work anymore. I always get the following error when I try to write a message to the bot: "Error processing message: org.signal.libsignal.metadata.ProtocolNoSessionException: org.whispersystems.libsignal.NoSessionException: No session for: :1".
It doesn't matter where I put the refreshPreKeys, or if I leave it out altogether.
Describe the bug
The bot responds in private messages even if command is sent in group
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Bot sends response to group
Describe the bug
I've tried your signal bot today. If I start it with "--register-voice +XXXXXXXXXX", I get an "org.whispersystems.signalservice.api.push.exceptions.CaptchaRequiredException". So I've tried to use the provided URL to generate a captcha code, but it seems not to be possible. If I open the link on my computer, it tried to open an "signalcaptcha://"-link, which is not possible. If I open the page on my mobile phone, it tells me that the URL is invalid. What do I have to do to generate a captcha?
To Reproduce
Expected behavior
A captcha should be generated
Desktop (please complete the following information):
Smartphone (please complete the following information):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.