Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hsmd: increase the min version #7088

Merged

Conversation

vincenzopalazzo
Copy link
Contributor

Increasing the minimum version of the hsmd due to that we added new code that required the hsmd to sign an announcement.

One of the solutions is to increase the minimum version in this way a signer like VLS fails directly during the init phase.

Fixes: #7074

@vincenzopalazzo vincenzopalazzo force-pushed the macros/hsmd-minversion branch 2 times, most recently from d4ba80b to 209f2d1 Compare February 19, 2024 10:46
@ksedgwic
Copy link
Collaborator

hsmd/hsmd.c Outdated Show resolved Hide resolved
hsmd/libhsmd.c Outdated Show resolved Hide resolved
@vincenzopalazzo vincenzopalazzo force-pushed the macros/hsmd-minversion branch 2 times, most recently from c0de878 to a76cf2b Compare February 20, 2024 08:37
@vincenzopalazzo
Copy link
Contributor Author

@cdecker cdecker marked this pull request as draft February 20, 2024 16:58
@vincenzopalazzo vincenzopalazzo force-pushed the macros/hsmd-minversion branch 2 times, most recently from 0f2bd91 to 91b6443 Compare February 21, 2024 09:00
Copy link
Collaborator

@ksedgwic ksedgwic left a comment

Choose a reason for hiding this comment

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

Looks good otherwise

hsmd/libhsmd.c Outdated Show resolved Hide resolved
@cdecker
Copy link
Member

cdecker commented Feb 24, 2024

Looks like this has to make it into v24.02 to ensure VLS can recognize CLN correctly, and enable the right validations.

@vincenzopalazzo can you un-draft this so we can line it up for the release?

@cdecker cdecker added this to the v24.02 milestone Feb 24, 2024
Increasing the min version of the hsmd due that we
added new code that required the hsmd to sign an announcements.

One of the solution is to increase the min version in this way
a signer like VLS fails directly during the init phase.

Link: ElementsProject#7074
Changelog-None: hsmd: increase the min version
Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
@vincenzopalazzo vincenzopalazzo marked this pull request as ready for review February 24, 2024 18:57
@cdecker cdecker enabled auto-merge (rebase) February 27, 2024 12:29
@cdecker cdecker merged commit af41cd5 into ElementsProject:master Feb 27, 2024
36 checks passed
@vincenzopalazzo vincenzopalazzo deleted the macros/hsmd-minversion branch February 28, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hsmd: hsmd_sign_any_cannouncement and HSM_MIN_VERSION inconsistency
3 participants