Skip to content

Latest commit

 

History

History
238 lines (155 loc) · 8.66 KB

CHANGELOG.md

File metadata and controls

238 lines (155 loc) · 8.66 KB

Changelog

[1.4.1] Bug fixes (2024-09-19)

Features

  • Publish cdoc2-server-liquibase image as part of release to allow easier database creation

Bugfixes

  • Update DB clean-up function of expired key-capsules to correctly report number deleted records
  • Fix Junit tests on Windows
  • Another try to fix loading pkcs11 (smart-card) test properties from file system

Internal

  • Use Java 21 JVM for cdoc2-*-server Docker images to support Java 21 virtual threads and improved throughput
  • Update admin-guide.md and add recommendations for running with Docker
  • Base release branch version on cdoc2-put-server version not cdoc2-server pom version (make_release.sh script)

[1.4.0] Maintenance (Spring Boot 3.3.3) (2024-09-03)

Bugfixes

  • Fix building on Windows
  • Allow loading pkcs11 (smart-card) test properties from file system (previously only classpath was working) by upgrading cdoc2-lib test dependency to 2.0.0

Internal

  • Upgrade Spring Boot to 3.3.3. Update other 3rd party dependencies to latest.
  • Update client and server certificates used for unit-tests. Add scripts for future updates
  • Move gatling-tests into separate repository
  • Move cdoc2-openapi (OpenAPI specifications) into separate repository
  • Add GitHub initial workflows
  • Buildpacks dependency mirror can be specified as -Dbp.dependency.mirror=https://mirror.example.org when creating Docker image with mvn spring-boot:build-image

[1.3.1] Fix dependencies for 1.3.0 (2024-07-03)

Bugfixes

  • Bump test dependency 'ee.cyber.cdoc2:cdoc2-lib:1.3.0-SNAPSHOT' to 1.4.0 for get-server and put-server

[1.3.0] Implement '/key-capsules' v2.1.0 (2024-07-02)

Features

  • Implement '/key-capsules' OAS version 2.1.0 (Support for optional 'x-expiry-time' HTTP header)
  • Automatically clean-up (delete) expired key-capsules from the database

[1.2.1 ] release related bugfixes (2024-05-31)

Fix release related bugs. No code changes.

Internal

  • Individual versions for cdoc2-server-db and cdoc2-common-server versions (previously same as cdoc2-server parent )

Bugfixes

  • Add missing gitlab repository url to get-server

[1.2.0 ] Repository split and maintenance (2024-05-30)

Features

  • Expose Prometheus metrics endpoint for servers

Internal

  • Split repository into cdoc2-java-ref-impl and cdoc2-capsule-server
  • Upgraded Spring 2.7.5 -> 3.2.5 + other third-party dependency updates
  • Use 'cdoc2' instead of 'cdoc20' everywhere (packages, documents etc). Salt strings remain unchanged (cdoc20kek, cdoc20cek and so)
  • Fix jacoco test coverage reports (broken previously)
  • Add gitlab CI build files
  • Added scripts for making releases and managing versions (see VERSIONING.md)
  • Refactoring required to build cdoc2-capsule-server repo without cdoc2-lib dependency (cdoc2-lib dependency is still needed for running tests )
  • Upload/consume cdoc2-key-capsule-openapi.yaml as maven artifact
  • Added bats tests to check backward compatibility of CDOC2 format with previous releases

Bugfixes

  • With rename cdoc20->cdoc2 salts values were also incorrectly changed. Broke backward compatibility. Fixed before release 1.2.0

[1.1.0] Version update (2024-03-26)

Features

  • Added possibility to encrypt and decrypt CDOC2 container with password.
  • Removed an option for Symmetric Key creation from plain text, left only Base64 encoded format.
  • Added CDOC2 container re-encryption functionality for long-term cryptography.
  • Added Bats tests automatic installation.

Bug Fixes

  • Fixed CDOC2 container decryption failure with few files inside.

[1.0.0] Version update (2024-01-23)

No changes, only version update in all components.

[0.5.0] Jenkins pipeline updates (2023-01-31)

Features

  • Added Jenkins pipeline for uploading CDOC2 jar artifacts to RIA Nexus repository
  • Update and run key server instances also on cdoc2-keyserver-02.dev.riaint.ee host

[0.4.0] ChaCha Poly1305 MAC is checked before other errors are reported (2023-01-30)

Features

  • Rewrite tar processing/ChaCha decryption so that Poly1305 MAC is always checked (even when zlib/tar processing errors happen)
  • Added sample CDOC2 containers with keys and configuration files
  • Added Unicode Right-To-Left Override (U+202E) to forbidden characters

Bug Fixes

  • Incomplete CDOC container file is removed, when creation of CDOC container fails
  • Remove keyserver secrets logging from CLI debug log

[0.3.0] (2023-01-23)

Features

  • client authenticate certificate revocation checks (OCSP) for get-server
  • enable monitoring endpoints, see admin-guide.md
  • only tls v1.3 is supported by servers
  • remove deprecated ecc-details API
  • gatling-tests updates

Bug Fixes

  • constraint violation in OpenAPI spec are reported as http 400 (previously http 500)

[0.2.0] User error codes (2022-12-16)

Features

  • Add error codes for common user errors
  • Gatling test updates

[0.1.0] Enable Posix extensions for tar (2022-12-12)

Switch to semantic versioning

Features

  • Enable POSIX (PAX) extension for tar:
    • support long filenames (over 100 bytes)
    • support big file sizes (over 8GB)
    • always use utf-8 in filenames (even, when platform default is not utf-8)
  • Synchronize flatbuffers schema files with Specification v0.7

[0.0.13] Symmetric Key support (long term crypto) (2022-12-07)

Features

  • Symmetric Key scenario implementation
  • Added cdoc info cli command that lists recipients in CDOC header

[0.0.12] RSA-OAEP server scenario (2022-11-25)

Features

  • RSA-OAEP server scenario implementation
  • Client uses cdoc2-key-capsules API to create/download key capsules
  • Server configuration changes for client (single configuration file for create and decrypt --server configuration)
  • E-Resident certificate support (find e-resident certificate from SK LDAP)
  • Basic filename validation in container (illegal symbols and filenames)
  • CLI supports certificate and private key loading from .p12 file (PKCS12)

Bug Fixes

  • cdoc list command supports --server option

[0.0.11] RsaPublicKey (2022-11-21)

Bug Fixes

  • Use RsaPublicKey encoding (RFC8017 RSA Public Key Syntax (A.1.1)) instead of X.509 (Java default encoding)

[0.0.10] Key server RSA support (2022-11-14)

Features

  • Added support for RSA keys in key server
  • Added support for 2 key server instances when using cdoc2-cli
  • Added key server administration manual

[0.0.9] RSA-OAEP support (2022-11-02)

Features

  • Support for creating and decrypting CDOC2 documents with RSA keys
  • Improved Recipient.KeyLabel field support in cdoc2-lib (PublicKey used for encryption is paired with keyLabel)
  • Removed cdoc2-cli -ZZ hidden feature (disable compression for payload)
  • Added additional EC infinity point (X: null, Y: null) checks and tests

[0.0.8] Two key capsule server instances (2022-10-31)

Features

  • The key server is composed of 2 server instances, each with its own configuration.
  • The API for creating key capsules does not require client authentication (mTLS).

[0.0.7] Minimal support for Recipient.KeyLabel field (2022-10-14)

Features

  • Minimal support for Recipient.KeyLabel in FBS header (field is present in FB header, but lib is not filling its value with info from recipient certificate)
  • Upgrade flatbuffers-java to version 2.0.8
  • Move gatling-tests to main branch

[0.0.6] server scenario implementation (2022-10-11)

Features

  • Key exchange server implementation
  • CLI and libary support for key scenario
  • Server OpenAPI changes (more strict string format for recipient_pub_key and server_pub_key fields)

[0.0.5] PKCS11, LDAP and generated sender keys (2022-05-13)

Features

  • Refactor EllipticCurve code so that EC curve is created from certificate or public key. Interface support other EC curves besides secp384r1. No actual support for other curves implemented yet.
  • Generate sender key pair to for recipient public key. Remove option to use pre-generated sender key pair
  • Support for decrypting with private decryption key from PKCS11 (support for id-kaart)
  • Support for downloading recipient Esteid certificate from SK LDAP
  • Documentation updates
  • First version server OpenAPI specification

Bug Fixes

  • Use zlib compression instead of gzip compression
  • Delete all files, when decryption fails (last file was not deleted)
  • EllipticCurve was incorrectly created from fmkEncryption method not Details.EccPublicKey curve (no actual error as both had same byte value).

[0.0.4] First release (2022-04-22)

Features

  • Create/decrypt Cdoc2 files with software generated EC keys