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

Accept VCs as JSON-LD or JWT when creating Verifiable Presentation #226

Closed

Conversation

ianpatton
Copy link

@ianpatton ianpatton commented Sep 25, 2023

I would like to be able to create Verifiable Presentations using @web5/credentials, with existing Verifiable Credentials in JSON-LD format.

Pex allows this, but the current implementation limits to strings (jwts)

@codesandbox
Copy link

codesandbox bot commented Sep 25, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@ianpatton ianpatton marked this pull request as ready for review September 26, 2023 16:16
@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

Merging #226 (7bfef1c) into main (a5729b6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #226   +/-   ##
=======================================
  Coverage   90.81%   90.81%           
=======================================
  Files          67       67           
  Lines       12838    12839    +1     
  Branches     1268     1268           
=======================================
+ Hits        11659    11660    +1     
  Misses       1156     1156           
  Partials       23       23           
Components Coverage Δ
api 94.32% <ø> (ø)
common 95.00% <ø> (ø)
credentials 92.79% <100.00%> (+0.01%) ⬆️
crypto 100.00% <ø> (ø)
dids 92.16% <ø> (ø)
agent 87.80% <ø> (ø)
identity-agent 59.05% <ø> (ø)
proxy-agent 58.59% <ø> (ø)
user-agent 57.36% <ø> (ø)

Copy link
Contributor

@nitro-neal nitro-neal left a comment

Choose a reason for hiding this comment

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

This looks great! Thank you for updating this

@ianpatton
Copy link
Author

Closing in favor of standardizing on JWT

@ianpatton ianpatton closed this Sep 29, 2023
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.

None yet

2 participants