Skip to content

Commit

Permalink
Use original and copy encryptor_public_key instead of unified one
Browse files Browse the repository at this point in the history
  • Loading branch information
sapience committed Feb 10, 2025
1 parent 1d209e5 commit 0f6f914
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions schema.development.kf
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,13 @@ action share_credential_through_dag (

action create_credentials_by_dwg(
$issuer_auth_public_key,
$encryptor_public_key,
$original_encryptor_public_key,
$original_credential_id,
$original_content,
$original_public_notes,
$original_public_notes_signature,
$original_broader_signature,
$copy_encryptor_public_key,
$copy_credential_id,
$copy_content,
$copy_public_notes_signature, // Signature of an empty string?! This is weird.
Expand Down Expand Up @@ -692,7 +693,7 @@ action create_credentials_by_dwg(
CASE WHEN $verifiable_credential_id = '' THEN NULL ELSE $verifiable_credential_id END,
$original_public_notes,
$original_content,
$encryptor_public_key,
$original_encryptor_public_key,
$issuer_auth_public_key,
$dwg_id::text
);
Expand All @@ -706,7 +707,7 @@ action create_credentials_by_dwg(
NULL,
'',
$copy_content,
$encryptor_public_key,
$copy_encryptor_public_key,
$issuer_auth_public_key,
$dwg_id::text
);
Expand Down

0 comments on commit 0f6f914

Please sign in to comment.