v2.13.1 Release#261
Merged
Merged
Conversation
* patch for system context * changelog patch update * restore progressForm * remove extra write-hosts * regenerate from build
junioralmeida-82
previously approved these changes
Jun 8, 2026
edgar-lins
previously approved these changes
Jun 8, 2026
e4d4d30
gweinjc
approved these changes
Jun 10, 2026
edgar-lins
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
patch for system context
changelog patch update
restore progressForm
remove extra write-hosts
regenerate from build
Issues
What does this solve?
CUT-5176
Overview
Patch 2.13.1 fixes system context API signing when the JumpCloud agent client.key uses PKCS#1 RSA integers with a leading 0x00 that the PEM/ASN.1 parser was dropping, so D (and related CRT fields) were shorter than the modulus and RSACryptoServiceProvider.ImportParameters failed—leaving a null RSA object and errors on SignHash.
The fix adds PadLeading and normalizes D, P, Q, DP, DQ, and IQ to the expected byte lengths before import in the embedded PowerShell 5 RSA helper in 3_ADMU_Invoke.ps1 and DeviceQuery.ps1, and in Invoke-SystemContextAPI.ps1. Module/UI strings bump to 2.13.1 (JumpCloud.ADMU.psd1, GUI titles, Start-Migration). ModuleChangelog.md documents the issue; minor style-only edits appear in Form.ps1 and ProgressForm.ps1.
Is there anything particularly tricky?
How should this be tested?
See Jira Card
Screenshots
Note
Medium Risk
Changes affect JumpCloud system-context request signing and migration-time ACL repair on user registry hives; incorrect behavior could break remote API auth or first-login profiles, but the edits are narrow bugfixes with new acceptance coverage.
Overview
2.13.1 is a patch release that fixes system context API signing and bumps module/GUI version strings to
2.13.1.System context authentication: The embedded PowerShell 5 RSA PEM decoder now left-pads PKCS#1 private key integers (
D,P,Q, CRT fields) viaPadLeadingbeforeImportParameters, soclient.keyfiles with a leading0x00onDno longer import as$nulland breakSignHash. The same helper is updated inInvoke-SystemContextAPI.ps1,DeviceQuery.ps1, and3_ADMU_Invoke.ps1. Request signing now builds the HTTPDateheader with culture-invariant[DateTime]::UtcNow.ToString('r')instead of re-parsing a-UFormatstring (fixes non-English Windows locales).Migration / profile hives: New
Set-DATFilePermissionrepairs NTFS/registry ACLs onNTUSER.DAT,UsrClass.dat, and loaded hive keys when validation fails—replacing warn-only checks inStart-Migration.$datPathis assigned once from$newUserProfileImagePathafter home-path handling so hive checks target the correct profile. Acceptance tests cover permission repair and post-migration DAT ACLs.Device init:
DeviceQuery.ps1skips description updates when no ADMU users are found;Set-SystemDescaccepts an empty user collection.Minor GUI/style tweaks in
Form.ps1andProgressForm.ps1;ModuleChangelog.mddocuments the release.Reviewed by Cursor Bugbot for commit c3ac213. Bugbot is set up for automated code reviews on this repo. Configure here.