Sunbird-RC / community

Repo to enable discussions, issue tracking & documentation for the Sunbird-RC projects
MIT License
12 stars 23 forks source link

[BUG]: Schema credentials getting generated in encrypted form when update some property #1044

Open holashchand opened 3 months ago

holashchand commented 3 months ago

What is the bug related to?

Registry Core

What went wrong?

Steps to reproduce -

  1. enable encryption for some properties
  2. Use encrypted properties in credential template
  3. Create an entity using create entity api
  4. Check the credential for the entity - shows as expected
  5. Update some property to revoke previous credential and regenerate
  6. Check the credential for the entity - shows some properties in encrypted form

What did you expect to see?

A bug should not have happened, instead ...

Additional Context

No response

Relevant logs/output (if any)

No response