34. CDOC2 Capsule Server changelog¶
[1.7.2] Security and bug fixes
- Return correct error code when client certificate is missing in
/key-capsules/{transactionId}. - Return
x-expiry-time-adjustedinPUT /key-capsules. - Updated all components to Spring Boot 4.1.0
[1.7.1] Added support for secp521r1
- Added support for the elliptic curve secp521r1
[1.7] Improved logging
- Log the
Content-Type,OriginandSec-Fetch-*,X-Forwarded-Forheader values for each request. - Added request completion time logging.
- For
POSTrequests, log the size of the request body. - Remove the certificate subject common name (CN) from the log's.
- Add support for tracing.
- Add
logstash-logback-encoderdependency to support OpenTelemetry JSON logging.
[1.6] Added support for secp256r1
- Added support for the elliptic curve secp256r1
- Add
x-expiry-time-adjustedheader toGET /key-capsules/{transactionId}result as specified in cdoc2-key-capsules 2.2.0 OAS - Changed the behavior of the
x-expiry-timeheader in thePOST /key-capsules/{transactionId}. Now if thex-expiry-timeis larger than the maximum allowed expiry time, then the expiry time is set as the maximum allowed value. If the expiry time value was adjusted, then the headerx-expiry-time-adjustedin the endpointGET /key-capsules/{transactionId}will be set totrue.
[1.5] Add x-expiry-time header to POST /key-capsules/{transactionId} response
- Add
x-expiry-timeheader toPOST/key-capsules/{transactionId}result as specified in cdoc2-key-capsules 2.2.0 OAS
[1.4] Return x-expiry-time header to GET /key-capsules/{transactionId}
- Return
x-expiry-timeheader toGET/key-capsules/{transactionId}as specified in cdoc2-key-capsules 2.1.0 OAS
[1.3] Add new optional HTTP header 'x-expiry-time'
- Implement '/key-capsules' OAS version 2.1.0 (Support for optional 'x-expiry-time' HTTP header)
[1.2] Repository split and maintenance
- Use 'cdoc2' instead of 'cdoc20' everywhere (packages, documents etc). Salt strings remain unchanged (cdoc20kek, cdoc20cek and so)
[1.1] added re-encrypt functionality
- Added possibility to encrypt and decrypt CDOC2 container with password.
- Added CDOC2 container re-encryption functionality for long-term cryptography.
[1.0] First major release
35. CDOC2 schema changes¶
[2.1] Added new elliptic curve secp521r1 to EllipticCurve enum in recipients.fbs
[2.0] Added new elliptic curve secp256r1 to EllipticCurve enum in recipients.fbs
[1.4] SID/MID changes to the schema
- Add Create new tables KeySharesCapsule and KeyShare in recipients.fbs
- Add KeySharesCapsule to Capsule in header.fbs
36. cdoc2 key-capsules OAS changelog¶
[3.1] Added ecc_secp521r1 to capsule_type enum
[3.0] Added ecc_secp256r1 to capsule_type enum
- Added new curve
ecc_secp256r1to capsule_type enum - Changed the
recipient_idminLengthfrom 97 to 65 - Made the
capsule_typea x-extensible-enum
[2.2] Added new header values to POST /key-capsules
- values
x-expiry-timeandx-expiry-time-adjusted