Yeah, I guess verifying the full length of the fingerprint would mitigate that, and not doing that exposes you to a MITM attack anyway. Not much less secure than exchanging the keys directly, then, you are right.
To understand the standard approaches to threat modelling.
It should be trivial for someone to look at the documentation and quickly answer basic security questions like "Does it defend against replay attacks ?" and "Does it leak message size ?"
check out www.surespot.me for a great example of elliptic curve cryptography. surespot is a free and open source mobile messenger encrypting all messages end-to-end with 256 bit AES symmetric-key encryption using keys created with 521 bit ECDH shared secret derivation. surespot was built from the ground up to provide this exceptional security in an unobtrusive way, this is not a layer over something existing. surespot is like whatsapp but actually encrypted! group chat on the way.
surespot is a free and open source mobile messenger encrypting all messages end-to-end with 256 bit AES symmetric-key encryption using keys created with 521 bit ECDH shared secret derivation. www.surespot.me was built from the ground up to provide this exceptional security in an unobtrusive way, this is not a layer over something existing. surespot is like whatsapp but actually encrypted! group chat on the way.
We had our computers pretty well locked down but our mobile messages were still plain text so we wrote a whatsapp style mobile messenger over transparent end-to-end encryption. SURESPOT is free to use and open source, check out the source on GitHub, feedback is much appreciated.
www.surespot.me