drand / drand/drand-client

Remove backwards compat default DST for v2

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
v2
Dominant language
TypeScript
Stars
64
Forks
23
PR merge metrics
No merged PRs in 30d

Description

In order to not break v1 users of the client, we pass the DST for beacon verification as an optional parameter and set some defaults.
This can be removed in v2 to ensure users don't accidentally try and verify a beacon with the wrong DST

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the beacon verification API and its optional DST parameter and defaults, then compare the intended v2 behavior with the current compatibility path. Done means v2 no longer silently supplies the backwards-compatible DST, so callers cannot accidentally verify a beacon with the wrong domain-separation tag.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cryptography
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.