Check certfp in API /v1/check_auth
This commit is contained in:
Shivaram Lingamneni
2026-03-11 22:41:49 -07:00
committed by GitHub
parent c61859927f
commit 4e65b76c67
3 changed files with 55 additions and 29 deletions
+3
View File
@@ -46,6 +46,9 @@ This endpoint verifies the credentials of a NickServ account; this allows Ergo t
* `accountName`: string, name of the account
* `passphrase`: string, alleged passphrase of the account
* `certfp`: string, alleged certificate fingerprint (hex-encoded SHA-256 checksum of the decoded raw certificate) associated with the account
Each individual field is optional, since a user may be authenticated either by account-passphrase pair or by certificate.
The response is a JSON object with fields: