openwsn-berkeley / py-edhoc

Python implementation of EDHOC
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

Pick the right keys for the remote credential callback #18

Closed chrysn closed 3 years ago

chrysn commented 3 years ago

This seems to have been a copy-paste oversight.

Comparing the initiator and responder roles should show that the remote authkey in the initiator role is the responder's id (it already was), and from the responder's point of view, the remote authkey is the initiator's (it wasn't and is fixed here).

This is based on #17 and thus also contains its commit; the changes ther were useful as far as I came in contact with them.

TimothyClaeys commented 3 years ago

Yes, definitely a copy-paste mistake, will merge once the CI passes.