[Bug 16891] Telepathy should support OTR encryption
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 13 03:37:34 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=16891
--- Comment #82 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
> fp_data = g_variant_get_data (fp_variant);
> fp = otrl_context_find_fingerprint (context, (guchar *) fp_data, 0, NULL);
I'm still considering "use string fingerprints with error-checking" to be a
merge blocker, because I don't think this code is OK for the case where fp_data
has length != 20 bytes. I think TrustFingerprint("DEADBEEF") should raise
InvalidArgument, whereas TrustFingerprint("12345678 12345678
12345678123456781234578") (with any whitespace) should work.
If you strongly prefer the binary encoding, I'd be OK with making
TrustFingerprint([a number of bytes other than 20]) an InvalidArgument, but I
think string fingerprints are going to be nicer to deal with.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list