Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
109 stars 27 forks source link

Add Credentials support for `glcli` #382

Closed nepet closed 5 months ago

nepet commented 5 months ago

This PR reflects the changes that have been added through main-0.2 to the command line tool.

Credentials are written to disk and restored from disk when interacting with glcli. This PR also adds an upgradecreds command that can upgrade from pre main-0.2 to an actual credentials set.

Please verify that it works as intended:

old: < main-0.2 new: >= main-0.2

These require to run an old signer apart from from glcli

These should work out of the box