ai/at
1
0
Clone
3
bluecheck
syui edited this page 2025-06-20 03:20:12 +00:00

ozoneのbluecheckについてまとめる。

https://bsky.social/about/blog/04-21-2025-verification

$ curl -sL "https://bsky.social/xrpc/com.atproto.repo.listRecords?repo=nytimes.com&collection=app.bsky.graph.verification"|jq .

selfhostのbluecheck

bluecheckという認証機能について、selfhostで試す方法を探しています。

$ curl -sL "https://syu.is/xrpc/com.atproto.repo.listRecords?repo=ai.syu.is&collection=app.bsky.graph.verification"|jq ".records.[0]"
{
  "uri": "at://did:plc:6qyecktefllvenje24fcxnie/app.bsky.graph.verification/3lnf7cgsi7s2b",
  "cid": "bafyreihiy25idswtqnn3x24metot3k62wyfir5bjalddzr3lmyqtzknjpy",
  "value": {
    "$type": "app.bsky.graph.verification",
    "handle": "syui.syu.is",
    "subject": "did:plc:vzsvtbtbnwn22xjqhcu3vd6y",
    "createdAt": "2025-04-21T00:00:00.323Z",
    "displayName": "syui"
  }
}

推測

host=syu.is
admin_password=xxx
url=https://${host}/xrpc/com.atproto.admin.updateSubjectStatus
json="{\"action\": \"com.atproto.admin.defs#authVerifier\", \"subject\": {\"$type\": \"com.atproto.admin.defs#repoRef\", \"did\": \"did:plc:example\"}}"
curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url

indigo-goatを使ってラベルを管理する方法です。

https://github.com/bluesky-social/atproto/discussions/3607

ozoneで管理されるようです。

# https://github.com/bluesky-social/atproto/blob/246562694fbc84dfcdace19c863f8fb2fe074739/packages/ozone/src/config/env.ts#L40-L44
OZONE_VERIFIER_URL
OZONE_VERIFIER_DID
OZONE_VERIFIER_PASSWORD
OZONE_VERIFIER_ISSUERS_TO_INDEX
OZONE_VERIFIER_JETSTREAM_URL