libsignal-service-java icon indicating copy to clipboard operation
libsignal-service-java copied to clipboard

Documentation inaccurate / url:s missing: SignalServiceAccountManager

Open nyvelius opened this issue 6 years ago • 1 comments

According to the README, SignalServiceAccountManager takes a url in the form of a String. This value is also a String according to the Javadoc. The wiki gives us a url to use.

However, in reality SignalServiceAccountManager takes a SignalServiceConfiguration object which in turn takes three String arrays. SignalServiceUrl[], SignalCdnUrl[] and SignalContactDiscoveryUrl[].

What are the url:s for these services?

The configuration object also requires a BounceCastle keystore. Where can this be found?

README private final String URL = "https://my.signal.server.com"; SignalServiceAccountManager accountManager = new SignalServiceAccountManager(URL, TRUST_STORE, USERNAME, PASSWORD, USER_AGENT);

Javadoc @param configuration The URL for the Signal Service.

Wiki https://github.com/signalapp/libsignal-service-java/wiki/Using-the-Open-Whisper-Systems-server To use the TextSecure server provided by Open Whisper Systems in your application, you need two things: the server's URL: https://textsecure-service.whispersystems.org ...

nyvelius avatar Jan 09 '19 22:01 nyvelius

You can find the current settings here https://github.com/signalapp/Signal-Desktop/blob/development/config/production.json

DanielWeigl avatar Nov 22 '20 14:11 DanielWeigl