31 Commits

Author SHA1 Message Date
Xavi Aracil
7e99cfb407 Fixed tests 2023-06-13 11:20:43 +02:00
Xavi Aracil
ef5836ecbe Fixed proof in test json 2023-05-23 11:08:07 +02:00
Andy Miller (IMS)
8e9546db0f Fix json samples
Fixes #79

Updated ob3/simple-did-web-method.json and ob3/credential-status-revoked.json with fresh exports from Wellspring Portal.

I also gave the AchievementCredentials names that correspond to the json file names so they are easier to update if needed.

Once we get the BadgeConnect API working, we can probably update the tests to simply GET the credentials.
2023-05-23 10:18:46 +09:00
Andy Miller (IMS)
45734fa9d4 Add credentialStatus test
This uses the wellspring2022-portal app. If it ever breaks, the data was probably changed in the app.
2023-05-22 10:30:29 +09:00
Andy Miller (IMS)
981398f418 Switch to using org and learner paths for did-web url 2023-05-16 16:27:57 +09:00
Andy Miller (IMS)
149af3ea5c Add a simple did:web method sample
Depends on wellspring 2022 portal app
2023-05-16 12:11:01 +09:00
Andy Miller (IMS)
465ba7df55 Renamed did:key method resource 2023-05-16 10:35:56 +09:00
Xavi Aracil
a75917fe29 Added tests for context aliases and versioning 2023-02-10 10:12:27 +01:00
Xavi Aracil
a13bcf8f11 Added a test for multiple proofs 2023-01-09 12:04:35 +01:00
Xavi Aracil
6f5fea32ed Added probes for issuer 2023-01-05 13:15:47 +01:00
Xavi Aracil
d654b12919 Added probes for evidence 2023-01-05 13:15:05 +01:00
Xavi Aracil
1fe23b7278 Check required values for type attribute
added attributes for required type and achievement

return error instead of notRun
2023-01-05 13:14:59 +01:00
Andy Miller (IMS)
eb5cd65985 Add valid endorsement test 2022-12-20 13:00:26 -08:00
Andy Miller (IMS)
df646b502b Add endorsement test 2022-12-20 12:55:32 -08:00
Andy Miller (IMS)
e096f1580b Add valid did:key example 2022-11-16 12:45:50 -08:00
Andy Miller (IMS)
78c1cbe279 Add several more ob3 tests 2022-11-16 12:29:22 -08:00
Andy Miller (IMS)
bd106f9761 Fix ob3 tests
- Update context URL (imsglobal.github.io no longer exists)
- Update simple* resources with updated ob3 spec example json
2022-11-16 11:24:42 -08:00
Andy Miller (IMS)
26bf98d046 Update simple examples 2022-11-10 11:53:55 -08:00
Andy Miller (IMS)
5941a9ab4e Update ob30 samples 2022-09-15 13:06:35 -07:00
Andy Miller (IMS)
07b3abcc57 Update simple.json 2022-09-09 12:06:10 -07:00
Markus Gylling
bbcfac14fc add @context value check probe 2022-08-31 20:30:10 +02:00
Markus Gylling
7c7d283530 clean up filenames 2022-08-31 15:04:32 +02:00
Markus Gylling
67232f5b1d add unit test for JsonSchemaProbe 2022-07-13 21:27:09 +02:00
Miles Lyon
0f41d00a00 Rebaked simple PNG image with latest example to fix broken unit tests. 2022-07-08 10:31:33 -04:00
Miles Lyon
2b6cf3311f Updated testing SVG with a credential containing a valid proof. 2022-07-08 10:03:49 -04:00
Markus Gylling
9d3110547e add iron for vc verification, refactor+cleanup 2022-07-08 11:33:45 +02:00
Miles Lyon
599155ca6e Committing to merge in changes. WIP, may delete a lot of this. 2022-07-06 09:26:26 -04:00
Miles Lyon
b32e81bed5 Leaving the old version in case it is needed. We can delete later. 2022-06-29 16:09:35 -04:00
Miles Lyon
e09a383097 One additional commit which is just to update our simple.json proof with a sample with a key directly in the file. 2022-06-29 16:08:18 -04:00
Miles Lyon
a913ac97d8 Rebaked a couple of badges. Added decode jwt code and png type probe. Refactored accordingly to retain external jwt.
Endorsements needs a refactor pending finality on endorsement lookup.
2022-06-23 11:27:27 -04:00
Markus Gylling
068a6edb8d initial cut of ob3 verifier 2022-06-20 14:51:37 +02:00