Polkit auto-connect for showmethekey

name: showmethekey
description: Show the keys you type on screen (Wayland and X11)
snapcraft: https://github.com/alexmurray/showmethekey-snap/blob/main/snapcraft.yaml
upstream: https://github.com/AlynxZhou/showmethekey
upstream-relation: no relation 
plugs:
   polkit:
     interface: polkit
     action-prefix: one.alynx.showmethekey
     install-rules:
       - name: polkit.one.alynx.showmethekey.rules
         sha3-384: 9rZtKfCDs8P4RzW98jtroqkASctssoE1BX7FkCGcAf-nBzMV_ZCEXwLfcJbCFDX0

request-type: auto-connection
reasoning: This is used by the snap to install a polkit rule to allow the privileged daemon of the snap to authenticate the unprivileged front-end user has permission to read the raw input 

This request has been added to the queue for review by the @reviewers team.

Hey @alexmurray , good to see you on the forum :slight_smile:

the polkit action-prefix is properly namespaced to the app (one.alynx.showmethekey) and pinning the rule file by sha3-384 digest is the right approach. It looks good to me. +1 from my side for auto-connection to polkit interface

thanks

1 Like

Hey Alex! :slight_smile:

I’ve reviewed the polkit rule and it looks reasonable to me. +1 from me for granting showmethekey auto-connection to the polkit interface with the specific rule set define by the snap.

+2 for, 0 against granting showmethekey auto-connection to the polkit interface. This is now live.

I’m not currently able to rerun automatic review because of some technical issues with the dashboard. I’ll try it later, but new revisions should pass automatic review now.

1 Like