Skip to content
Snippets Groups Projects
Verified Commit 3542d017 authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

fix: JWEs have a minimum length of 776 with 4096 bit RSA key

see README.md for details
parent 42348385
No related branches found
No related tags found
1 merge request!166Rückkanal Teil 1 - Preparations (planning#460)
title: Anlage
description: Verschlüsselte Anlage im Format JSON Web Encryption Compact Serialization (RFC7516).
type: string
pattern: '^[a-zA-Z0-9-_=.]+$'
pattern: '^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*\.[A-Za-z0-9_-]+$'
minLength: 776
......@@ -15,11 +15,13 @@ allOf:
title: JWE verschlüsselte Nachricht
description: Verschlüsselte Metadaten im Format JSON Web Encryption Compact Serialization (RFC7516).
type: string
pattern: '^[a-zA-Z0-9-_=.]+$'
pattern: '^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*\.[A-Za-z0-9_-]+$'
minLength: 776
- type: object
properties:
encryptedData:
title: JWE Encrypted Message
description: Verschlüsselte Fachdaten im Format JSON Web Encryption Compact Serialization (RFC7516).
type: string
pattern: '^[a-zA-Z0-9-_=.]+$'
pattern: '^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*\.[A-Za-z0-9_-]+$'
minLength: 776
......@@ -9,10 +9,12 @@ properties:
Verschlüsselte Metadaten im Format JSON Web Encryption Compact Serialization (RFC7516).
Ist mit dem JWK der Destination zu verschlüsseln.
type: string
pattern: '^[a-zA-Z0-9-_=.]+$'
pattern: '^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*\.[A-Za-z0-9_-]+$'
minLength: 776
encryptedData:
description: >
Verschlüsselte Fachdaten im Format JSON Web Encryption Compact Serialization (RFC7516).
Ist mit dem JWK der Destination zu verschlüsseln.
type: string
pattern: '^[a-zA-Z0-9-_=.]+$'
pattern: '^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*\.[A-Za-z0-9_-]+$'
minLength: 776
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