[java-idp-plugin-vci] 06/06: status list request and response refer to the specification now. Response compression section with Jetty compression using gzip as example

Codeberg noreply at shibboleth.net
Thu Nov 12 14:29:41 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-idp-plugin-vci.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-vci/commit/bc0bd4e6054a2e67ea34203f96850044fbcd914d

commit bc0bd4e6054a2e67ea34203f96850044fbcd914d
Author: Janne Lauros <janne.lauros at csc.fi>
AuthorDate: Thu Nov 12 16:29:06 2026 +0200

    status list request and response refer to the specification now.  Response compression section with Jetty compression using gzip as example
---
 README.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 59 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 5f9c8ff..8b2b4d0 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@
   - [Attribute resolution in token endpoint](#attribute-resolution-in-token-endpoint)
 - [Reference](#reference)
   - [Profile configuration settings](#profile-configuration-settings)
+  - [Response compression](#response-compression)
   - [Credential Configuration settings](#credential-configuration-settings)
   - [Credential Issuer identifiers](#credential-issuer-identifiers)
   - [Signing keys](#signing-keys)
@@ -1498,8 +1499,8 @@ Its claims, `lst` being the compressed list itself:
 </details>
 
 Each list remains available until the end of its month. A request for a month that has ended returns
-`410 retired_status_list`; a request for a value that is not a month returns
-`404 unknown_status_list`.
+`410 retired_status_list`. A request returns `404 unknown_status_list` when the value is not parsable
+or if parsed but still not identified as anything this deployment has released.
 
 ### Step 2: Add a did:web credential
 
@@ -3860,7 +3861,7 @@ List Tokens of the credentials it signed.
 
 If the old key is removed earlier, did:web and OpenID Federation credentials signed with it can
 no longer be verified, and the Status List Tokens of did:jwk credentials signed with it are no
-longer served.
+longer served, the endpoint answers `404 unknown_status_list`.
 
 #### Status List Tokens
 
@@ -4789,13 +4790,19 @@ Endpoint `/idp/profile/oauth/status-list/list`, profile ID `http://geant.org/ns/
 
 | Name | Type | Default | Description |
 |---|---|---|---|
-| `statusListSignatureSigningConfiguration` | SignatureSigningConfiguration | **openidvci.status-list.SigningConfiguration** | Signing of Status List Tokens. The list of a did:jwk credential is signed with the key its `id` names, any key of this configuration. |
+| `statusListSignatureSigningConfiguration` | SignatureSigningConfiguration | **openidvci.status-list.SigningConfiguration** | Signing of Status List Tokens. The list of a did:jwk credential is signed with the key given in its `id`, any key of this configuration. |
+| `inboundInterceptorFlows` | List<String> | | Interceptor flows run before the Status List Token is formed. |
 | `outboundInterceptorFlows` | List<String> | | Interceptor flows run before the response is sent, also for an error response. |
 
-Request, a `GET` with `id`, the month and the issuer tag as in the `uri` of a credential. Response
-is `application/statuslist+jwt`, or `application/statuslist+cwt` when the `Accept` header asks for
-the CWT and not the JWT. A month that has ended is `410 retired_status_list`, a value
-that is not a month `404 unknown_status_list`.
+The request is as in
+[Status List Request](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21#section-8.1)
+of the specification.
+
+The response is as in
+[Status List Response](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21#section-8.2)
+of the specification.
+
+The plugin does not compress the response, see [Response compression](#response-compression).
 
 #### OAuth.StatusList.Assignments
 
@@ -4872,6 +4879,49 @@ Error responses:
 
 The `scope` of the client does not limit the slots it may revoke.
 
+### Response compression
+
+The plugin does not compress responses. That is left to the container or to the proxy in front
+of it.
+
+Compress the Status List Token endpoint, `/idp/profile/oauth/status-list/list`. The
+[Token Status List](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21)
+specification mentions `Content-Encoding` for its response, see
+[Status List Response](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21#section-8.2).
+
+On Jetty 12 enable
+[Module compression-gzip](https://jetty.org/docs/jetty/12.1/operations-guide/modules/standard.html#compression-gzip)
+in a file of *start.d* in the Jetty base:
+
+```
+--module=compression-gzip
+```
+
+Put a copy of *etc/jetty-compression.xml* in the Jetty base, with a configuration for the path.
+
+```xml
+<?xml version="1.0"?>
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd">
+
+<Configure id="Server" class="org.eclipse.jetty.server.Server">
+  <Call class="org.eclipse.jetty.compression.server.CompressionConfig" name="builder">
+    <Call name="compressIncludeMethod"><Arg>GET</Arg></Call>
+    <Call name="decompressExcludePath"><Arg>/*</Arg></Call>
+    <Call id="StatusListCompression" name="build"/>
+  </Call>
+  <Call name="insertHandler">
+    <Arg>
+      <New id="CompressionHandler" class="org.eclipse.jetty.compression.server.CompressionHandler">
+        <Call name="putConfiguration">
+          <Arg type="String">/idp/profile/oauth/status-list/list</Arg>
+          <Arg><Ref refid="StatusListCompression"/></Arg>
+        </Call>
+      </New>
+    </Arg>
+  </Call>
+</Configure>
+```
+
 ### Credential Configuration settings
 
 **File(s):** *metadata/verifiable-credentials.json*
@@ -5044,7 +5094,7 @@ The file comes with the plugin and is loaded automatically.
 |---|---|---|---|
 | `openidvci.status-list.index.permutationKey` | String | `change_this_to_secret` | Key of the slot permutation. **Must be changed** before issuing, and not changed after. Move it to *credentials/secrets.properties*. |
 | `openidvci.status-list.includeByDefault` | Boolean | `true` | Whether a credential stating no `status_list` takes a slot. |
-| `openidvci.status-list.token.defaultLifetime` | Duration | `PT1H` | Lifetime of Status List Tokens, how long a verifier may cache. |
+| `openidvci.status-list.token.defaultLifetime` | Duration | `PT1H` | How long a verifier may cache a Status List Token. The `ttl` claim and the `max-age` of `Cache-Control`. |
 | `openidvci.status-list.assignment.retention` | Duration | `P7D` | How long an assignment record is kept after it was written. |
 | `openidvci.status-list.StorageService` | Bean ID | **shibboleth.StorageService** | Storage of the lists. Server side storage. |
 | `openidvci.status-list.assignment.StorageService` | Bean ID | **shibboleth.StorageService** | Storage of assignment records. |

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list