Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo app event certificate manager #7

Merged

Conversation

moratori
Copy link
Member

@moratori moratori commented Jul 16, 2024

Added a demo app to issue VC related to the event.

@moratori moratori requested a review from sadamu July 16, 2024 11:51
Copy link
Collaborator

@sadamu sadamu left a comment

Choose a reason for hiding this comment

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

1点コメントしました。ご確認ください。
それに付随するのですが、全体的にtunnelto.devは固有のサービス名なので、他に変えたほうが良いかと思いました。

process.env.BASIC_AUTH_USERNAME="username"
process.env.BASIC_AUTH_PASSWORD="password"
process.env.OAUTH2_TOKEN_ENDPOINT="https://example.com/oauth2/token"
process.env.CREDENTIAL_ISSUER="https://datasign-vci.tunnelto.dev"
Copy link
Collaborator

Choose a reason for hiding this comment

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

ここにあるdatasignも削除した方が良いと思います

@moratori
Copy link
Member Author

結論、該当箇所の文字列をexample等適当な値に置換する対応をしています。(テストに影響がないこと確認済み)

なお、対応案は以下がありました。

対応案 メリット デメリット
該当箇所を置換 修正が容易。仕様との照らし合わせが容易 アプリ実行開始前の修正が手間
環境変数の値からメタデータを動的生成 アプリ実行開始前の修正が容易 ネストされたメタデータなど環境変数のkey-valueで表現し難い
DBからメタデータを動的生成 メタデータの構造を適切に表現できる 修正に時間を要する。DBをCRUDするインターフェスを要する。

Copy link
Collaborator

@sadamu sadamu left a comment

Choose a reason for hiding this comment

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

LGTM

@sadamu sadamu merged commit b6d7fd3 into OWND-Project:develop Jul 19, 2024
4 checks passed
@moratori moratori deleted the add-demo-app-event-certificate-manager branch July 22, 2024 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants