ots
ots is a one-time-secret sharing platform. The secret is encrypted with a symmetric 256bit AES encryption in the browser before being sent to the server. Afterwards an URL containing the ID of the secret and the password is generated. The password is never sent to the server so the server will never be able to decrypt the secrets it delivers with a reasonable effort. Also the secret is immediately deleted on the first read.
Note
For this guide you should be familiar with the basic concepts of
Installation
We create the working directory, download the latest version and extract the file.
[isabell@stardust ~]$ mkdir ots
[isabell@stardust ~]$ cd ots
[isabell@stardust ots]$ wget https://github.com/Luzifer/ots/releases/download/v1.15.1/ots_linux_amd64.tgz
[isabell@stardust ots]$ tar -xzf ots_linux_amd64.tgz
[isabell@stardust ots]$ rm ots_linux_amd64.tgz
[isabell@stardust ots]$
Customization
Note
This step is optional.
In order to be adjustable to your needs there are some ways to customize your OTS setup. All of those require you to create a YAML file containing the definitions of your customizations and to load this file through the --customize=~/ots/customize.yaml
. Check out customization for more information and add this option to your service command in the next step.
Service
Now you should set up a service that keeps ots alive while you are gone. Create the file ~/etc/services.d/ots.ini
with the following content:
[program:ots]
command=%(ENV_HOME)s/ots/ots
autostart=yes
autorestart=yes
startsecs=30
After creating the configuration, tell supervisord to refresh its configuration and start the service:
[isabell@stardust ~]$ supervisorctl reread
SERVICE: available
[isabell@stardust ~]$ supervisorctl update
SERVICE: added process group
[isabell@stardust ~]$ supervisorctl status
SERVICE RUNNING pid 26020, uptime 0:03:14
[isabell@stardust ~]$
Web Backend
Note
ots should now be running on port 3000.
To make the application accessible from the outside, configure a web backend:
[isabell@stardust ~]$ uberspace web backend set / --http --port <port>
Set backend for / to port <port>; please make sure something is listening!
You can always check the status of your backend using "uberspace web backend list".
[isabell@stardust ~]$
Updates
Note
Check the update feed regularly to stay informed about the newest version.
Change the version and repeat the installation step.
Tested with ots 1.15.1, Uberspace 7.16.4
Written by: Thomas Johnson <https://johnson.tj/>