0.30.0-rc.1
Pre-release
Pre-release
rflechtner
released this
15 Nov 16:00
·
121 commits
to master
since this release
What's Changed
We have improved Did signature verification logic on credential presentations and quotes.
This includes:
- Adding two optional flags (
expectedSigner
andallowUpgraded
) to theverifyDidSignature
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 credentialrootHash
to the set of signed data in quote agreements; add averifyQuoteAgreement
to verify these signatures. - Make sure quote verification fails if
claimerSignature
andclaimerDid
orattesterSignature
andattesterDid
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