Releases: shifteverywhere/dime-java-ref
Releases · shifteverywhere/dime-java-ref
v1.2.9
v1.2.8
Version 1.2.8 - 2024-02-07
- Restrictions to only generate thumbprints of signed Message/Data items removed
- Minor updates unit tests
- Minor corrections to documentation
- Fixes an issue with Common Name claim
- Adds a method to get all attached signatures of an Item as a list of Signature instances
- Adds a method to get the unique name of a key
- Adds a method to get all claims and values for an Item
- Exposes a Map with all set claims in an item
- Updates dependencies
v1.2.7
Version 1.2.7 - 2023-03-09
- Updates dependencies, particularly org.json:json due to CVE-2022-45688
v1.2.6
Version 1.2.6 - 2023-03-08
- Allows fetching of items from envelopes based on any claim, not just context ("ctx")
- Deprecated Envelope#getItem(String), fetching from context
- Introduced NaCl crypto suite with large performance gains when signing
- Implements the claim Common Name ("cnm")
- Support for legacy format (before official DiME specification) has been marked deprecated and will be removed in version 1.3
- Conforms to DiME data format version 1.004
v1.2.5
Version 1.2.5 - 2023-02-02
- Adds support to verify identities using an arbitrary identity from the trust chain
- Removes verification of identity issuing requests when issuing new identities. If required, verify manually first
- Removes verification of issuer when issuing new identity. If required, issuers need to be verified manually first
- Fixes an issue with issuing an identity with the same key as the issuing identity
- Fixes an issue when requesting SELF capability for an identity that is not self-issued
v1.2.4
Version 1.2.4 - 2022-11-14
- Fixes an issue with the used crypto suite was not attached to an item link
- Fixes an issue with legacy keys and creating a public copy
v1.2.3
Version 1.2.3 - 2022-11-10
- Conforms to DiME data format version 1.002
- Improves working the encrypted message payloads and allows encryption with symmetric key
- Internal verification order changed according to Dime 1.002
- Adds Issuer URL claim ("isu")
- Adds identity capabilities SEAL and TIMESTAMP
- Fixes an issue with converting items containing item links to legacy
- Fixes an issue where KID was not set correctly when encrypting message payloads
v1.2.2
Version 1.2.2 - 2022-10-25
- Conforms to DiME data format version 1.001
- Refactored verify methods to match C# interface
- Cryptographic suite changed to 'DSC'
- Key encoded changes to Base64 (from Base58), a massive performance gain
- 'STN' cryptographic suite still supported, need to set Crypto#setDefaultSuiteName(string) to use it as default
- Item links created using 'DSC' will not work in versions before 1.2.2
- Keys, Identities, IIRs (and Messages using 'pub') created using 'DSC' will not work in versions before 1.2.2
- Instance method Item#thumbprint changes name to Item#generateThumbprint (code-breaking change)
v1.21
Version 1.2.1 - 2022-10-19
- Minor clean-up and fixes
- Adds alien (cross-platform) unit tests
- First published version to Maven Central (updated build.gradle)
1.2.0
Version 1.2.0 - 2022-10-11
- Full implementation of DiME data format specification (v1)
- Grace period added to Dime as a global setting (this means breaking changes from 1.1.0 in verify methods)
- Many methods marked as deprecated in version 1.1.1 and earlier removed
- Introduces KeyRing to hold multiple keys and identities as trusted
- Removes trusted Identity in Dime and Identity
- Verify has been reworked to support key ring
- isTrusted has been replaced with verify in Identity
- IntegrityState was introduced to hold the result of a verification
- Introduced getClaim/putClaim/removeClaim to allow for more flexible claim handling
- Removes many claim convenience methods, simplifies usage and code
- Removes Claim.USE and replaces it with Claim.CAP (KeyCapability/IdentityCapability)
- Cleaned up, removed, and renamed package-specific exceptions