-
Notifications
You must be signed in to change notification settings - Fork 20
Document the openssl dependency, the Proof-of-Knowledge authentication #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Also document the automatic creation of the database if it does not exist.
|
👋 Thanks for assigning @tnull as a reviewer! |
|
Fixes #77 |
|
|
||
| - Install Rust and Cargo (https://www.rust-lang.org/tools/install). | ||
| - Install PostgreSQL 15 (https://www.postgresql.org/download/) | ||
| - Install openssl (used for TLS connections to the postgres backend: https://docs.rs/openssl/latest/openssl/#automatic) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - Install openssl (used for TLS connections to the postgres backend: https://docs.rs/openssl/latest/openssl/#automatic) | |
| - Install OpenSSL (used for TLS connections to the PostgreSQL backend: https://docs.rs/openssl/latest/openssl/#automatic) |
| environment variables as needed. Add PostgreSQL endpoint configuration. | ||
| 2. Create table in PostgreSQL using `./impls/src/postgres/sql/` | ||
| environment variables as needed. | ||
| 2. VSS will setup a Postgres database on first launch if it is not found. You can also manually create the database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 2. VSS will setup a Postgres database on first launch if it is not found. You can also manually create the database | |
| 2. VSS will setup a PostgreSQL database on first launch if it is not found. You can also manually create the database |
| without authentication for local testing or in trusted setups. The VSS-rust-client supports LNURL-auth & JWT based | ||
| authentication and authorization. Switching to simple HTTP header authentication is straightforward by adding another | ||
| implementation. Note that the security of authentication heavily relies on using HTTPS for all requests. | ||
| * **Authentication and Authorization**: Currently, the VSS-server supports authentication via Proof-of-Knowledge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proof-of-Knowledge of what? Two-three more words might help here. Also maybe link to the new section below?
| authentication and authorization. Switching to simple HTTP header authentication is straightforward by adding another | ||
| implementation. Note that the security of authentication heavily relies on using HTTPS for all requests. | ||
| * **Authentication and Authorization**: Currently, the VSS-server supports authentication via Proof-of-Knowledge | ||
| or [JWT](https://datatracker.ietf.org/doc/html/rfc7519). The API also offers hooks for simple HTTP header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| or [JWT](https://datatracker.ietf.org/doc/html/rfc7519). The API also offers hooks for simple HTTP header | |
| or [JWT](https://datatracker.ietf.org/doc/html/rfc7519). The API also offers hooks for simple HTTP header-based |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we describe these rust-only changes in the global README, maybe we should consider to remove the java version soonish? What's our current thinking around timeline for that?
Also document the automatic creation of the database if it does not exist.