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

Add resolution for did:jwk #245

Merged
merged 6 commits into from
Jun 24, 2024
Merged

Add resolution for did:jwk #245

merged 6 commits into from
Jun 24, 2024

Conversation

KendallWeihe
Copy link
Contributor

No description provided.

@@ -1,7 +1,6 @@
namespace web5 {
JwkData ed25519_generator_generate();

[Throws=RustCoreError]
Copy link
Contributor

Choose a reason for hiding this comment

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

did this mean to get removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, because we're moving to all resolve() functions returning a ResolutionResult wherein the error case is represented via the ResolutionMetadataError

@KendallWeihe KendallWeihe marked this pull request as ready for review June 24, 2024 19:46
use crate::apid::crypto::key_managers::in_memory_key_manager::InMemoryKeyManager;

#[test]
fn can_instantiate_did_jwk() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we'll come back through and use test vectors once we have them

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.

Looks good!

@KendallWeihe KendallWeihe merged commit f4de14f into main Jun 24, 2024
6 checks passed
@KendallWeihe KendallWeihe deleted the kendall/didjwk-resolution branch June 24, 2024 19:55
KendallWeihe added a commit that referenced this pull request Jun 25, 2024
* main:
  Add resolution for did:jwk (#245)
  Fix Signer Implementation in Ed25519Signer and InMemoryKeyManager.getSigner (#244)
  RFC-0001 Standard Web5 API Design (APID) Document v0.1.0 (#229)
  Implement RFC-0002 BearerDid (#242)
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.

2 participants