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

[Chat] Identity and Invite keys registration #706

Merged
merged 17 commits into from
Feb 13, 2023
Merged

Conversation

flypaper0
Copy link
Contributor

Description

  • identity key registration
  • invite key registration
  • resolving identity and invite keys
  • integration tests
  • WalletConnectJWT package
  • Cacao and DID stuff moved to WalletConnectUtills
  • WalletConnectSigner package

Resolves # (issue)

How Has This Been Tested?

Due Dilligence

  • Breaking change
  • Requires a documentation update

@flypaper0 flypaper0 changed the title Feature/identity keys [Chat] Identity and Invite keys registration Feb 6, 2023
Comment on lines -30 to +34
private let messageFormatter: SIWEMessageFormatting
private let messageFormatter: SIWECacaoFormatting
Copy link
Contributor

Choose a reason for hiding this comment

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

it was called SIWEMessageFormatting because siwe message does not know anything about cacao, not sure if it's better name

Comment on lines -19 to +23
public typealias AuthMessageSigner = MessageSignatureVerifying & MessageSigning
public typealias CacaoMessageSigner = MessageSignatureVerifying & MessageSigning
Copy link
Contributor

Choose a reason for hiding this comment

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

same here CacaoMessageSigner couples this to cacao object but it doesn't have to be wrapped into cacao

Copy link
Contributor Author

@flypaper0 flypaper0 Feb 10, 2023

Choose a reason for hiding this comment

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

also fix at another PR

Comment on lines +37 to +39
public var iss: String {
return DIDPKH(account: self).iss
}
Copy link
Contributor

Choose a reason for hiding this comment

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

what is this used for? what if you want an issuer in with different did method not pkh?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll rename it into string in another PR, to not catch the conflict

@flypaper0 flypaper0 merged commit 7cb30ae into develop Feb 13, 2023
@flypaper0 flypaper0 deleted the feature/identity-keys branch February 13, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants