arcanicanis on Nostr: I guess I successfully created a did:plc and have it published to (sorta) Bluesky's ...
I guess I successfully created a did:plc and have it published to (sorta) Bluesky's backend did:plc registry:
https://plc.directory/did:plc:b3iyjhbvpeiygj35orqatuqb/logInstead of endorsing any sort of a ATProto PDS or anything, I instead have it pointing to my ActivityPub (and other) identifiers in varying forms.
I'm probably the only [non-employee] user (or at least: one of very few) on Bluesky's infrastructure that has full custody and control over their own private keys for their did:plc identity, and yet I don't even have a Bluesky account. Unless I'm just uninformed of something buried somewhere allowing you to export at least one of your rotationKeys (not the signingKey, which is just for signing posts, etc). Because without that, you don't really control your identity at all, only Bluesky exclusively does.
Meanwhile, in this endeavor, I "only" had to:
Write a DAG-CBOR and CIDv1 encoder
Write a Multibase and Multikey encoder and decoder
Write a base58btc encoder/decoder
Write a base32 encoder
Write functions to compress and decompress a secp256k1 public key (involves crypto maths, for decompression)
Write some very adhoc ASN.1 DER encoding/decoding functions (just to encode a raw secp256k1 public key into PEM encoding, to feed to OpenSSL; and then extract the r and s values from the outputted signature from OpenSSL)
Write a function to generate a did:plc identifier, from the genesis operation
Write a lot of test code
With how scarcely some topics are documented, and how scattered many tidbits of info is: I swear some of this is almost intentionally a trap to sell consultancy.
Published at
2024-03-23 08:12:34Event JSON
{
"id": "23caec1d3813f3a237bc0058be03f0e12e676d7320049a71cf4fdffc4c3e4f63",
"pubkey": "0ed7afc8b04a4ef5d52c14fd46c65e452d62ca50a47d6cf5287ed2825a6d26f7",
"created_at": 1711181554,
"kind": 1,
"tags": [
[
"proxy",
"https://were.social/objects/14436e95-6740-4fd8-811f-7453ba81ad5a",
"activitypub"
]
],
"content": "I guess I successfully created a did:plc and have it published to (sorta) Bluesky's backend did:plc registry: https://plc.directory/did:plc:b3iyjhbvpeiygj35orqatuqb/log\n\nInstead of endorsing any sort of a ATProto PDS or anything, I instead have it pointing to my ActivityPub (and other) identifiers in varying forms.\n\nI'm probably the only [non-employee] user (or at least: one of very few) on Bluesky's infrastructure that has full custody and control over their own private keys for their did:plc identity, and yet I don't even have a Bluesky account. Unless I'm just uninformed of something buried somewhere allowing you to export at least one of your rotationKeys (not the signingKey, which is just for signing posts, etc). Because without that, you don't really control your identity at all, only Bluesky exclusively does.\n\nMeanwhile, in this endeavor, I \"only\" had to:\n\nWrite a DAG-CBOR and CIDv1 encoder\nWrite a Multibase and Multikey encoder and decoder\nWrite a base58btc encoder/decoder\nWrite a base32 encoder\nWrite functions to compress and decompress a secp256k1 public key (involves crypto maths, for decompression)\nWrite some very adhoc ASN.1 DER encoding/decoding functions (just to encode a raw secp256k1 public key into PEM encoding, to feed to OpenSSL; and then extract the r and s values from the outputted signature from OpenSSL)\nWrite a function to generate a did:plc identifier, from the genesis operation\nWrite a lot of test code\n\nWith how scarcely some topics are documented, and how scattered many tidbits of info is: I swear some of this is almost intentionally a trap to sell consultancy.",
"sig": "698780e78d42075c85c10f6e5b8d228321d4f8c436e905bc76b11f03246680502ee8f2111c0a9a68341bbb49dab285d5aa4fba2c709c8df4d67ff814c6e667e8"
}