You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add missing skip setup keys for device preparation (#657)
* Add missing skip setup keys for device preparation
Adds 20 new skip setup keys that were missing from the skipAllSetup list:
- AccessibilityAppearance
- Avatar
- CloudStorage
- DeviceProtection
- Display
- ExpressLanguage
- IntendedUser
- Language
- LanguageAndLocale
- LockdownMode
- Multitasking
- PreferredLanguage
- Region
- Registration
- Tone
- TouchID
- TrueToneDisplay
- UnlockWithWatch
- Wallpaper
- WiFi
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Add OrganizationMagic, IsMultiUser, and improved certificate handling
- Add OrganizationMagic (UUID) to cloud config when supervising
- Add IsMultiUser: false to cloud config when supervising
- Add extractDERCertificate() in main.go to handle various cert formats:
- Raw DER bytes
- PEM encoded certificates
- PEM with metadata (e.g. OpenSSL "Bag Attributes")
- PKCS12/P12 files (when password provided)
- Add --p12password option to prepare command for P12 files
- Support P12_PASSWORD environment variable
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update README with prepare command certificate format options
Document that --certfile accepts DER, PEM, or P12 files, and add
--p12password option to usage.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update prepare command help text with certificate format details
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Improve extractDERCertificate and move to end of file
- Move extractDERCertificate function to bottom of main.go
- Add debug logging when P12 decode fails
- Improve error message to clarify it's a file parsing error
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Refactor extractDERCertificate into separate parsing functions
Split the certificate extraction logic into focused helper functions:
- tryParseDER: parse raw DER bytes
- tryParsePEM: decode PEM encoded certificate
- tryParsePEMWithMetadata: handle PEM with OpenSSL metadata
- tryParsePKCS12: decode P12 files with password
This makes the code easier to understand and maintain.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>