• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zentralopensource / zentral / 31221755962
90%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2026 10:02PM UTC
Jobs 1
Files 1019
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 09:28PM UTC coverage: 89.655% (+0.02%) from 89.64%
31221755962

push

github

np5
mdm: ask for the security info when a rotation does not return the key

RotateFileVaultKey can return the new PRK encrypted with the reply
certificate, but RotateResult and EncryptedNewRecoveryKey are both optional in
Apple's schema, and the CMS payload can fail to decrypt. In those cases the
new key was only collected at the next inventory update, leaving Zentral with
a stale PRK - and a stale filevault_prk_updated_at, which is what the interval
rotation keys off - for as long as the inventory interval.

Fall back on the escrowed key when the acknowledged rotation did not give us
one: FDE_PersonalRecoveryKeyCMS in the security info response carries it. That
is what SetupFileVault already did for the first escrow, so both go through
SecurityInfo.create_for_prk_escrow now, which shares the delay and does not
queue a second command when one is already pending.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

15 of 15 new or added lines in 3 files covered. (100.0%)

56 existing lines in 7 files now uncovered.

50170 of 55959 relevant lines covered (89.65%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
37
98.2
0.01% zentral/contrib/mdm/models.py
6
99.33
0.0% zentral/contrib/mdm/serializers.py
5
96.81
0.09% zentral/contrib/mdm/commands/base.py
3
98.18
0.09% zentral/contrib/mdm/forms.py
2
99.03
0.01% zentral/contrib/mdm/commands/scheduling.py
2
96.97
-3.03% zentral/contrib/mdm/commands/set_firmware_password.py
1
98.63
-0.2% zentral/contrib/mdm/artifacts.py
Jobs
ID Job ID Ran Files Coverage
1 31221755962.1 07 Aug 2026 10:02PM UTC 1019
89.65
GitHub Action Run
Source Files on build 31221755962
  • Tree
  • List 1019
  • Changed 13
  • Source Changed 12
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31221755962
  • b17371c3 on github
  • Prev Build on main (#31220003505)
  • Next Build on main (#31226924821)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc