Closed tomstoneham closed 3 years ago
Not sure why CI is failing, this commit only changes files in spec/
. Might need to take a look at .travis.yml
.
Thanks for the correction! It took me a while to page all this back in, but I think the original confusion might've been that the final flag is the last field (of 2) in the signcryption mode, but the first field (of 3) here in the encryption-only mode.
@malgorithms can you do a pull for this fix on the webserver?
Thanks for the quick merge @oconnor663! Have a good one.
From #43, as well as packets.go, the final flag should be the first item in each payload packet in an encrypted message. However, the example currently places the final flag last in the payload packet, introducing ambiguity for those implementing the protocol. This commit changes the example to conform to the actual implementation behaviour.