Page MenuHomeSolus

update usbguard to 1.1.2
ClosedPublic

Authored by nazar on Sep 6 2022, 6:20 AM.

Details

Summary

Changelog:

  • polkit: Always allow getParameter/listDevices/listRules in active sessions
  • D-Bus: Send reply on auth failure
  • Unreference PolkitAuthorizationResult and PolkitAuthority structs if needed
  • Use authentication instead of authentification
  • Restore support for access control filenames without a group
Test Plan

one-time setup

usbguard generate-policy > rules.conf
install -m 0600 -o root -g root rules.conf /etc/usbguard/rules.conf
systemctl start usbguard

plug-in usb device and check its blocked status and =id=

usbguard list-devices

allow device s.t. it connects with the system

usbguard allow-device =id=

Diff Detail

Repository
R5458 usbguard
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

nazar created this revision.Sep 6 2022, 6:20 AM
nazar requested review of this revision.Sep 6 2022, 6:20 AM
Staudey accepted this revision.Thu, Sep 8, 1:09 AM
Staudey added a subscriber: Staudey.

LGTM, thanks!

This revision is now accepted and ready to land.Thu, Sep 8, 1:09 AM
This revision was automatically updated to reflect the committed changes.