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

Section 12.1.2 has a typo in the "kid" field #461

Open
stormer78 opened this issue Jan 23, 2025 · 0 comments
Open

Section 12.1.2 has a typo in the "kid" field #461

stormer78 opened this issue Jan 23, 2025 · 0 comments

Comments

@stormer78
Copy link

stormer78 commented Jan 23, 2025

For Bob's Secrets, for each key the "kid" field name contains a trailing whitespace character which causes parsing issues.

"kid " should be "kid"

Example:

{
    "kid ":"did:example:bob#key-x25519-1",
    "kty":"OKP",
    "d":"b9NnuOCB0hm7YGNvaE9DMhwH_wjZA1-gWD6dA0JWdL0",
    "crv":"X25519",
    "x":"GDTrI66K0pFfO54tlCSvfjjNapIs44dzpneBgyx0S3E"
  },

Should become:

{
    "kid":"did:example:bob#key-x25519-1",
    "kty":"OKP",
    "d":"b9NnuOCB0hm7YGNvaE9DMhwH_wjZA1-gWD6dA0JWdL0",
    "crv":"X25519",
    "x":"GDTrI66K0pFfO54tlCSvfjjNapIs44dzpneBgyx0S3E"
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant