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

Did Dht - add support for Jwa.ES256 #272

Open
jiyoontbd opened this issue Mar 20, 2024 · 0 comments
Open

Did Dht - add support for Jwa.ES256 #272

jiyoontbd opened this issue Mar 20, 2024 · 0 comments

Comments

@jiyoontbd
Copy link
Contributor

when constructing dns packet from did dht toDnsPacket(), we need to be able to map keytype to a new JWA of ES256

and on the other hand when parsing dns packet into did dht fromDnsPacket(), we also need to implement Secp256r1 methods similar to what we have for Ed25519 and Secp256k1

relevant area of code
for toDnsPacket(): https://github.com/TBD54566975/web5-kt/blob/234-did-impl/dids/src/main/kotlin/web5/sdk/dids/methods/dht/DidDht.kt#L490-L494

for fromDnsPacket(): https://github.com/TBD54566975/web5-kt/blob/main/dids/src/main/kotlin/web5/sdk/dids/methods/dht/DidDht.kt#L589-L594

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

No branches or pull requests

1 participant