Skip to content

Releases: shifteverywhere/dime-java-ref

v1.2.9

09 Feb 16:03
1c96e78
Compare
Choose a tag to compare

Version 1.2.9 - 2024-02-07

  • Updates dependencies
  • Specifies sourceCompatibility/targetCompatibility to JAVA 11 (55)

v1.2.8

07 Feb 20:13
Compare
Choose a tag to compare

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

09 Mar 08:53
61d53d8
Compare
Choose a tag to compare

Version 1.2.7 - 2023-03-09

  • Updates dependencies, particularly org.json:json due to CVE-2022-45688

v1.2.6

09 Mar 08:52
Compare
Choose a tag to compare

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

03 Feb 12:43
Compare
Choose a tag to compare

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

14 Nov 18:51
Compare
Choose a tag to compare

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

10 Nov 22:08
Compare
Choose a tag to compare

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

24 Oct 22:29
Compare
Choose a tag to compare

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

24 Oct 22:28
Compare
Choose a tag to compare

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

11 Oct 19:07
Compare
Choose a tag to compare

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