A keyring API for sharing jabber fingerprints with friends.
Go to file
2020-09-10 22:02:34 +02:00
api UI objects for UserSharingsGet and FingerprintPut added 2020-09-10 11:46:31 +02:00
backend Merge branch 'nightly' into ui 2020-09-10 22:02:34 +02:00
js UI objects for UserSharingsGet and FingerprintPut added 2020-09-10 11:46:31 +02:00
.gitignore First API requests implemented. 2020-09-06 12:07:26 +02:00
index.html First API requests implemented. 2020-09-06 12:07:26 +02:00
index.php Moved to folder backend 2020-08-19 21:06:45 +02:00
Makefile Readme updated 2020-08-24 22:46:24 +02:00
README.md Readme updated 2020-08-24 22:46:24 +02:00
tsconfig.json First API requests implemented. 2020-09-06 12:07:26 +02:00

Ringfinger

A restfull keyring API with web UI to share your OMEMO fingerprints for jabber with the people you like.

Create an account, store your OMEMO fingerprints and share it with your friends. There is no need to type in your 64 chars long fingerprint for each of your friends. Just enter it once and decide which people you want to share your keyring with.

Requirements

  • A webserver (Nginx, Apache, etc.)
  • PHP 7.4 (with php-fpm configured)
  • MySQL/MariaDB
  • qrencode

Setup

Before you start setting up make sure you have an empty MySQL database created. You also need a database user that has full access to the newly created database!

Then clone or copy the ringfinger folder to the location folder of your webserver. Move into the ringfinger folder and start the setup process

make setup

Webserver configuration

Despite your basic setup with PHP and MySQL/MariaDB your webserver has to to rewrite all requests that access the path /ringfinger/api/v1/... to /ringfinger/api/v1/index.php to make the API working.

NGINX

Add the following line to your nginx.conf or to a separate file that will be included by the nginx.conf:

rewrite /ringfinger/api/v1/.* /ringfinger/api/v1/index.php;

Also make sure you deny the access to /ringfinger/backend for all!