Open
Description
So - my goal is, in the least number of steps get a message encrypted with libotr on iOS
Currently, with OTRKit, I have a class as an OTR Delegate, and I call
[[OTRKit sharedInstance] initiateEncryptionWithUsername:username accountName:accountname protocol:protocol];
and then, a little late on a button press:
[[OTRKit sharedInstance] encodeMessage:@"TEST" tlvs:nil username:username accountName:username protocol:protocol tag:nil];
And when I log the delegate method :
- (void)otrKit:(OTRKit *)otrKit encodedMessage:(NSString *)encodedMessage wasEncrypted:(BOOL)wasEncrypted username:(NSString *)username accountName:(NSString *)accountName protocol:(NSString *)protocol tag:(id)tag error:(NSError *)error {
the encodedMessage does not appear encrypted.
What am I missing?
Metadata
Metadata
Assignees
Labels
No labels