-
Notifications
You must be signed in to change notification settings - Fork 191
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
Conversation
private let messageFormatter: SIWEMessageFormatting | ||
private let messageFormatter: SIWECacaoFormatting |
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.
it was called SIWEMessageFormatting because siwe message does not know anything about cacao, not sure if it's better name
public typealias AuthMessageSigner = MessageSignatureVerifying & MessageSigning | ||
public typealias CacaoMessageSigner = MessageSignatureVerifying & MessageSigning |
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.
same here CacaoMessageSigner couples this to cacao object but it doesn't have to be wrapped into cacao
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.
also fix at another PR
public var iss: String { | ||
return DIDPKH(account: self).iss | ||
} |
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.
what is this used for? what if you want an issuer in with different did method not pkh?
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.
I'll rename it into string
in another PR, to not catch the conflict
Description
Resolves # (issue)
How Has This Been Tested?
Due Dilligence