Skip to content

Conversation

@tipusinghaw
Copy link
Contributor

What

  • Added support for revocation in credo-controller
  • Added logic to create, sign, and upload BSLC
  • Added a method to get unused BSLC index

pranalidhanavade and others added 15 commits March 6, 2025 12:18
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: sahil.kamble@ayanworks.com <sahil.kamble@ayanworks.com>
Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
* Resolve linting issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* Resolve prettier issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: updated cicd.yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: renamed yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

---------

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: updated cicd.yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: renamed yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* chore: removed id-token and attestations

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* chore: removed id-token and attestations

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

---------

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
@tipusinghaw tipusinghaw self-assigned this Apr 8, 2025
@tipusinghaw tipusinghaw requested review from GHkrishna, amitpadmani-awts and sairanjit and removed request for amitpadmani-awts April 8, 2025 03:43
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Copy link
Member

@sairanjit sairanjit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great addition. Just few things

  • I think there are a lot of API calls inside the functions related to statuslist. We should separate that out into module and use them in Dedicated and Multitenant controllers
  • Keeping statuslist into separate module will be easy to track and do the required changes

@@ -0,0 +1,2 @@
export const initialBitsEncoded = `uH4sIAAAAAAAAA-3BMQEAAADCoPVPbQwfoAAAAAAAAAAAAAAAAAAAAIC3AYbSVKsAQAAA`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need initialBitsEncoded as a constant?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To ensure that all bits are set to zero for the newly created BSLC, we require the data to be Base64URL encoded. Please let me know if you have any alternative approaches or suggestions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one more thing tipu, this initial bit string must not be padded as we saw in the spec, so is this created with that in mind?

N can you please confirm, for demo purpose the initial encoded list is not of the actual length we require(>120000) right?

@@ -0,0 +1,2 @@
export const initialBitsEncoded = `uH4sIAAAAAAAAA-3BMQEAAADCoPVPbQwfoAAAAAAAAAAAAAAAAAAAAIC3AYbSVKsAQAAA`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one more thing tipu, this initial bit string must not be padded as we saw in the spec, so is this created with that in mind?

N can you please confirm, for demo purpose the initial encoded list is not of the actual length we require(>120000) right?

*/
@Example<CredentialExchangeRecordProps>(CredentialExchangeRecordExample)
@Post('/create-offer')
public async createOffer(@Body() createOfferOptions: CreateOfferOptions) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since, we are referring to credential metadata, but is the metadata being stored when we issue a revocable credential?

@GHkrishna GHkrishna added the enhancement This enhances the overall experience/code quality/flows, etc label Apr 14, 2025
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
KambleSahil3 and others added 7 commits April 25, 2025 15:27
Signed-off-by: sahil.kamble@ayanworks.com <sahil.kamble@ayanworks.com>
Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: updated cicd.yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: renamed yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

---------

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* feat: added yml file to push docker images to github

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: updated cicd.yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* fix: renamed yml file

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* chore: removed id-token and attestations

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

* chore: removed id-token and attestations

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>

---------

Signed-off-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Sahil Kamble <sahil.kamble@ayanworks.com>
bhavanakarwade and others added 14 commits April 25, 2025 17:04
feat: push docker image (#257)

* feat: added yml file to push docker images to github



* feat: added yml file to push docker images to github



* fix: updated cicd.yml file



* fix: renamed yml file



---------



feat:w3c-revocation



refactor: removed revocation code



refactore: removed constant and enum



chore: remove unnecessary package



chore: remove unwanted files



chore: remove unwanted files



chore: remove unwanted files

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>
Co-authored-by: KambleSahil3 <sahil.kamble@ayanworks.com>
Signed-off-by: Krishna Waske <krishna.waske@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
Signed-off-by: Tipu_Singh <tipu.singh@ayanworks.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 5, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
11.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This enhances the overall experience/code quality/flows, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants