[OTR-dev] problems with otr_readforge
Bjorn Kuiper
bjorn at kuiper.nu
Tue Nov 12 21:52:46 EST 2013
Hi,
i'm trying to execute otr_readforge on my local machine.
i have two IRC users __alice and __bob, using Pidgin.
__alice private key (X value in otr.private_key):
1D96824795B5D1A9A6E15E9F293E5AD72B61A518
__bob public key (from otr.fingerprints):
2738d523f4539992a81209e6cce0d7ef3a06a1b3
data message from __alice to __bob
?OTR:AAMDjLZdT0jUXqQAAAAAAgAAAAMAAADA+eHt55RrrYgFxZcyH7bGvHaHEBnrJLWbf0V+j64t74SqbwkDo38H78Uoe47/auFLwRsUWQfe2XTQPk+K2+Qcj7SftvoSetrpgpg//cVV56iwI+uj9yDqyN0EkIXlxVGWrl+8uwPphnyiihY/Vu342wzFTh1T/FLKvWPLqO2/fBTQa0MASWNtzO9f53M8iMfqfQYcmFleZPGZDnInR3eoHb1HPI+T5tS8aeHyjjmmRTpRWrB99FejOtpzI9OiKPySAAAAAAAAAAEAAAANVnv0HHe5gO9fbsVA6XsUWoPoCGrAMX9opYI4gPKmUmCBAAAAFCbbXCDP+Y+QLgdUrssIjyOPxWH1.
containing 'hello world!'.
I use otr_sesskeys to retrieve the AES key
------------
$ ./otr_sesskeys.exe 1D96824795B5D1A9A6E15E9F293E5AD72B61A518
2738d523f4539992a81209e6cce0d7ef3a06a1b3
We are the high end of this key exchange.
Our public key:
c8825fc1cc272da35f8584eba87244b142977068dca2aeba93d628a6b780d8a1fe341ca3490ccbe512a8a55e8ffd986f28684d97b80757f3e5e5d5a815e12814691abe6af232d56d11ffc04000d554b98fda515719cf9c583c198158ab379c591560d541df18bb54178cde76663d010514942e9c0d70ee40713de007313256bfb1d7b424081c4b3ea4930fe67186e370d0e16427ecca213cc93fc02da46ebcdbdc3fd87f1039473164eb4f670b36eca1be58167b58faf3658ba352643235cf85
Session id: bc67b7ccafe25980c7cb9c59f80f29af2474b74e
Sending AES key: 98e0155739ec326c93a44ff9db89f1e6
Sending MAC key: b8922fdbda116c3e853c78b45fa53f5c20ab13e0
Receiving AES key: eefa64c3f801db9660b0ffa06bb537b6
Receiving MAC key: 629f35f1eb680c9c73e6485d3058f82f1a7f63e
------------
and then would like to use the otr_readforge.exe to read and forge the
message, but that is not working:
$ ./otr_readforge.exe 98e0155739ec326c93a44ff9db89f1e6
?OTR:AAMDjLZdT0jUXqQAAAAAAgAAAAMAAADA+eHt55RrrYgFxZcyH7bGvHaHEBnrJLWbf0V+j64t74SqbwkDo38H78Uoe47/auFLwRsUWQfe2XTQPk+K2+Qcj7SftvoSetrpgpg//cVV56iwI+uj9yDqyN0EkIXlxVGWrl+8uwPphnyiihY/Vu342wzFTh1T/FLKvWPLqO2/fBTQa0MASWNtzO9f53M8iMfqfQYcmFleZPGZDnInR3eoHb1HPI+T5tS8aeHyjjmmRTpRWrB99FejOtpzI9OiKPySAAAAAAAAAAEAAAANVnv0HHe5gO9fbsVA6XsUWoPoCGrAMX9opYI4gPKmUmCBAAAAFCbbXCDP+Y+QLgdUrssIjyOPxWH1.
MAC does not verify: wrong AES key?
Am I misunderstanding on how it should work or is something else going
wrong?
Thanks for your time!
Greetings Bjorn
More information about the OTR-dev
mailing list