Inspect Gemini trust store
gemini_trust_listList pinned Gemini server certificates to verify a host's trust-on-first-use fingerprint, check expiry, and diagnose certificate changes.
Instructions
List the Gemini server certificates this server has pinned.
Gemini has no certificate authorities. The first certificate seen for a host is pinned (trust on first use) and every later connection must present that same certificate, so this store is the only thing that authenticates a Gemini server. This tool reads it and never changes it.
This is the server half: the certificate a capsule presents to US. Our own
identity -- the client certificate this server presents to a capsule -- is
a separate store, read with gemini_client_cert_list and changed with
gemini_client_cert_update. The two are unrelated, and nothing here is a
private key of the user's.
Use it to explain a CERTIFICATE_CHANGED failure: it reports the fingerprint
currently pinned, when it was first seen and when the certificate expires,
which is what makes a routine reissue plausible or implausible. It is also
the source of the fingerprint gemini_trust_update requires before it will
drop a pin.
Returns: The pinned entries matching the request, each with its host, port, SHA-256 fingerprint, first/last seen timestamps and expiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname to report on, e.g. geminiprotocol.net . Omit to list every pinned host -- which is in effect the list of capsules this user has visited, so name the host you are actually asking about unless the user wants the whole store. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||