freedomofpress / securedrop-signal-poc

prototype e2e server and source + journalist clients for securedrop
GNU General Public License v3.0
5 stars 3 forks source link

API returning values in unexpected format #23

Closed zenmonkeykstop closed 3 years ago

zenmonkeykstop commented 3 years ago

The journalist.py and journalist2.py scripts expect the type of `message_content["mtype"] to be an int (either 1 or 11) but the actual values appear to be strings ("SdGroupManagementStart" and "SdGroupMessage", corresponding to the enum values defined in the securedrop-source crate... thingy).

redshiftzero commented 3 years ago

you are correct! this is fixed on main now (tested against 08068350941d22e02e8f041ffcb958635da704db on signal-proto-focal branch), lmk if you notice anything else amiss