Releases: open-eid/cdoc2-java-ref-impl
Releases · open-eid/cdoc2-java-ref-impl
[2.0.0] Support for Smart-ID and Mobile-ID encryption/decryption (26.02.2025)
Added CDOC2 encryption/decryption with symmetric key from/to N-of-N shares (Smart-ID/Mobile-ID).
[1.4.1] Bug fixes, documentation, tests improvements (2024-09-19)
Bug Fixes
- Fix
cdoc2-cli decryptcrash, when using server scenario - Fix Junit tests on Windows
- Fix pkcs11 (smart-card) test properties loading from filesystem
Internal
- Added cdoc2-lib Usage Guide
- cdoc2-cli bats tests for server scenario (using docker compose)
- Update cdoc2-example-app to use
cdoc2-lib:2.0.0 - Added Maven wrapper (
mvnw)
Maven package versions
- cdoc2:1.4.1
- cdoc2-schema:1.3.1
- cdoc2-lib:2.0.1
- cdoc2-client:1.5.1
- cdoc2-cli:1.5.1
[1.4.0] Key label formatting (2024-09-02)
Features
- Support for machine-readable KeyLabel format
- When encrypting, then this formatted key label is enabled by default. Can be disabled by setting
ee.cyber.cdoc2.key-label.machine-readable-format.enabled=falsesystem property (-D) - When decrypting, then both formatted and unformatted key label field versions are supported.
- When encrypting, then this formatted key label is enabled by default. Can be disabled by setting
Bug Fixes
- Fix cdoc2-cli encrypting functionality for SymmetricKey (
--secretparameter). Bug was introduced with 1.1.0 release- Rewrote symmetric key (secret) and password handling in cdoc2-cli/cdoc2-lib
- Bumped cdoc2-lib major version to
2.0.0, as broken classes (FormattedOptionParts) were removed and replaced with a new ones (LabeledPasswordandLabeledSecret) - cdoc2-lib was not broken, when using
EncryptionKeyMaterial#fromSecret(SecretKey,String)directly (withoutFormattedOptionParts) - broken example cdoc2 files were removed from
test/testvectorsand replaced with a correct ones
- Fix cdoc2-client ApiClient timeouts (
cdoc2.client.server.*-timeoutwere not working) - Allow loading pkcs11 (smart-card) test properties from file system (previously only classpath was working)
Internal
- Third-party dependency updates to latest
- Added GitHub workflows for building and releasing
- Resolve issues reported by SonarCloud/SonarQube
- Update client and server certificates used for unit-tests. Add scripts for future updates
Maven packages released:
v1.3.0 + backport GitHub release workflow
[1.3.0] '/key-capsules' OAS v2.1.0 support (2024-07-02)
Features
- Support for '/key-capsules' OAS v2.1.0 in cdoc2-client and cdoc2-cli (added
-expoption) - cli: Improvements to interactive password asking (Don't ask password twice for decrypt).
Label is not required, when CDOC2 file contains single password recipient. - Add example project to demonstrate usage of cdoc2-java-ref-impl with cdoc4j (convert cdoc -> cdoc2)