Replies: 3 comments 12 replies
-
@AsamK : Before digging into the code more, can this work:
The beauty of this would be to provide a standard installation (e.g. a Debian package) that installs a generic signal-cli daemon). That would increase usability significantly. It would also take care about the platform dependency (provide x64 and arm packages) and package dependencies (e.g. the right Java version). Sounds feasible? |
Beta Was this translation helpful? Give feedback.
-
I believe I figured out the problem that caused a hang. My code simply had a glitch when a DBus call does not return data (void function). |
Beta Was this translation helpful? Give feedback.
-
@AsamK I basically finished ny implementation and everrhing from register over captcha (fully automated on a Windows client thanks to the hint I got from @Florian7843 ) to verify is working. I would still appreciate to merge my small PR. |
Beta Was this translation helpful? Give feedback.
-
I digged a bit thru the code to potentially implement a registration via Dbus. However there seems to be a hen-and-egg problem here.
Starting the application in Dbus mode requires a valid registration and getting a RegistrationManager from a Manager is also not straight forward.
Having registration via Dbus would create the possibility to guide users conveniently through the registration process, even potentially embedding the Captcha and redirecting the Captcha by creating a protocal handler to catch the signalcaptcha:// code.
Same for the "link" where the qrcode could be put on the screen.
All this would require to start signal-cli in an unregistered mode, so it would listen to dbus commands (but typically reply with a kind "not registered" exception). What would be the complexity of this?
Beta Was this translation helpful? Give feedback.
All reactions