Skip to content

feat: bring your own wallet - #1422

Merged
dhiren-singh-007 merged 7 commits into
eclipse-tractusx:mainfrom
Cofinity-X:feat/Bring_Your_Own_Wallet
Jan 7, 2026
Merged

feat: bring your own wallet#1422
dhiren-singh-007 merged 7 commits into
eclipse-tractusx:mainfrom
Cofinity-X:feat/Bring_Your_Own_Wallet

Conversation

@leandro-cavalcante

@leandro-cavalcante leandro-cavalcante commented Jul 23, 2025

Copy link
Copy Markdown
Contributor

Description

As a part of Bring Your Own Wallet (BYOW) efforts within the Catena-X to decentralize the wallet ecosystem in the network, it is necessary for some of the Tractus-X components (i.e., Portal Backend, ssi-credential-issuer) to foster this movement.

Onboarding Processes must be adapted for portal backend and frontend

Why

  1. Enabling the decentralization of the wallets within the Catena-X network
  2. Avoiding clientID / secret sharing between organizations (Operating Company and Network Participant)

Issue

Link to Github issue 1160.

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have created and linked IP issues or requested their creation by a committer
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas

@typecastcloud typecastcloud left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some formatting issues I found. Also please take a look at codeql findings.

Comment thread src/Portal.Backend.sln Outdated
@github-project-automation github-project-automation Bot moved this to IN PROGRESS in Portal Jul 23, 2025
@typecastcloud typecastcloud added this to the Release 25.09 milestone Jul 24, 2025
@typecastcloud typecastcloud added the enhancement New feature or request label Jul 24, 2025
Comment thread tests/externalsystems/Bpdm.Library/BpdmBusinessLogicTests.cs Fixed

@dhiren-singh-007 dhiren-singh-007 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have done the review and approving the PR.
@ntruchsess Can you please have a look also?

Comment thread src/registration/Registration.Service/Registration.Service.csproj Outdated
@leandro-cavalcante
leandro-cavalcante force-pushed the feat/Bring_Your_Own_Wallet branch from 0c67cbf to 9b1f62e Compare July 30, 2025 15:50
@sonarqubecloud

Copy link
Copy Markdown

@MaximilianHauer

Copy link
Copy Markdown

as aligned in the portal meeting @ntruchsess will start the review as soon as possible

@typecastcloud typecastcloud added the merge postponed the merge of this PR shall be postponed until all prerequisites are fulfilled label Aug 4, 2025
@saadanzari

Copy link
Copy Markdown
Member

@MaximilianHauer @ntruchsess can we pls close this ticket? or do you still want to review or add anything?
cc @leandro-cavalcante @dhiren-singh-007

@leandro-cavalcante

Copy link
Copy Markdown
Contributor Author

@MaximilianHauer @ntruchsess can we pls close this ticket? or do you still want to review or add anything? cc @leandro-cavalcante @dhiren-singh-007

The feature is implemented and tested from our side. We are still waiting from a PR review or a decision to merge it. @MaximilianHauer @dhiren-singh-007 Could we merge it?

@dhiren-singh-007

Copy link
Copy Markdown
Member

@MaximilianHauer @ntruchsess can we pls close this ticket? or do you still want to review or add anything? cc @leandro-cavalcante @dhiren-singh-007

The feature is implemented and tested from our side. We are still waiting from a PR review or a decision to merge it. @MaximilianHauer @dhiren-singh-007 Could we merge it?

@leandro-cavalcante I have already approved the PR and i was waiting for the feedback from @ntruchsess as mentioned by @MaximilianHauer here #1422 (comment)
@MaximilianHauer Can you please confirm if further review is needed or i can merge this
Also can you please resolve the conflicts.

@typecastcloud typecastcloud modified the milestones: Release 25.12, 26.03 Dec 8, 2025
@MaximilianHauer

Copy link
Copy Markdown

@dhiren-singh-007 as i remember a review was requested by norbert but due to capacity limitations we could not support here. i dont have any stackes on this topic .

feat: add support for bring your own wallet in issuer credentials

feat: CS 3640 add controller to validate did (#2)

Co-authored-by: Shumaila Malik <shumaila.malik@cofinity-x.com>
Co-authored-by: Nitin <nitin.vavdiya@smartsensesolutions.com>

Added step to trasmit the did to other systems

Added the correct step during on board process for byow

Updated the updated bpn to also check BYOW

Created an endpoint to save the did number and refoctor the registration business logic

removed uncessary parameter on the endpoint byow

Added necessary parameter for resolver did

Extracting correct did http address and enhanced tests

fix: added check for missing configuration

fix: added implementation to avoid duplicate dids

Feat: Added restrictions user roles for BYOW and Tests

fix: reverted changes for technical user request and changes exception types for universal resolver

feat: added example of configuratio for universal resolver

Update src/registration/Registration.Service/BusinessLogic/BringYourOwnWalletBusinessLogic.cs

Co-authored-by: Karsten Thiems <karsten.thiems@cofinity-x.com>

Update src/registration/Registration.Service/Controllers/BringYourOwnWalletController.cs

Co-authored-by: Karsten Thiems <karsten.thiems@cofinity-x.com>

fix: resolved codeql findings

Update src/Portal.Backend.sln

Co-authored-by: Karsten Thiems <karsten.thiems@cofinity-x.com>

fix: resolved codeql findings

fix: resolved pr requests

fix: removed codeql warning for user-controlled data

Revert "fix: removed codeql warning for user-controlled data"

This reverts commit bb0a4ad.

fix: removed codeql warning for user-controlled data

fix: removed user-controlled bypass sensitive method

Revert "fix: removed user-controlled bypass sensitive method"

This reverts commit 1ef3e66.

fix: enhanced the use of exceptions and updated tests

fix: split tests to cover pr review

fix: added logic on bpdm business logic when byow active

fix: adding the standard format for the path of the library

fix: added starndard format to the path of the library

fix: Revert automatic formatting

fix: updating the dependencies file

fix: updating the depencies file generated fom pipeline

fix: filtering possible unauthorized user role provided by the user

fix: fixing user bypass control during user role validation

fix: refactoring the code to avoid user bypass controller

fix: combined  if statements
@sonarqubecloud

sonarqubecloud Bot commented Jan 7, 2026

Copy link
Copy Markdown

@github-project-automation github-project-automation Bot moved this from IN PROGRESS to USER READY in Portal Jan 7, 2026
@dhiren-singh-007
dhiren-singh-007 merged commit 0055d51 into eclipse-tractusx:main Jan 7, 2026
13 of 14 checks passed
},
"BringYourOwnWallet": {
"NonApplicableUserRoles": [
"607818be-4978-41f4-bf63-fa8d2de51158"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this id wrong here?

Similar to here:
eclipse-tractusx/portal#555 (comment)

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

Labels

enhancement New feature or request merge postponed the merge of this PR shall be postponed until all prerequisites are fulfilled

Projects

Status: USER READY

Development

Successfully merging this pull request may close these issues.

6 participants