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

Refactor/encryption key #469

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
Open

Refactor/encryption key #469

wants to merge 16 commits into from

Conversation

5eeman
Copy link
Contributor

@5eeman 5eeman commented Jan 17, 2025

No description provided.

@5eeman 5eeman self-assigned this Jan 17, 2025
# Conflicts:
#	lib/common/kms/key_providers/bjj_provider.dart
#	lib/common/kms/key_providers/ed25519_provider.dart
#	lib/common/kms/key_providers/secp256k1_provider.dart
#	lib/iden3comm/authenticate.dart
#	lib/iden3comm/domain/use_cases/fetch_and_save_claims_use_case.dart
#	lib/iden3comm/domain/use_cases/fetch_onchain_claims_use_case.dart
#	lib/iden3comm/domain/use_cases/get_auth_inputs_use_case.dart
#	lib/identity/data/data_sources/smt_data_source.dart
#	lib/identity/data/data_sources/storage_smt_data_source.dart
#	lib/identity/data/repositories/identity_repository_impl.dart
#	lib/identity/data/repositories/smt_repository_impl.dart
#	lib/identity/domain/use_cases/identity/update_identity_use_case.dart
#	lib/identity/libs/bjj/bjj_wallet.dart
#	lib/identity/libs/bjj/eddsa_babyjub.dart
#	lib/sdk/di/injector.config.dart
#	lib/sdk/di/injector.dart
#	lib/sdk/polygon_id_sdk.dart
#	pubspec.yaml
#	test/common/kms.dart
#	test/identity/domain/use_cases/profile/add_profile_use_case_test.dart
#	test/identity/domain/use_cases/profile/remove_profile_use_case_test.dart
# Conflicts:
#	lib/sdk/di/injector.config.dart
@5eeman 5eeman marked this pull request as ready for review January 17, 2025 15:35
@5eeman 5eeman requested a review from plusema86 January 17, 2025 15:35
@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 26.91131% with 478 lines in your changes missing coverage. Please review.

Project coverage is 21.40%. Comparing base (7108bdf) to head (320a900).

Files with missing lines Patch % Lines
...l/data/data_sources/storage_claim_data_source.dart 9.67% 28 Missing ⚠️
...b/common/kms/key_providers/secp256k1_provider.dart 0.00% 26 Missing ⚠️
lib/common/kms/key_providers/ed25519_provider.dart 0.00% 24 Missing ⚠️
...main/use_cases/identity/get_identity_use_case.dart 0.00% 22 Missing ⚠️
lib/common/kms/kms.dart 0.00% 18 Missing ⚠️
.../use_cases/identity/restore_identity_use_case.dart 0.00% 18 Missing ⚠️
lib/identity/libs/bjj/eddsa_babyjub.dart 0.00% 18 Missing ⚠️
lib/common/kms/key_providers/bjj_provider.dart 0.00% 17 Missing ⚠️
...ain/use_cases/generate_non_rev_proof_use_case.dart 0.00% 17 Missing ⚠️
...se_cases/get_claim_revocation_status_use_case.dart 0.00% 15 Missing ⚠️
... and 52 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #469      +/-   ##
===========================================
- Coverage    21.96%   21.40%   -0.56%     
===========================================
  Files          257      265       +8     
  Lines         8474     8605     +131     
===========================================
- Hits          1861     1842      -19     
- Misses        6613     6763     +150     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -45,7 +45,7 @@ class UpdateClaimUseCase extends FutureUseCase<UpdateClaimParam, ClaimEntity> {
.getClaim(
claimId: param.id,
genesisDid: param.genesisDid,
privateKey: param.privateKey)
encryptionKey: param.encryptionKey)
.then((claim) => ClaimEntity(
Copy link
Contributor

Choose a reason for hiding this comment

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

if possible can we remove the usage of multiple then like you did in other places? IMHO it is easier to debug and read, but we can do it at a later stage.

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.

3 participants