Closed claucece closed 5 years ago
cc./ @giovaneliberato @olabini
I'll take a look at this tonight or tomorrow morning.
OK, so this is what I do with the latest code:
~/.purple
are gonebob
and alice
are enabled--debug
So we probably have two different problems here.
I'm tracking another problem in otrv4/libotr-ng#162 The prekey profile problem is that SOMETIMES the instance tag sent is wrong...
For me, it does not fail on publishing; but later it is not found.
Strange
Well, I can't investigate that until I know why the instance tag is sometimes wrong when publishing...
I'll try again with the newest changes. I've tried going to older changes but I can't as the refactorings have been all over the place at different times..
Ah ok, thanks.
Ok, so I managed to start and offline conversation by managing to publish things. Most of the times though, it is impossible to publish as the b proof is wrong.
Ok, so I actually cannot manage to start an offline conversation. The same Prekey Server: there are no prekey in storage for the requested recipient.
appears.
So, it seems the instance tags sometimes go wrong in the prekey profile, because there seems to be a confusion between the two instances for alice and bob. Exactly how this happens isn't clear yet.
I'm unsure if this is the reason why the prekey ensembles are not found. Maybe that is the problem but this one seems bigger.
Would you mind trying again with all the latest stuff? I've fixed a few different things.
Still the same message.
OK, I'll see if I get it too
Yep, it happens for me too. I'll look into it.
OK, the reason why this happens is because we never actually receive a client profile to publish - so there are no complete ensembles.
OK, I've fixed this problem now - it was because of the thing around when publication of prekey profiles and client profiles should happen not working. I disabled it so that these will always publish for the moment.
Please try it out.
Working now, thanks @olabini
Right now, it is not possible to start an offline conversation. I always says:
even if there are prekey ensembles. This might be due to the recent refactorings.