Skip to content

Commit

Permalink
pam: Add GDM JSON protocol definition
Browse files Browse the repository at this point in the history
We use JSON to communicate with GDM since its UI, GNOME Shell is in
JavaScript and so can handle those messages natively pretty well.

Here we define the primitives of this protocol and their conversion back
and forth from go structures and types, ensuring the expectations are
met.

The protocol code generation is mostly done via protobuf so that we can
avoid manual definition of many structures, but is meant for being
used from the JSON side too thus using some naming conventions to please
both cases.
  • Loading branch information
3v1n0 committed Nov 30, 2023
1 parent 2a2b732 commit d8ae84d
Show file tree
Hide file tree
Showing 4 changed files with 3,167 additions and 0 deletions.
Loading

0 comments on commit d8ae84d

Please sign in to comment.