【问题标题】:Run custom TextSecure (Signal) server运行自定义 TextSecure(信号)服务器
【发布时间】:2016-02-15 11:04:15
【问题描述】:

我正在尝试启动我的自定义 TextSecure(信号)服务器。我想将它用于 Signal 的所有功能(短信和电话)。我相信我还需要 redphone 服务器来运行电话。我只找到了 TextSecure 服务器的 github 存储库https://github.com/WhisperSystems/TextSecure-Server,但没有找到 redphone 服务器的存储库。

我认为我还需要运行此服务器https://github.com/WhisperSystems/PushServer 才能正确操作 Signal。

我尝试从 github 下载整个 TextSecure 服务器并将其添加到 intelijidea 作为 maven 存储库,但它不允许我运行它并因此编译它。

有运行 cusotm TextSecure 服务器经验的人吗?我需要一个小指南,因为我完全陷入了困境。

感谢转发

【问题讨论】:

    标签: java linux maven github server


    【解决方案1】:

    您可以运行自己的 TextSecure 服务器,但首先您需要在 Twilio、AWS S3、Google Developer 和 Apple Developer 创建帐户。

    Twilio - 用于短信广播(用于在 TextServer 中注册)。
    AWS - 用于 TextSecure 中的文档。
    Google 开发人员 - 用于推送通知。
    Apple Developer - 用于推送通知(我没有注册这个,因为我确实破解了推送服务器)。

    之后您需要安装:JDK 和 Cryptography 扩展、Maven、Postgresql、Redis。

    使用 Maven 安装:Dropwizard-simpleauth、WebSocket-Resources。
    使用 Maven 编译 PushServer 并使用您的设置(redis、auth、gcm、apn)启动它。
    使用 Maven 编译带有 -DskipTests 键的 TextServer。
    之后,您可以使用自己的 TextServer 但无需 RedPhone。 RedPhone 存储库已从 github 中删除。

    希望对你有所帮助。

    【讨论】:

    • 您可以使用如下命令启动它:“/path/to/java/java -jar /path/to/push/Push-Server.jar server /path/to/config/production .yml"
    • 你应该启动胶囊罐。 Here推送服务器的yml配置文件示例
    • 检查环境的所有路径(java、maven、dropwizard-simpleauth、WebSocket-Resources 等)
    • 此文件不是必需的。您应该只选择一个作为推送服务器的设置。如果您有一些问题,请尝试重命名配置目录并编译/安装您的服务器。这应该会有所帮助。
    • >>> 它可以与 Signal Messenger 一起使用吗,因为我没有 RedPhone 的代码。是的,它会起作用。 >>> 另一个问题是,在启动推送服务器之前,我是否需要同时配置 TextSecure Server 和 Signal Messenger 的设置?要启动推送服务器,您无需配置 TextSecure 服务器和 Signal messenger。
    猜你喜欢
    • 2019-02-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-22
    • 1970-01-01
    • 2023-03-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多