Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
prekey-server-xmpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OTRv4
prekey-server-xmpp
Commits
94eb489a
Unverified
Commit
94eb489a
authored
Jul 18, 2018
by
Ola Bini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add readme documenting how to use the server
parent
2b3f8ad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
README.md
README.md
+33
-0
No files found.
README.md
0 → 100644
View file @
94eb489a
# XMPP Prekey Server for OTRv4 and forward
This project implements an XMPP Component (XEP-114) that allows XMPP server
providers to deploy an OTRv4 Prekey Server
(https://github.com/otrv4/otrv4-prekey-server) in an easy way.
In order to use this component, you also need to run the Raw prekey server (https://github.com/otrv4/otrng-prekey-server/tree/master/server/raw).
If you're using Prosody, you can add configuration options like these to add the server:
```
component_ports = { 42335 }
component_interface = "127.0.0.1"
Component "prekeys.example.com"
component_secret = "changeme"
name = "OTR Prekey Server"
```
You also need to add a DNS s2s entry for the domain you're using.
For ejabberd you can add an equivalent ejabberd_service.
Assuming you have the raw server running on localhost with the default port you
can now start the xmpp server like this:
```
$ ./prekey-server-xmpp -xmpp-address 127.0.0.1 -xmpp-port 42335 -shared-secret "changeme" -name prekeys.example.com -fingerprint 123AAAAAAAAAAAAAAAAA123CDCDCDABABABABABA88797676556456421132425673535467575765AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
```
This component will now be discoverable as prekeys.example.com inside the XMPP
server - it will respond to disco#info and disco#items, and messages sent to it
will be forwarded to the Raw prekey server.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment