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

πŸ“Œ hw-ledger-key-ring-protocol - pin tiny-secp256k1 version to 1.1.7 #8653

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

cgrellard-ledger
Copy link
Contributor

@cgrellard-ledger cgrellard-ledger commented Dec 10, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

It may fix the following Sentry error : https://ledger.sentry.io/issues/6115989813/?alert_rule_id=15006706&alert_type=issue&notification_uuid=27e565f1-802b-4dc5-88a0-906844100a0f&project=6505213&referrer=slack

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@cgrellard-ledger cgrellard-ledger requested a review from a team as a code owner December 10, 2024 09:50
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
web-tools ❌ Failed (Inspect) Dec 11, 2024 11:03am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Dec 11, 2024 11:03am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 11, 2024 11:03am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 11, 2024 11:03am

@live-github-bot
Copy link
Contributor

live-github-bot bot commented Dec 10, 2024

Desktop Bundle Checks

Comparing 5ce0f3b against 23bb5d6.

⚠️ tiny-secp256k1 library is now duplicated in renderer (regression)

Mobile Bundle Checks

Comparing 5ce0f3b against 23bb5d6.

βœ… Previous issues have all been fixed.

Copy link
Contributor

@thesan thesan left a comment

Choose a reason for hiding this comment

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

@ledgerhq/hw-app-btc depend on [email protected] shouldn't we have the same version for both packages ?

@thesan
Copy link
Contributor

thesan commented Dec 11, 2024

I guess this is what causes:

⚠️ tiny-secp256k1 library is now duplicated in renderer (regression)

@cgrellard-ledger cgrellard-ledger force-pushed the bugfix/ecc-library-invalid branch from abd446a to fbff5e4 Compare December 11, 2024 10:53
@@ -24,7 +24,7 @@
"bip32": "^4.0.0",
"secp256k1": "^5.0.0",
"create-hmac": "^1.1.7",
"tiny-secp256k1": "1"
"tiny-secp256k1": "1.1.7"
Copy link
Contributor

@thesan thesan Dec 11, 2024

Choose a reason for hiding this comment

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

Still I think it would be best to also update the one in libs/ledgerjs/packages/hw-app-btc/package.json. First to avoid duplicating the lib but also I'm struggling building LLD with newer versions of electron builder because of this package (for the app ASAR integrity check) so I would prefer having only one to worry about!

@cgrellard-ledger cgrellard-ledger changed the title πŸ“Œ hw-ledger-key-ring-protocol - pin tiny-secp256k1 version to 1.1.6 πŸ“Œ hw-ledger-key-ring-protocol - pin tiny-secp256k1 version to 1.1.7 Dec 12, 2024
@cgrellard-ledger cgrellard-ledger merged commit fd2b160 into develop Dec 12, 2024
50 of 54 checks passed
@cgrellard-ledger cgrellard-ledger deleted the bugfix/ecc-library-invalid branch December 12, 2024 08:48
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.

3 participants