Thanks Pierre. I've been working on this for you.
I have a Type 33 (RSATunnel) section ready for rfbproto, modeled after the existing Type 30 Diffie-Hellman section. That'll close rfbproto issue #52. I'll open the PR shortly.
Beyond auth types, Apple's extensions include custom encodings (1000–1002, 1011), pseudo-encodings (1100–1105), and custom message types — things like encrypted input events and session encryption. I have wire-level documentation for all of these confirmed against live macOS servers.
Before I go further though — Apple's custom message types reuse numbers already registered to other extensions (e.g., 0x09 is SetServerInput for UltraVNC but AutoFramebufferUpdate for ARD). The only disambiguator is ARD's protocol version string (003.889). How would you like these handled in rfbproto?
Cheers.Peet