-
Notifications
You must be signed in to change notification settings - Fork 55
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
Message not encrypted #21
Comments
@voznesenskym You'll need bi-directional communication for the key exchange before messages can be encrypted. The injectMessage and encodedMessage delegate methods are not optional, so in those methods you should be ensuring that data reaches the other peer and that on the other end all messages go through decodeMessage. Decoding messages also requires injectMessage to be implemented on the receiving end. |
Gotcha. So what method do I call to establish a connection to another peer? On Thursday, March 5, 2015, Chris Ballinger [email protected]
|
OTRKit doesn't rely on any specific network protocol. You can use it with XMPP, or whatever other protocol you prefer. |
I use http. So how do I ascertain that there was a connection? Where do I I understand that client 1 connects to 2, they handshake, exchange keys, On Thursday, March 5, 2015, Chris Ballinger [email protected]
|
I do apologize for basically asking for a 'getting started' guide , but even something as simple as you writing out the basic steps of the flow would do wonders in me getting this working... |
I have the same problem using a XMPP connection through XMPPManager Framework. I can establish the OTR Connection (proved against Adium) the problem is that when I try to encrypt a message it is never done. Do you know why it can happen? I can see both fingerprints :S I do the following:
|
Did you implement the injectMessage delegate method? On Mon, May 11, 2015 at 12:26 PM, kasas [email protected] wrote:
|
Yes All the process to get the session started has been made. But it seems not to encode the messages after the first... That's what I do in inject method:
Just send the plain message through the XMPP channel |
Hi, I wanted to ask some help in order to be able to make OTR session in iOS. I have realized that if I start the session in Android or other system the messages are encoded well. The problem is when the session is started in iOS. Do you know any issue in starting sessions?? |
I can almost 100% guarantee that you didn't implement injectMessage, or On Mon, Apr 11, 2016 at 7:40 AM, Subhash Sanjeewa [email protected]
|
Hi Chris, |
@sansuba Have you sucessfully use this OTRKit for implementing yours? Please give me step by step solution..Im newbie in this case |
Not to be harsh, but if you don't know what you're doing and need step by On Thu, Aug 11, 2016 at 9:50 AM, jevonch [email protected] wrote:
|
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 :
the encodedMessage does not appear encrypted.
What am I missing?
The text was updated successfully, but these errors were encountered: