Skip to content

Instantly share code, notes, and snippets.

@OR13
Created September 16, 2019 15:50
Show Gist options
  • Save OR13/8af67a0055a4b093bf7ecd9e7f3d92dc to your computer and use it in GitHub Desktop.
Save OR13/8af67a0055a4b093bf7ecd9e7f3d92dc to your computer and use it in GitHub Desktop.
BTRC DID with undocumented public key types
{
"@context": [
"https://schema.org/",
"https://w3id.org/security/v1",
"https://w3id.org/did/v1"
],
"id": "did:btcr:xxcl-lzpq-q83a-0d5",
"authentication": [
{
"type": "EcdsaSecp256k1SignatureAuthentication2019",
"publicKey": [
"#satoshi"
]
},
{
"type": "EcdsaSecp256k1SignatureAuthentication2019",
"publicKey": [
"did:btcr:xxcl-lzpq-q83a-0d5#key-0"
]
}
],
"publicKey": [
{
"id": "did:btcr:xxcl-lzpq-q83a-0d5#key-0",
"type": "EcdsaSecp256k1VerificationKey2019",
"publicKeyHex": "03195588392023a8a3af506660439d555971f0447b63616aa3c8272761310cf960"
},
{
"id": "did:btcr:xxcl-lzpq-q83a-0d5#key-1",
"type": "EcdsaSecp256k1VerificationKey2019",
"publicKeyHex": "03195588392023a8a3af506660439d555971f0447b63616aa3c8272761310cf960"
},
{
"id": "did:btcr:xxcl-lzpq-q83a-0d5#satoshi",
"type": "EcdsaSecp256k1VerificationKey2019",
"publicKeyHex": "03195588392023a8a3af506660439d555971f0447b63616aa3c8272761310cf960"
},
{
"id": "did:btcr:xxcl-lzpq-q83a-0d5#key-JUvpllMEYUZ2joO59UNui_XYDqxVqiFLLAJ8klWuPBw",
"type": "EcdsaSecp256k1VerificationKey2019",
"publicKeyJwk": {
"crv": "secp256k1",
"kid": "JUvpllMEYUZ2joO59UNui_XYDqxVqiFLLAJ8klWuPBw",
"kty": "EC",
"x": "dWCvM4fTdeM0KmloF57zxtBPXTOythHPMm1HCLrdd3A",
"y": "36uMVGM7hnw-N6GnjFcihWE3SkrhMLzzLCdPMXPEXlA"
}
},
{
"id": "did:btcr:xxcl-lzpq-q83a-0d5#yubikey",
"type": "OpenPgp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9oqcoQgOPxPlf\nc4sSEJZS20y5AQ0EXU3ZeQEIAKQV2xznTXSMPyJxNNY5BJXJYseMPwNhb6Vg9ZKi\njUaOhgVtG7FzIEH9/hdBvay6/We6+VXiZKQOBysZ2JMplNIxRbcccLGYLGXZAmO8\nnBq/67ebS/HyW1w9QlmW0TBj+K5R7RSApompmaUHoW0MTBoQN0EUqWg+Af86GnUw\nu2IbfRHJfMsFd5LZ+HpWwVtgnQCliwSctn5KKx0doxHmxtvJzBw9K/0TqsThvkpm\nxcppVvJULAqc1mH+B4bk7Yv7Rnic74d4FW0HxBSMnuIVPSoVZTWxiFQh54z034A1\nK96nqa4R/vvvpq7K/ztNRCbDarpaugbk0E6wdYhMYMjpEysAEQEAAYkBNgQYAQoA\nIBYhBPG9EvcSBvqh8jaZfWAELYdsMmFmBQJdTdl5AhsMAAoJEGAELYdsMmFmZoIH\n/2vV0j+i2abVf52EjleGQUh1ii2jWTho+g4qY22wZy7vwcwgLG/JQ859R4X/XWMk\n3c8/jyA0hgmJIosoMC++2m7DTPEw561ANrndTpRnzexin54lgzkHG6Kr+WmsNH6m\nXiS9ddXPaiUq+fkmjUW+VvAZ0G00M7S66u65dPD9m38ZPfFO9TKavQ9yXe/bHHNM\nqIyM2ecMX83Hhqd9wiUdb31JvABjwrZU0CSazK0LmtHP1DJPl0SM/4draIGkh/nu\nlNbUCb9DRuOpOcFTzfDBNwI00ZWIMlb/cz6LSvdk8t/PZZ19QrOXPyQi9YpTJDka\nrnFu2qXfCsLkrR23CVvbYS8=\n=q3UE\n-----END PGP PUBLIC KEY BLOCK-----"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment