Skip to content
Snippets Groups Projects
Commit bfc5a066 authored by Fabian Sudau's avatar Fabian Sudau
Browse files

fix: Specify "encryptionKid" to be between 8 and 64 chars everywhere (planning#1904)

parent 1826a831
No related branches found
No related tags found
1 merge request!194fix: Specify "encryptionKid" to be between 8 and 64 chars everywhere (planning#1904)
...@@ -19,6 +19,11 @@ Don’t forget to tag @ https://git.fitko.de/fit-connect/submission-api/-/tags ...@@ -19,6 +19,11 @@ Don’t forget to tag @ https://git.fitko.de/fit-connect/submission-api/-/tags
## [Unreleased] ## [Unreleased]
### Changed
* Die `keyId` von `GET /v1/destinations/{destinationId}/keys/{keyId}` hat nun eine Länge von 8-64 Zeichen (zuvor 8-36).
* Das Feld `encryptionKid` einer Destination hat nun eine Minimallänge von 8 Zeichen.
## [1.4.0] ## [1.4.0]
### Changed ### Changed
......
...@@ -4,5 +4,5 @@ required: true ...@@ -4,5 +4,5 @@ required: true
schema: schema:
type: string type: string
minLength: 8 minLength: 8
maxLength: 36 maxLength: 64
description: Die Id eines JWK description: Die Id eines JWK
...@@ -23,6 +23,7 @@ properties: ...@@ -23,6 +23,7 @@ properties:
$ref: './create-callback.yaml' $ref: './create-callback.yaml'
encryptionKid: encryptionKid:
type: string type: string
minLength: 8
maxLength: 64 maxLength: 64
description: > description: >
Identifikator des Schlüssels der Destination. Identifikator des Schlüssels der Destination.
......
...@@ -16,6 +16,7 @@ properties: ...@@ -16,6 +16,7 @@ properties:
description: Identifikator des Zustellpunktes im Format einer UUID description: Identifikator des Zustellpunktes im Format einer UUID
encryptionKid: encryptionKid:
type: string type: string
minLength: 8
maxLength: 64 maxLength: 64
description: > description: >
Key-ID des Verschlüsselungsschlüssels der Destination. Key-ID des Verschlüsselungsschlüssels der Destination.
......
...@@ -25,6 +25,7 @@ properties: ...@@ -25,6 +25,7 @@ properties:
$ref: './create-callback.yaml' $ref: './create-callback.yaml'
encryptionKid: encryptionKid:
type: string type: string
minLength: 8
maxLength: 64 maxLength: 64
description: 'Schlüssel-Id des Verschlüsselungsschlüssels des Zustellpunktes.' description: 'Schlüssel-Id des Verschlüsselungsschlüssels des Zustellpunktes.'
replyChannels: replyChannels:
......
...@@ -32,6 +32,7 @@ properties: ...@@ -32,6 +32,7 @@ properties:
$ref: './create-callback.yaml' $ref: './create-callback.yaml'
encryptionKid: encryptionKid:
type: string type: string
minLength: 8
maxLength: 64 maxLength: 64
description: 'Schlüssel-Id des Verschlüsselungsschlüssels des Zustellpunktes.' description: 'Schlüssel-Id des Verschlüsselungsschlüssels des Zustellpunktes.'
replyChannels: replyChannels:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment