Skip to content

WIP: Update fabric-lib-go and viper dependencies - #512

Draft
bestbeforetoday wants to merge 2 commits into
hyperledger:mainfrom
bestbeforetoday:viper-upgrade
Draft

WIP: Update fabric-lib-go and viper dependencies#512
bestbeforetoday wants to merge 2 commits into
hyperledger:mainfrom
bestbeforetoday:viper-upgrade

Conversation

@bestbeforetoday

@bestbeforetoday bestbeforetoday commented Jul 24, 2026

Copy link
Copy Markdown
Member

Changes were required to:

  • Avoid conflicting usage of github.com/go-viper/mapstructure/v2 and github.com/mitchellh/mapstructure.
  • Adopt Viper API changes.
  • Prevent fvt tests from creating invalid YAML with duplicate keys, which were tolerated by older YAML parser versions but now cause a failure.

- GHSA-hrxh-6v49-42gf
- CVE-2026-56852

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
Changes were required to:

- Avoid conflicting usage of github.com/go-viper/mapstructure/v2 and
  github.com/mitchellh/mapstructure.
- Adopt Viper API changes.
- Prevent fvt tests from creating invalid YAML with duplicate keys,
  which were tolerated by older YAML parser versions but now cause a
  failure.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday changed the title Update fabric-lib-go and viper dependencies WIP: Update fabric-lib-go and viper dependencies Jul 26, 2026
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.

1 participant