Skip to content

Add private-key-knowledge VSS authentication#76

Merged
benthecarman merged 1 commit into
lightningdevkit:masterfrom
tankyleo:2026-06-vss-sigs-auth
Jun 3, 2026
Merged

Add private-key-knowledge VSS authentication#76
benthecarman merged 1 commit into
lightningdevkit:masterfrom
tankyleo:2026-06-vss-sigs-auth

Conversation

@tankyleo
Copy link
Copy Markdown
Contributor

@tankyleo tankyleo commented Jun 3, 2026

    Add private-key-knowledge VSS authentication

    In PR https://github.com/lightningdevkit/ldk-node/pull/755, we shipped
    a VSS authentication scheme in ldk-node that grants access to data
    stored in VSS based on the knowledge of a private key. This
    authentication scheme is the default method of authentication to VSS
    server in ldk-node.

    Here we wire up this authentication scheme to the public API of this
    crate.

    With this commit, if only the `--vss-url` argument is passed to the cli
    example, with no other VSS arguments, sigs auth is now used. VSS server
    default builds expect this authentication mechanism, and it works out of
    the box, so it is very demo-friendly.

    First launch VSS server:

    `cargo run -- server/vss-server-config.toml`

    then launch the cli example against VSS:

    `cargo run -- --vss-url http://127.0.0.1:8080/vss`

    Commit written with codex.

In PR lightningdevkit/ldk-node#755, we shipped
a VSS authentication scheme in ldk-node that grants access to data
stored in VSS based on the knowledge of a private key. This
authentication scheme is the default method of authentication to VSS
server in ldk-node.

Here we wire up this authentication scheme to the public API of this
crate.

With this commit, if only the `--vss-url` argument is passed to the cli
example, with no other VSS arguments, sigs auth is now used. VSS server
default builds expect this authentication mechanism, and it works out of
the box, so it is very demo-friendly.

First launch VSS server:

`cargo run -- server/vss-server-config.toml`

then launch the cli example against VSS:

`cargo run -- --vss-url http://127.0.0.1:8080/vss`

Commit written with codex.
@benthecarman benthecarman self-requested a review June 3, 2026 00:27
Copy link
Copy Markdown
Collaborator

@benthecarman benthecarman left a comment

Choose a reason for hiding this comment

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

lgtm!

@benthecarman benthecarman merged commit f393ed9 into lightningdevkit:master Jun 3, 2026
2 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.

2 participants