Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Nov 28, 2023
2 parents 7382300 + 5887be0 commit e5d129c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [v23.11rc3] - 2023-11-02: "Bitcoin Orangepaper"
## [23.11] - 2023-11-28: "Bitcoin Orangepaper"

This release named by Shahana Farooqui

Expand Down Expand Up @@ -81,6 +81,7 @@ Note: You should always set `allow-deprecated-apis=false` to test for changes.
- Rune: use runes table `id` instead `runes_uniqueid` from `vars` because it returns incorrect unique id if rune/s migrated from datastore. ([#6715])
- Added docs, testing, and some fixes related to splicing out, insufficent balance handling, and restarting during a splice. ([#6677])
- The WIRE_HSMD_SIGN_SPLICE_TX HSM capability is now correctly checked. ([#6867])
- Hsmtool: Fix segmentation fault when calling `getcodexsecret` without id. ([#6895])


### EXPERIMENTAL
Expand Down Expand Up @@ -125,6 +126,7 @@ Note: You should always set `allow-deprecated-apis=false` to test for changes.
[#6876]: https://github.com/ElementsProject/lightning/pull/6876
[#6840]: https://github.com/ElementsProject/lightning/pull/6840
[#6884]: https://github.com/ElementsProject/lightning/pull/6884
[#6895]: https://github.com/ElementsProject/lightning/pull/6895


## [23.08.1] - 2023-09-12: "Satoshi's Successor II"
Expand Down Expand Up @@ -2757,6 +2759,7 @@ There predate the BOLT specifications, and are only of vague historic interest:
6. [0.5.1] - 2016-10-21
7. [0.5.2] - 2016-11-21: "Bitcoin Savings & Trust Daily Interest II"

[23.11]: https://github.com/ElementsProject/lightning/releases/tag/v23.11
[23.05]: https://github.com/ElementsProject/lightning/releases/tag/v23.05
[23.02.1]: https://github.com/ElementsProject/lightning/releases/tag/v23.02.1
[23.02]: https://github.com/ElementsProject/lightning/releases/tag/v23.02
Expand Down
5 changes: 4 additions & 1 deletion doc/lightning-hsmtool.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ This produces the same results as lightning-commando-rune(7) on a fresh node.
You will still need to create a rune once the node starts, if you want commando to work (as it is only activated once it has generated one).

**getcodexsecret** *hsm\_secret\_path* *id*
Print out the BIP-93 formatted HSM secret, for use with `--recover`. The `id` is any 4 character string you can use to identify this secret (e.g. `adi0`): it cannot contain `i`, `o`, or `b`, but can contain digits except `1`.
Print out the BIP-93 formatted HSM secret, for use with `--recover`. The `id` is any 4 character string you can use to identify this secret (e.g. `ad00`): it cannot contain `i`, `o`, or `b`, but can contain digits except `1`.

**getemergencyrecover** *emergency.recover\_path*
Print out the bech32 encoded emergency.recover file.

BUGS
----
Expand Down
4 changes: 2 additions & 2 deletions tools/hsmtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void show_usage(const char *progname)
printf(" - dumponchaindescriptors <path/to/hsm_secret> [network]\n");
printf(" - makerune <path/to/hsm_secret>\n");
printf(" - getcodexsecret <path/to/hsm_secret> <id>\n");
printf(" - getemergencyrecover <path/to/emergency.recover>\n");
printf(" - getemergencyrecover <path/to/emergency.recover>\n");
exit(0);
}

Expand Down Expand Up @@ -788,7 +788,7 @@ int main(int argc, char *argv[])
}

if(streq(method, "getcodexsecret")) {
if (argc < 2)
if (argc < 4)
show_usage(argv[0]);
return make_codexsecret(argv[2], argv[3]);
}
Expand Down

0 comments on commit e5d129c

Please sign in to comment.