Skip to content

0.30.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@rflechtner rflechtner released this 15 Nov 16:00
· 121 commits to master since this release
0e73c6a

What's Changed

We have improved Did signature verification logic on credential presentations and quotes.
This includes:

  • Adding two optional flags (expectedSigner and allowUpgraded) to the verifyDidSignature function which allow making assertions about the signer Did.
  • Use these to fail presentation verification if the signer is unrelated to the credential owner.
  • Add claimerDid and credential rootHash to the set of signed data in quote agreements; add a verifyQuoteAgreement to verify these signatures.
  • Make sure quote verification fails if claimerSignature and claimerDid or attesterSignature and attesterDid are unrelated.

We have also updated type definitions to prepare the staking pallet refactor that is to be released with kilt-node version 1.8.0.

All changes:

  • feat: compare owner and signer of credential on signature verification by @rflechtner in #674
  • feat: improve quote verification by @rflechtner in #675
  • chore: migrate to new DID runtime API in integration tests by @ntn-x2 in #678
  • fix: type-definitions for staking pallet refactor by @wischli in #673
  • chore: update type definitions by @ntn-x2 in #679

Full Changelog: 0.29.0...0.30.0-rc.1