christophhagen / LibSignalProtocolSwift

A Swift implementation of the Signal Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid protoBuf error: Invalid key length 68

dangell7 opened this issue · comments

Im getting an error when I do

let iPreKeyBundle = try SessionPreKeyBundle(
        preKey: iPreKeys[0],
        signedPreKey: iSignedPreKey,
        identityKey: iIdentity1
)

When I generate a new identity with let iIdentity = try SignalCrypto.generateIdentityKeyPair() the result is 68 bytes. Is this correct?