mirage / mirage-qubes

Mirage support for writing QubesOS AppVM unikernels
BSD 2-Clause "Simplified" License
62 stars 11 forks source link

WIP: Implement qrexec protocol version 3 #60

Closed reynir closed 2 years ago

reynir commented 3 years ago

This is untested.

It implements changes necessary to implement qrexec protocol version 3, which includes:

I need to review the code again later tonight. I have a Qubes 4 laptop without qrexec v3 I can test with (until I upgrade).

palainp commented 2 years ago

So far I can confirm that the current master for qubes-mirage-firewall is compiling and booting fine and that the [qubes.rexec] client connected, other end wants to use protocol version 3, continuing with version 2 message isn't anymore in the logs (with [qubes.rexec] client connected, using protocol version 3 instead).

hannesm commented 2 years ago

IMHO this is fine to merge & release: @reynir and @palainp implemented it, @palainp reports it works for him. The code looks fine. Any objections?

reynir commented 2 years ago

My only concern is that the qrexec version 2 path isn't tested, but considering how long it's been since version 3 was introduced I think it's only a minor concern. I would be okay with merging this.