]> git.corax.cc Git - toolbox/commit
include/ipc: Change IPC message format so that all data is signed
authorMatthias Kruk <m@m10k.eu>
Wed, 16 Jun 2021 23:05:23 +0000 (08:05 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 16 Jun 2021 23:05:23 +0000 (08:05 +0900)
commitfbe07ff1240eab39880b88f5ca14ba934f321d59
tree7e7876622f6673a60d2a948f2fcc2b1e309c17b2
parentd83d341435402d152e95b2f4e4442c3fd7a389c7
include/ipc: Change IPC message format so that all data is signed

In the current IPC message format, only the data field is signed,
causing changes to the other fields to go unnoticed by the signature
verification.
This commit adds a new message format in that the IPC message is
wrapped in an envelope, making sure that all data is authenticated
by the signature.
spec/ipc_data.schema.json [new file with mode: 0644]
spec/ipc_envelope.schema.json [new file with mode: 0644]
spec/ipc_msg.schema.json [deleted file]