w3c / w3c/webcrypto

Import and Export X9.63 Compressed and Uncompressed ECC Keys

Open
#152 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

needs implementor interest proposal
Dominant language
HTML
Stars
294
Forks
78
PR merge metrics
No merged PRs in 30d

Description

There is currently no way of importing and exporting X9.63 encoded ECC keys.

This format is specified in §4.1 of the ANSI X9.62 and §4.2 ANSI X9.63 specifications (the specifications are identical).

You can find implementations of import and export routines in BitCoin's libsecp256k1 library as well as BouncyCastle's ECCurve methods.

Old version of BitCoin include public keys in this format and it is widely used in digital currency.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the X9.62 §4.1 and X9.63 §4.2 specifications, then compare the referenced libsecp256k1 and BouncyCastle implementations. Determine the WebCrypto API surface affected and define completion as importing and exporting both compressed and uncompressed X9.63 ECC keys, with coverage for each encoding.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.