[OTR-users] otr modify toolkit

Bjorn Kuiper bjorn at kuiper.nu
Thu May 21 13:36:04 EDT 2015


Hi,

 

I'm having some problems using the otr_modify application from the otrlib
toolkit.

 

Could somebody explain to me where I can get the mackey that is needed as
the first parameter?

 

Assume I send the following text

 

"hi bob, my name is alice"

 

Which is encrypted into the following data message:

?OTR:AAMD8E6ZSifXvlYAAAAAAQAAAAEAAADAD2DA/+dQWOE0SbzhRlF9MNezfZxG+qNXzGaJ65W
j3qr/72f1MSx1lSxJ2hZ0HX22rFbO3ctAY97iMNwVoZGW7WRj4Fy3JZWZ8ATxLOSzX26DF9Ft/O1
h8Ndu5gzVYoUsXAj0Q+UCkMD9jR2Pv6/ykLhx1eHyznpIFDxkExblcdOcFAHZX8iWeIocuCrsF8A
oRMPTHsB3x8XXergQ6XOzOUQTNjyBSdoV46CFk3qWGJy8OC3HQPQhG4voP1wyvBUJAAAAAAAAAAE
AAAAZoCjmoJICwz+7CJZ//uMLWbrm9pT4ABiURY39QOGdMud4QQIA3gI1pXh+KUIWAAAAAA==.

 

Wouldn't the mackey be the key that I can retrieve using otr_parse, thus:
8dfd40e19d32e778410200de0235a5787e294216 ?

Or would it be the mackey that I would retrieve when re-establishing a new
DH key and get it from the list of old mackeys?

 

Basically I want to change "hi bob, my name is alice" into "hi bob, my name
is gates".

 

Example output:

--------------

$ ./otr_modify.exe 8dfd40e19d32e778410200de0235a5787e294216 alice gates 19

?OTR:AAMD8E6ZSifXvlYAAAAAAQAAAAEAAADAD2DA/+dQWOE0SbzhRlF9MNezfZxG+qNXzGaJ65W
j3qr/72f1MSx1lSxJ2hZ0HX22rFbO3ctAY97iMNwVoZGW7WRj4Fy3JZWZ8ATxLOSzX26DF9Ft/O1
h8Ndu5gzVYoUsXAj0Q+UCkMD9jR2Pv6/ykLhx1eHyznpIFDxkExblcdOcFAHZX8iWeIocuCrsF8A
oRMPTHsB3x8XXergQ6XOzOUQTNjyBSdoV46CFk3qWGJy8OC3HQPQhG4voP1wyvBUJAAAAAAAAAAE
AAAAZoCjmoJICwz+7CJZ//uMLWbrm9pT4ABiURY39QOGdMud4QQIA3gI1pXh+KUIWAAAAAA==.

MAC does not verify: wrong MAC key?

--------------

 

I'm still trying to get my head around the whole protocol description. This
would help. References to the manual in the explanation would definitely
help as well.

 

Thank you very much,

 

Greetings Bjorn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cypherpunks.ca/pipermail/otr-users/attachments/20150521/0961de0c/attachment.html>


More information about the OTR-users mailing list