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

Public key prefix #35

Open
kimdhamilton opened this issue Jul 20, 2017 · 1 comment
Open

Public key prefix #35

kimdhamilton opened this issue Jul 20, 2017 · 1 comment

Comments

@kimdhamilton
Copy link
Contributor

Per this discussion, the "ecdsa-koblitz-pubkey:" prefix, originally used with Bitcoin addresses in the json-ld signature suite (Koblitz), is misleading because the address is in fact a hash.

In the LD signature suite, the "ecdsa-koblitz-pubkey:" prefix will likely be used to mean the actual public key (before hashing).

I propose deferring introducing to Blockcerts any changes related to this. That's because:

  • if using a Bitcoin address, it's not yet decided what the new address prefix should be
  • if using a public key, derivation of this requires non-trivial updates to the Blockcerts wallets providing this key
  • It's not yet clear whether there is a strong advantage to using the public key (for Blockcerts scenarios)

I prefer waiting to get more information so we can make the right decision, and avoid introducing more complexity. We can address any updates in post-v2 Blockcerts versions; i.e. Blockcerts parsers will always interpret v2 as Bitcoin addresses.

Some options have included:

  • ecdsa-koblitz-pubkey-hash-base58check: : long, but exact

  • bitcoin:: more reader-friendly, but less precise. And introduces a pivot from key description to cryptocurrency description. Note other cryptocurrencies support this encoding...

  • W3C Credentials CG thread

  • SLIP standards

@fabcom-aaron
Copy link

Curious if the v2 Blockcerts schema is still OpenBadges compliant because I am running into issues in validation of all 4 blockcerts extensions as well as validating the publicKey value that is in the issuer profile. All yeilding errors from the openbadges validator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants