Sources
- widevine: install only after the user accepts Google's licence
- widevine: install only after the user accepts Google's licence (#3007)
- review-comment by greptile-apps[bot]
- review-comment by
maralcbr
- review-comment by
maralcbr
- review-comment by
maralcbr
- review-comment by greptile-apps[bot]
- review-comment by
maralcbr
- issue-comment by github-actions[bot]
maralcbr opened omacom/omarchy-pkgs#3007 at 04:33 UTC and merged it at 05:07. Previously the widevine package enabled a timer that downloaded and patched Google's DRM module on Macs without the user ever seeing Google's terms. Now nothing is installed until the user runs sudo widevine-fetch, reads the licence, and types accept in a terminal. A record of the acceptance is kept. Upgrading from the previous release removes any library installed without that record. As the PR states, DRM sites will fail on affected Macs until the user opts in. The publish bot reported the build live on the edge aarch64 channel (omacom/omarchy-pkgs#3007:issuecomment-6969677141).
Greptile found three issues: an upgrade could delete a freshly accepted install, extraction errors were being hidden, and the consent answers had no tests (omacom/omarchy-pkgs#3007:discussion_r4609319609). maralcbr fixed all three (omacom/omarchy-pkgs#3007:discussion_r4609335661, omacom/omarchy-pkgs#3007:discussion_r4609335866, omacom/omarchy-pkgs#3007:discussion_r4609336028). Greptile then caught a checksum mismatch that would break the build (omacom/omarchy-pkgs#3007:discussion_r4609358857), which
maralcbr fixed and added a test against (omacom/omarchy-pkgs#3007:discussion_r4609389475).
The PR leaves an open question for the owner. Showing Google's licence makes the user's decision informed, but it does not make patching the library permitted under those terms. Whether to keep offering this is left undecided.
