Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial version of the registry * Add todos; rename get_keys to get_issuer_keys * Add basic owner authorization * Factor out sender_is_owner * Add revocation authorization for holder; improve arbitrary for serialization schema * Refactoring: use ensure! instead of conditionals * Change key index to u8; factor out signature based authorization; add authorization based on revocation keys * Add an entrypoint to view revocation key and nonce * Add events * Renamed get to view * Batch add/remove of public keys * Use MetadataUrl from CIS2 * Restructure CredentialData; add more tests: get_status, add/view keys; fix NotAcivated behaviour of get_status * Docs for tests * Documentation * Test entrypoints; change commitments to Vec * Add credential registry to CI * Fix Uuidv4 parameter * Fix message in test * Remove view state entrypoint * Remove files added by accident * Apply suggestions from code review Co-authored-by: Emil Holm Gjørup <[email protected]> * Address some review comments * Suggestions * Fix view_revocation_key return type; apply suggestions * Suggestions * Fix docs; add to readme * Remove serialization schema; add separate CredentialEntryResponse for credential data queries; remove redundant Arbitrary implementations * Derive PartialEq, Eq for MetadataUrl * Fix clippy warning after @DOBEN suggestions * Split revoke entrypoint * Remove updateCredential; use StateBox for CredentialData * Comments for revocation parameters * Restructure input/response data structures; restructure credential data and change the use of StateBox * fix comments * Use issuer instead of contract's owner * Clarify a note * Clarify a note more * Fix signed message: add reason and revocation_key_index (depending on which signature is verified) * Add credential type and a schema registry; un-revoking (restoring) by issuers; remove view prefix in entrypoint names * Add schema updates; fix documentation * Update docs * Use CredentialID instead of Uuidv4; keep it a u128 integer * Remove holder_restorable * Apply suggestions from code review Co-authored-by: Doris Benda <[email protected]> * Address feedback; change field order in CredentialInfo and CredentialQueryResponse * Rename RevokeReason to Reason, because it's used both in revoking and restoring * Add concordium-quickcheck feature to concordium-std dependency * Remove getrandom * Rename secret key to private key * Log restoration event * Add credential restoration tests; log tagged events everywhere * Fix clippy warnings * Fix formatting * Add serialization helpers * Add entry_point to SigningData * Make newtype for CredentialType * Fix docs * Add redection case in registerCredential; typos * Use u16 indices for public keys * Make valid_from non-optional * Misc changes (#276) * Changes and simplifications. * Address review comments. * Fix removal of revocation keys. * Remove issuer keys. * Add functions for updating credential metadata, and emitting relevant events. * Remove unused Update event, fix serialization. * Fix signature checking. * Remove the use of credential IDs (uuids). * Update examples/credential-registry/src/lib.rs * Add comments; fix holder revocation test --------- Co-authored-by: Danil Annenkov <[email protected]> * Bump concordium std to 6.2, fix credential id type in schemas * Fix docs * Update documentation; fix error for revocation key lookup * Change tag for Restore; add comments about event tagging * Add revocation key event * Remove cis2 dependency; address comments * Add schema_ref to credential registration test --------- Co-authored-by: Emil Holm Gjørup <[email protected]> Co-authored-by: Doris Benda <[email protected]> Co-authored-by: Aleš Bizjak <[email protected]>
- Loading branch information