xmtp-ios icon indicating copy to clipboard operation
xmtp-ios copied to clipboard

Bug: What is the appropriate way to create a PrivateKey?

Open alexrisch opened this issue 1 year ago • 0 comments

Describe the bug

I am attempting to use PrivateKey.sign(data) Implementing like this: let privateKey = try PrivateKey(xmtpClient.keys.identityKey) However when this is done the privateKey's address does not match the client's address

Is there a correct one to handle this? Or should there be different values used to ultimately create a signature?

Expected behavior

No response

Steps to reproduce the bug

No response

alexrisch avatar Sep 06 '24 03:09 alexrisch