Skip to content

Conversation

@tankyleo
Copy link
Contributor

Also document the automatic creation of the database if it does not exist.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 23, 2026

👋 Thanks for assigning @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tankyleo tankyleo requested a review from tnull January 23, 2026 06:13
@tankyleo
Copy link
Contributor Author

Fixes #77

@tankyleo tankyleo self-assigned this Jan 23, 2026
rust/README.md Outdated

- 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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 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)

rust/README.md Outdated
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

README.md Outdated
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
Copy link
Contributor

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?

README.md Outdated
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pick two weeks from now February 6th as the date we delete the Java version how is that ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM. We should probably also create a tag pre-deletion to make sure we can easily reference the code if we need it.

@tankyleo tankyleo force-pushed the 26-01-openssl-pok-create branch 2 times, most recently from bc3161f to 5aa767d Compare January 23, 2026 22:32
Also document the automatic creation of the database if it does not
exist.
@tankyleo tankyleo force-pushed the 26-01-openssl-pok-create branch from 5aa767d to 270753f Compare January 23, 2026 22:47
@tankyleo
Copy link
Contributor Author

@tankyleo tankyleo requested a review from tnull January 23, 2026 22:54
@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @tnull! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@tnull tnull merged commit d53134d into lightningdevkit:main Jan 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants