-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
EnhancementImproves existing features or performance, making the SDK more robust and efficient.Improves existing features or performance, making the SDK more robust and efficient.P3 - LowNon-essential improvements or minor fixes. Can be scheduled flexibly as time permits.Non-essential improvements or minor fixes. Can be scheduled flexibly as time permits.
Description
-
I'm submitting a bug
- Bug report
-
What is the current behavior and expected behavior?
Vrf signature should be checked agains remote public key (passed as signerPublic parameter). But if the pair type is sr25519 then the current pair publicKey is possibly misused for validation.
common/packages/keyring/src/pair/index.ts
Line 211 in 6971012
| if (type === 'sr25519') { |
-
Please tell us about your environment:
-
Version: 12.6.2
-
Environment:
- Node.js
- Browser
- Other (limited support for other environments)
-
Language:
- JavaScript
- TypeScript (include tsc --version)
-
Metadata
Metadata
Assignees
Labels
EnhancementImproves existing features or performance, making the SDK more robust and efficient.Improves existing features or performance, making the SDK more robust and efficient.P3 - LowNon-essential improvements or minor fixes. Can be scheduled flexibly as time permits.Non-essential improvements or minor fixes. Can be scheduled flexibly as time permits.
Type
Projects
Status
P3 - Low