Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement modify data message #5

Open
claucece opened this issue Nov 26, 2017 · 1 comment
Open

Implement modify data message #5

claucece opened this issue Nov 26, 2017 · 1 comment

Comments

@claucece
Copy link
Member

claucece commented Nov 26, 2017

Description:
Modify function should receive the data message and modify the text in it.

For that the user must to give the MAC key for that message (in order to generate a new mac for the modified message).

Reference:
https://bugs.otr.im/lib/libotr/blob/master/README (TOOLKIT section)
https://bugs.otr.im/lib/libotr/tree/master/toolkit
https://github.com/otrv4/otrv4/blob/master/otrv4.md#forging-transcripts
https://en.wikipedia.org/wiki/Malleability_(cryptography)

@annacruz annacruz changed the title Implement otr_modify Implement modify data message Jul 19, 2018
@annacruz annacruz added the 1 label Jul 19, 2018
@annacruz annacruz self-assigned this Jul 27, 2018
@annacruz
Copy link
Contributor

Re-reading de issue it's written

Recalculate the MAC tag with the revealed MAC key associated with this
message. The new tag is attached to the data message, replacing the old
value.

So this function depends of otr_remac function implementation

@annacruz annacruz removed their assignment Jul 30, 2018
@annacruz annacruz self-assigned this Aug 8, 2018
@claucece claucece removed the 1 label Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants