curl を更新
							
								
								
									
										54
									
								
								curl.md
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
										
											
											
										
										
									
								
							
						
						
									
										54
									
								
								curl.md
									
									
									
									
									
								
							@@ -388,57 +388,3 @@ fi
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## verify
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
bluecheckという認証機能について、selfhostで試す方法を探しています。
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
- [bsky.social](https://bsky.social/xrpc/com.atproto.repo.listRecords?repo=bsky.app&collection=app.bsky.graph.verification)
 | 
					 | 
				
			||||||
- [syu.is](https://syu.is/xrpc/com.atproto.repo.listRecords?repo=ai.syu.is&collection=app.bsky.graph.verification)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```sh
 | 
					 | 
				
			||||||
$ curl -sL "https://syu.is/xrpc/com.atproto.repo.listRecords?repo=ai.syu.is&collection=app.bsky.graph.verification"|jq ".records.[0]"
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```json
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
  "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"
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
- https://github.com/bluesky-social/atproto/pull/3761/files
 | 
					 | 
				
			||||||
- https://github.com/bluesky-social/social-app/pull/8226
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
推測
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
- https://github.com/bluesky-social/atproto/blob/main/packages/pds/src/auth-verifier.ts
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```sh
 | 
					 | 
				
			||||||
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で管理されるようです。
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```diff
 | 
					 | 
				
			||||||
# 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
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user