We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Good evening,
we are trying to use Signal with OMEMO in an XMPP app, however we are stuck in this method:
SignalPreKeyBundle* preKey = [[SignalPreKeyBundle alloc] initWithRegistrationId:0 deviceId:deviceId preKeyId:key.preKeyId preKeyPublic:key.publicKey signedPreKeyId:bundle.signedPreKey.preKeyId signedPreKeyPublic:bundle.signedPreKey.publicKey signature:bundle.signedPreKey.signature identityKey:bundle.identityKey error:&error];
As the init method is not able to use prekey publickey generated by the SignalHelper of the same framework. Could you please help us?
As you can see
ec_public_key *pre_key_public = [SignalKeyPair publicKeyFromData:preKeyPublic error:error]; if (!pre_key_public) { return nil; }
is returning nil.. the error is domain: "org.whispersystems.SignalProtocol" - code: 4
Thanks in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Good evening,
we are trying to use Signal with OMEMO in an XMPP app, however we are stuck in this method:
SignalPreKeyBundle* preKey = [[SignalPreKeyBundle alloc] initWithRegistrationId:0 deviceId:deviceId preKeyId:key.preKeyId preKeyPublic:key.publicKey signedPreKeyId:bundle.signedPreKey.preKeyId signedPreKeyPublic:bundle.signedPreKey.publicKey signature:bundle.signedPreKey.signature identityKey:bundle.identityKey error:&error];
As the init method is not able to use prekey publickey generated by the SignalHelper of the same framework. Could you please help us?
As you can see
ec_public_key *pre_key_public = [SignalKeyPair publicKeyFromData:preKeyPublic error:error];
if (!pre_key_public) {
return nil;
}
is returning nil.. the error is domain: "org.whispersystems.SignalProtocol" - code: 4
Thanks in advance
The text was updated successfully, but these errors were encountered: