-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add DidJwk and update other DID methods #1206
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor β’ VS Code β’ Insiders |
β Deploy Preview for tbd-website-developer ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks for starting this! This is good to see ahead of time! |
site/code-snippets/web5/build/verifiable-credentials/vc-issuance.js
Outdated
Show resolved
Hide resolved
* Issue #1197 - Add tbdex-kt dependencies to Kotlin TestSuite With a WHOLE LOT of Dark Arts Evil Nonsense to make it work: * SNAPSHOT dependency * Addition of a SNAPSHOTs repo * dependencyManagement to force version resolution This may unblock us temporarily but will not work sustainably. The SNAPSHOT dependency will go away and due to version changes from upstream projects the dependencyManagement guards will need to be updated with them.
* Kotlin: PFI Allowlist * dont publish test dids * ocd
* kotlin shnips * adding new line * kotlin shnip wasnt generating * removing extra code snippet * enabling switch content * adding clarity for presentation submission with Kotlin * showing language switcher at the top * adding back title * adding back title * hardcode imports * make verifiable presentation more obvious * put language switcher at the top * remove unnnecessary import * possible note for missing method * PR #1199 - Fix jackson.core to a more compatible version * handle all imports with model.* * add in as snippet --------- Co-authored-by: Andrew Lee Rubinger <alr@alrubinger.com>
* add replyTo option for RFQs * Update site/docs/tbdex/wallet/send-rfq.mdx Co-authored-by: Angie Jones <jones.angie@gmail.com> --------- Co-authored-by: Angie Jones <jones.angie@gmail.com>
* Fan Club VC with Kotlin snippets * wrapping in a try catch
β¦icate failure (#1210) tweak a few badges to avoid yellow, orange colors this will make failures/warnings more obvious
* Presentation Definition kotlin updates * Fix tests * removed submission requirements * aligned validation snippets --------- Co-authored-by: angiejones <jones.angie@gmail.com>
* Use shnip system, still need code snippets for some parts of exchanges and offerings apis pending convo with Jiyoon * add all snippets * Update snippet names and use Shnip system * fixing code * add Kotlin code snippets * update js server name * update tests to run out of new testsuites directories * renaming kotlin test file * Update Kotlin code * Use shnip system, still need code snippets for some parts of exchanges and offerings apis pending convo with Jiyoon * add all snippets * Update snippet names and use Shnip system * fixing code * add Kotlin code snippets * update js server name * update tests to run out of new testsuites directories * renaming kotlin test file * Update Kotlin code * Make io.ktor.server available on the classpath * Try to fix Kotlin compilation errors * try to fix build * conforming title to the rest of the guides on the site * pushing up some changes, still addressing comments * separate out Kotlin classes * fix build issue with package names * fix build * update PFI did creation, sync names of sever var * Apply suggestions from code review Apply suggestions Co-authored-by: Angie Jones <jones.angie@gmail.com> * add imports * removing dup imports --------- Co-authored-by: Angie Jones <jones.angie@gmail.com> Co-authored-by: Andrew Lee Rubinger <alr@alrubinger.com>
* switching to Shnips in JWT to VC * add headers * fix path
* first push for orders page to write snippets * fix kotlin snippet and imports * update markdown * Adding Close Message snippets * fixed js Close snippet * address comments to resolve them, still need to test after wiping out most of them * missing js ordermessage rename * add language links --------- Co-authored-by: Rizel Scarlett <rizel@tbd.email> Co-authored-by: angiejones <jones.angie@gmail.com>
* Wallet: Get Offerings - js/kt * added mock server and tests for Kotlin * test data * JS mock PFI server and tests
@@ -18,7 +18,18 @@ export async function getDwnEndpoints() { | |||
const serviceEndpointNodes = await getTechPreviewDwnEndpoints(); | |||
|
|||
// generates key pairs used for authorization and encryption when interfacing with DWNs | |||
const didOptions = await DidIonMethod.generateDwnOptions({ serviceEndpointNodes }); | |||
const didOptions = { | |||
keySet: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do these need to be explicitly defined vs a default set provided by the SDK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The generateDwnOptions
method was removed entirely. In conversation with Moe on what the alternative is, and will update once available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frankhinek the dev shouldn't have to do this right? how do we get around it?
What type of PR is this? (check all applicable)
Description
This PR:
@web/dids
packageDidxxxMethod
imports to use the newly updated implementations withDidxxx
As a result of the
@web5/dids
package update, the following are pending or currently broken and I need more information to fix.DidIonMethod
usesgenerateDwnOptions()
which no longer exists onDidIon
and I can't find the substitute for it..toKeys()
doesn't currently work in Kotlin to get the Keysets.Added code snippets?
Added tests?
Added to documentation?
[optional] What gif best describes this PR or how it makes you feel?