owntracks / quicksetup

A (mostly) automated installer for OwnTracks Recorder, Frontend with MQTT and Let's Encrypt
https://owntracks.org/booklet/guide/quicksetup/
12 stars 3 forks source link

Add optional configuration for payload encryption #1

Closed jpmens closed 8 months ago

jpmens commented 8 months ago

Key would have to be identical for all friends, as Recorder supports a single key only.

Recorder has support for per/user encryption keys.

jpmens commented 8 months ago

Idea:

If the configuration's friends array has an element key it is the secret key to use. If the value of key begins with a / it will interpreted as a path name from which to read the secret key.

The bootstrapper could (probably should) add the secret key to the OTRC and URL configuration.

jpmens commented 8 months ago
TASK [ot-recorder: add keys for users which have them] ******************************
skipping: [localhost] => (item=jip-ipad)
changed: [localhost] => (item=jjolie-phone)
$ ocat --dump=keys
jjolie-phone mysecreTpass01