summaryrefslogtreecommitdiff
path: root/src/lib/pb/irm.proto
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-12-10 14:53:41 +0100
committerSander Vrijders <sander@ouroboros.rocks>2023-12-17 13:23:49 +0100
commit676bd51161e7584175b97cfb7ec2bebd6d951acc (patch)
treec2366c53bc477d4c74208b700cb0436539858181 /src/lib/pb/irm.proto
parent8e7321c82cf446579fe14c7c369a7779e43aeddf (diff)
downloadouroboros-676bd51161e7584175b97cfb7ec2bebd6d951acc.tar.gz
ouroboros-676bd51161e7584175b97cfb7ec2bebd6d951acc.zip
lib: Move public key handling from app to IRMd
The application was generating its public keypair for its ECDHE key exchange. This is now done by the IRMd, which will check the requested qosspec and then apply what is needed. The flow_alloc and flow_accept calls will just return the symmetric key to the application. This makes it easier when we add configurations with given public key pairs and other encryption algorithms, which can then all be configured globally in the IRMd instead of having all the options replicated and implemented in each and every application. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/pb/irm.proto')
-rw-r--r--src/lib/pb/irm.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/pb/irm.proto b/src/lib/pb/irm.proto
index 94db28a4..366e462c 100644
--- a/src/lib/pb/irm.proto
+++ b/src/lib/pb/irm.proto
@@ -92,5 +92,6 @@ message irm_msg {
optional sint32 mpl = 19;
optional string comp = 20;
optional bytes pk = 21; /* piggyback */
- optional sint32 result = 22;
+ optional bytes symmkey = 22;
+ optional sint32 result = 23;
}