piermesh/src/Sponge/Protocols/cryptography.py

16 lines
417 B
Python
Raw Normal View History

2024-07-28 11:21:15 +00:00
import logging
async def filter(completeMessage, recipientNode, todo):
todo.append(
{
"action": "keyDeriveDH",
"data": {
"publicKey": completeMessage["data"]["publicKey"],
"params": completeMessage["data"]["params"],
"recipientNode": recipientNode,
},
}
)
logging.log(10, "Adding cryptography request")