Metadata signing spec is wrong #16
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spec#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tiger5226 commented on Wed Jun 12 2019
I implemented this outside of the SDK in Chainquery. There were a number of things wrong or missing.
The most important thing missing is the fact that the outpoint hash is used in the claim signing process and is needed to validate the signature too.
specifics include:
How to get outpoint hash
signature creation
signature validation
the outpoint hash needs to be inserted in the same place to validate the signature.
signature format
public key format
1
,2
,840
,10045
,2
,1
1
,3
,132
,0
,10
@tiger5226 im fixing this now. rather than go into detail about the signature and pubkey format, i'd rather link to some code that shows how it works. do you have it all in one place somewhere in lbryschema.go or chainquery that i can link to to show the whole process?
@tiger5226 i made some changes in #19