eWaterCycle / eWaterCycle/remotebmi

Add security

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

By default communication is done over http without any authentication and authorization. This ok-ish for running locally where you trust the users on the system.

It would be nice if the web service could run on https with either self-signed certs or signed by trusted certificate authority like Let's encrypt.

To make sure the server can trust the client and vice versa we could use a shared secret like an API key or JWT.
See https://spec.openapis.org/oas/latest.html#security-scheme-object
The shared secret could be passed to the server using an environment variable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.