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

fix: Make VC issuer the same as author of anchor linkset #1490

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

bstasyszyn
Copy link
Contributor

The issuer in the anchor credential (VC) is now always the same as the author of the anchor linkset. So if the auther is a DID then the issuer will be set to the same DID.

This commit also removes the startup parameters, anchor-credential-issuer and anchor-credential-url since they are redundant and can also lead to misconfiguration.

closes #1488

Signed-off-by: Bob Stasyszyn Bob.Stasyszyn@securekey.com

@cla-bot cla-bot bot added the cla-signed label Sep 20, 2022
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Base: 87.93% // Head: 87.97% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (1b897e4) compared to base (a08ea15).
Patch coverage: 80.21% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1490      +/-   ##
==========================================
+ Coverage   87.93%   87.97%   +0.04%     
==========================================
  Files         210      210              
  Lines       19827    19824       -3     
==========================================
+ Hits        17435    17441       +6     
+ Misses       1528     1522       -6     
+ Partials      864      861       -3     
Impacted Files Coverage Δ
cmd/orb-server/startcmd/start.go 68.36% <80.00%> (-0.32%) ⬇️
cmd/orb-server/startcmd/params.go 82.20% <80.32%> (+0.22%) ⬆️
pkg/vct/proofmonitoring/monitoring.go 86.17% <0.00%> (+2.43%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

The issuer in the anchor credential (VC) is now always the same as the author of the anchor linkset. So if the auther is a DID then the issuer will be set to the same DID.

This commit also removes the startup parameters, anchor-credential-issuer and anchor-credential-url since they are redundant and can also lead to misconfiguration.

closes trustbloc#1488

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
@fqutishat fqutishat merged commit e3b5dd2 into trustbloc:main Sep 20, 2022
@bstasyszyn bstasyszyn deleted the 1488 branch September 21, 2022 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should Anchor Credential issuer be a DID?
3 participants