gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit 3cb2fe8a9915c33d7db9e4a20459683a432a364c
parent 0219ffa684bc138af4cac808a06f26eb09bcc1b6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 24 Nov 2026 17:08:52 +0100

beekeeper: specific codes for streamed challenges and app attestation

Uploading a challenge recording while it is made, and attesting the app's
key, reused BEEKEEPER_CHALLENGE_EXPIRED and generic codes for errors that a
client may want to tell apart.

Assisted by LLM

Diffstat:
Mbeekeeper-error-codes/registry.rec | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+), 0 deletions(-)

diff --git a/beekeeper-error-codes/registry.rec b/beekeeper-error-codes/registry.rec @@ -208,6 +208,56 @@ Name: BEEKEEPER_CHIP_KEY_UNSUPPORTED Description: The server cannot take part in Chip Authentication with this chip's key: its protocol, curve or encoding is not supported. HttpStatus: 400 +Value: 100511 +Name: BEEKEEPER_CHALLENGE_UNKNOWN +Description: There is no such video challenge for this question of the assignment. +HttpStatus: 404 + +Value: 100512 +Name: BEEKEEPER_CHALLENGE_NOT_STREAMED +Description: The video challenge was not issued for streaming, so its actions are not revealed one at a time and its recording is not uploaded while it is made. +HttpStatus: 409 + +Value: 100513 +Name: BEEKEEPER_CHALLENGE_STREAM_BUSY +Description: The recording of this streamed challenge is being uploaded already. A streamed challenge has one recording: ask for a new challenge. +HttpStatus: 409 + +Value: 100514 +Name: BEEKEEPER_CHALLENGE_ACTION_UNKNOWN +Description: The video challenge has no action with this index. +HttpStatus: 404 + +Value: 100515 +Name: BEEKEEPER_CHALLENGE_ACTION_ORDER +Description: The actions of a streamed challenge are revealed in order, and the one asked for follows an action that was not revealed yet. +HttpStatus: 409 + +Value: 100516 +Name: BEEKEEPER_CHALLENGE_CUE_END_INVALID +Description: The media time at which the previous action of a streamed challenge ended (cue_end_ms) is missing, negative, or before the end of an action revealed earlier. +HttpStatus: 400 + +Value: 100517 +Name: BEEKEEPER_CHALLENGE_ACTIONS_UNREVEALED +Description: The recording of a streamed challenge was saved before all of the challenge's actions were revealed to it. +HttpStatus: 409 + +Value: 100518 +Name: BEEKEEPER_UPLOAD_DEFER_LENGTH_REFUSED +Description: Only the video recording of a streamed challenge, named by challenge_id in Upload-Metadata, may defer the length of its upload (Upload-Defer-Length). +HttpStatus: 400 + +Value: 100519 +Name: BEEKEEPER_UPLOAD_LENGTH_MISMATCH +Description: The Upload-Length of the request contradicts the upload: its length was fixed when it was created, or is less than the length received so far. Unlike an offset mismatch, sending again does not help. +HttpStatus: 400 + +Value: 100520 +Name: BEEKEEPER_UPLOAD_NOT_STREAMED +Description: The upload is not the recording of a streamed challenge, so it takes no Beekeeper-Media-Time. +HttpStatus: 400 + Value: 100600 Name: BEEKEEPER_OAUTH_CLIENT_UNKNOWN Description: The OAuth2 client is unknown or disabled, or its secret is wrong. @@ -264,3 +314,25 @@ Value: 100802 Name: BEEKEEPER_RESEARCH_MODE_OFF Description: Research mode (RESEARCH_MODE) is off, so no research profile can be analysed again or downloaded. HttpStatus: 409 + +# 100900 - 100999: app attestation + +Value: 100900 +Name: BEEKEEPER_ATTESTATION_UNKNOWN +Description: There is no such attestation for this assignment. +HttpStatus: 404 + +Value: 100901 +Name: BEEKEEPER_ATTESTATION_EXPIRED +Description: The nonce of the attestation has expired before its evidence arrived. Ask for a new nonce. +HttpStatus: 409 + +Value: 100902 +Name: BEEKEEPER_ATTESTATION_ALREADY_SENT +Description: The evidence of this attestation was sent already: a nonce attests one key, once. +HttpStatus: 409 + +Value: 100903 +Name: BEEKEEPER_ATTESTATION_EVIDENCE_MALFORMED +Description: The evidence of the attestation is malformed: the certificate chain is empty or too long, or a certificate, key id or attestation object is not base64, empty or too large. +HttpStatus: 400