Skip to content

feat: add deriveCredential for holder - #647

Merged
troyronda merged 1 commit into
trustbloc:mainfrom
fqutishat:update
Mar 3, 2021
Merged

feat: add deriveCredential for holder#647
troyronda merged 1 commit into
trustbloc:mainfrom
fqutishat:update

Conversation

@fqutishat

Copy link
Copy Markdown

Signed-off-by: Firas Qutishat firas.qutishat@securekey.com

}

// DeriveCredentialRequest is request for deriving credential.
type DeriveCredentialRequest struct {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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.

I think we should add an option for nonce, so that we have an HTTP API that can handle the full derivation scope.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@troyronda done. added option for nonce

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@codecov

codecov Bot commented Mar 3, 2021

Copy link
Copy Markdown

Codecov Report

Merging #647 (93467d7) into main (7fa6213) will increase coverage by 0.01%.
The diff coverage is 87.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #647      +/-   ##
==========================================
+ Coverage   86.41%   86.42%   +0.01%     
==========================================
  Files          51       51              
  Lines        4504     4537      +33     
==========================================
+ Hits         3892     3921      +29     
- Misses        359      362       +3     
- Partials      253      254       +1     
Impacted Files Coverage Δ
pkg/restapi/holder/operation/operations.go 91.48% <87.87%> (-1.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7fa6213...93467d7. Read the comment docs.

@fqutishat
fqutishat force-pushed the update branch 2 times, most recently from 37b33f7 to d49a1fa Compare March 3, 2021 12:41
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
@troyronda
troyronda merged commit 9be0b9a into trustbloc:main Mar 3, 2021
@fqutishat
fqutishat deleted the update branch March 3, 2021 13:18
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.

3 participants