For instance, see "id/otr":
Code: Select all
{"otr":"D2A5E5E0704A117D0B43C7FC0caee72C8FE85CA9"}
Code: Select all
{"otr":["D2A5E5E0704A117D0B43C7FC0caee72C8FE85CA9", ""]}
Code: Select all
{"otr":"D2A5E5E0 704A117D 0B 4 3C7F C 0caee72C 8FE85CA9"}
Code: Select all
{"otr":"D2A5E5E0704A117D0B43C7FC0caee72C8FE85CA9"}
Code: Select all
{"otr":["D2A5E5E0704A117D0B43C7FC0caee72C8FE85CA9", ""]}
Code: Select all
{"otr":"D2A5E5E0 704A117D 0B 4 3C7F C 0caee72C 8FE85CA9"}
Acutally it is already, isn't it? Or do you have suggestions on what I should change? But as I see it, the specification for both ones is basically the same at the moment.phelix wrote:Maybe we can make it similar to the "signer" field.
Well, the "real" reason is that in my code I strip the spaces away anyway before comparing fingerprints because the routine I use to get my contact's fingerprint from libotr adds spaces (it is the same that is used to display the fingerprint in a "human readable" way). I think it doesn't hurt to allow them (optionally!), which makes it for instance easier for someone to just copy&paste their own displayed fingerprint from Pidgin. Of course it is trivial to strip the spaces before saving the value if you use a UI (or to add spaces when displaying fingerprints), so I also don't mind if we "forbid" spaces in the values.phelix wrote:Why the spaces? I mean why not always store it without spaces?
yeah, I should have said: Nice, it is similar to the "signer" field. Keep it like that.domob wrote:Acutally it is already, isn't it? Or do you have suggestions on what I should change? But as I see it, the specification for both ones is basically the same at the moment.phelix wrote:Maybe we can make it similar to the "signer" field.
Well, the "real" reason is that in my code I strip the spaces away anyway before comparing fingerprints because the routine I use to get my contact's fingerprint from libotr adds spaces (it is the same that is used to display the fingerprint in a "human readable" way). I think it doesn't hurt to allow them (optionally!), which makes it for instance easier for someone to just copy&paste their own displayed fingerprint from Pidgin. Of course it is trivial to strip the spaces before saving the value if you use a UI (or to add spaces when displaying fingerprints), so I also don't mind if we "forbid" spaces in the values.[/quote]phelix wrote:Why the spaces? I mean why not always store it without spaces?