From 9a44101a2e87fb5e45bb3e7f75839b646f162ff2 Mon Sep 17 00:00:00 2001 From: positiveblue Date: Fri, 7 Jul 2023 11:12:23 -0700 Subject: [PATCH 1/3] config: passphrase placeholder Use spaces to separate the passphrase placeholder instead of confusing users with using `-` as a separator. --- sample-conf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-conf.yaml b/sample-conf.yaml index b01bca6..704e919 100644 --- a/sample-conf.yaml +++ b/sample-conf.yaml @@ -39,7 +39,7 @@ authenticator: network: "simnet" # The LNC connection passphrase. - passphrase: "my-own-passphrase" + passphrase: "your pairing phrase" # The host:port of the mailbox server to be used. mailboxaddress: "mailbox.terminal.lightning.today:443" From cc7d18ba39a6541350a2ae5f46c3416c18ac037f Mon Sep 17 00:00:00 2001 From: positiveblue Date: Fri, 7 Jul 2023 11:16:30 -0700 Subject: [PATCH 2/3] config: group authenticator fields by category --- sample-conf.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/sample-conf.yaml b/sample-conf.yaml index 704e919..7be5cd9 100644 --- a/sample-conf.yaml +++ b/sample-conf.yaml @@ -26,6 +26,17 @@ profile: 9999 # Settings for the lnd node used to generate payment requests. All of these # options are required. authenticator: + ## Common fields. + + # The chain network the lnd is active on. + network: "simnet" + + # Set to true to disable any auth. + disable: false + + + ## Direct LND connection fields. + # The host:port which lnd's RPC can be reached at. lndhost: "localhost:10009" @@ -35,9 +46,9 @@ authenticator: # The path to lnd's macaroon directory. macdir: "/path/to/lnd/data/chain/bitcoin/simnet" - # The chain network the lnd is active on. - network: "simnet" - + + ## LNC connection fields. + # The LNC connection passphrase. passphrase: "your pairing phrase" @@ -47,9 +58,7 @@ authenticator: # Set to true to skip verification of the mailbox server's tls cert. devserver: false - # Set to true to disable any auth. - disable: false - + # The selected database backend. The current default backend is "sqlite". # Aperture also has support for postgres and etcd. dbbackend: "sqlite" From 2145b4ada14db7169365eb5cc190ba25097afc23 Mon Sep 17 00:00:00 2001 From: Jordi Montes Date: Fri, 9 Feb 2024 18:57:33 -0800 Subject: [PATCH 3/3] config: add note about passphrase usage --- sample-conf.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sample-conf.yaml b/sample-conf.yaml index 7be5cd9..3d275c1 100644 --- a/sample-conf.yaml +++ b/sample-conf.yaml @@ -50,6 +50,9 @@ authenticator: ## LNC connection fields. # The LNC connection passphrase. + # NOTE: The passphrase generates a secret for authenticating the LNC + # connection. Once a passphrase has been utilized for a connection, it + # cannot be reused in a different server/database. passphrase: "your pairing phrase" # The host:port of the mailbox server to be used.