Commit Graph

405 Commits

Author SHA1 Message Date
Jesse Peterson
4d5fbf5fd1 scep v2, Mozilla PKCS7 fork, cleanup (#737)
- Upgrade to micromdm/scep v2 & updated API usage
  - Use interfaces rather than concrete types in a few places
- Switch to Mozilla's PKCS7 fork (actually @omorsi's fork of that fork)
- Import order: stdlib, project/self, 3rd party
2021-06-09 15:44:58 -07:00
Damon Aw
0b2caa5b77 Add a golden path E2E test case for command_uuid (#756) 2021-06-03 14:45:59 -07:00
Damon Aw
b75a7575ce Allow command callers to specify Command UUID for idempotency (#754) 2021-06-03 10:08:48 -07:00
bpmcneilly
fcb8c1f985 adding focusable and aria-hidden attributes (#751)
Updating blank SVG to ensure that it does not receive keyboard focus / is not exposed to assistive technologies.
2021-05-05 11:40:30 -07:00
William Theaker
45fc658d70 Correct mdmctl dep-profiles flag (#748) 2021-04-29 20:49:02 -07:00
William Theaker
00a4a57b03 Add auto_advance_setup to DEP profile template (#749) 2021-04-29 20:47:45 -07:00
Kory Prince
83c8a9276c CHANGELOG updates (#747) 2021-04-27 14:28:06 -07:00
William Theaker
02cf8097a5 Spruce up built in webpage (#721) 2021-04-27 14:27:33 -07:00
Kory Prince
876ce83dc9 Fix SetFirmwarePassword and VerifyFirmwarePassword parameters (#743) 2021-04-24 09:31:28 -07:00
Jesse Peterson
cf20685e89 CI badge in README 2021-04-21 21:04:32 -07:00
Jesse Peterson
ef5d879d27 CircleCI→GitHub Actions (#740)
* CircleCI→GitHub Actions
* Fix gofmt files
2021-04-21 20:51:39 -07:00
Brandon Kurtz
974ba0d206 free ngrok tunnels apparently expire after 2 hours (#730) 2021-02-20 14:52:01 -05:00
Brandon Kurtz
4c52a283e0 fixing typo (#728) 2021-02-12 19:20:31 -08:00
Jesse Peterson
9b4d96afba CHANGELOG updates (#726)
* CHANGELOG updates

* Forgotten line
v1.8.0
2021-02-10 12:33:12 -08:00
Jesse Peterson
d15dab703c Avoid queue save when not needed (#711)
* Avoid queue save when not needed
2021-02-10 11:21:22 -08:00
Kory Prince
b640fedb9f Fix #723 - Update intermediate cert and signature algorithm (#725)
* Update vendor signature to SHA256 (issue #723)
* Updated Apple WWDR intermediate certificate (issue #723)
2021-02-10 10:48:35 -08:00
Nate Walck
4ad71810c7 Update go4 httputil for tls-alpn-01 support (#720) 2021-01-05 11:10:31 -05:00
choehn-signogy
07c518d7c2 enabling timezone setting (#719)
Co-authored-by: choehn <c.hoehn@videro.com>
2020-12-16 09:37:42 -05:00
slawoslawo
5e10dd1caf Changed pwd command in ngrok scripts to small letters (#710) 2020-10-01 10:04:03 -04:00
meta-github
9e0d5ed6f8 Pass username and password more securely to curl. Fix a quoting bug in remove_profile. (#709) 2020-10-01 10:03:29 -04:00
William Theaker
648b7894df Fix broken link in ngrok docs (#712) 2020-10-01 10:01:52 -04:00
Jesse Peterson
dbc2e3d72c True-up changes in changelog (#706) 2020-09-15 11:01:50 -04:00
tperfitt
4e20295a8d fix for issue #549: Blueprints InstallApplication array always install last application (#704)
Co-authored-by: tperfitt <tperfitt@twocanoes.com>
2020-09-08 15:21:41 -04:00
Jesse Peterson
c6db60ce61 UDID Cert Auth warn only (#643) 2020-08-29 11:27:34 -07:00
Graham Gilbert
1b755888f4 Option to validate only CA and Issuer rather than entire SCEP cert (#700) 2020-08-13 18:30:27 -07:00
meta-gitub
e85a21bac4 make http transport for apns proxy-aware (#698)
Co-authored-by: Thomas Esser <meta.kontakte@gmail.com>
2020-08-05 18:12:54 -04:00
Jesse Peterson
e01ef8a382 Clear a UDID's command queue during Authenticate Check-in (enrollment) (#692) 2020-07-20 22:25:06 -07:00
Jesse Peterson
39f595bb27 Adds the ability to send a DELETE request to clear the DEP profile assignment (#687)
for one or more serial numbers.

DELETE /v1/dep/profiles
{
"serials" : [a,b,c,d]
}
2020-07-17 12:41:03 -04:00
Dan Lamppa
cdf34edd12 When a QueueCommandQueued is marshaled in MarshalQueuedCommand, the QueueCommandQueued.DeviceUDID property rather than the CommandUUID property was copied to the protobuf CommandUuid property. Now the CommandUUID property is copied to the CommandUuid property. (#690)
Co-authored-by: Dan Lamppa <dan.lamppa@medtronic.com>
2020-07-17 08:53:38 -07:00
Dan Lamppa
7da51da605 Updated mdmctl to allow base server URL to have a path (#683)
Updated mdmctl to allow server-url to have a path.

For example: "https://www.example.com/test". Prior to this, any path component was removed. The example url would have been modified to "https://www.example.com/".
2020-07-09 14:48:57 -04:00
Dan Lamppa
c6c95bb9bc When a DEP sync event was serialized and deserialized, the dep.Device.ProfileStatus property was not included so its value was not later copied to device.Device.ProfileStatus and saved to the database. (#682)
Co-authored-by: Dan Lamppa <dan.lamppa@medtronic.com>
2020-07-07 18:30:23 -04:00
Dan Lamppa
18f5451d07 Corrected typo in encoding tag of auth.Model struct property. Corrected typo in comment. (#681)
Co-authored-by: Dan Lamppa <dan.lamppa@medtronic.com>
2020-07-07 18:29:31 -04:00
Dan Lamppa
0a67a21103 Updated URL to join MacAdmins Slack group (#678)
The URL to join MacAdmins Slack group was an error page at "macadmins.herokuapp.com". I assume this is the old address and should be "www.macadmins.org".
2020-06-22 11:30:46 -04:00
Victor Vrantchan
11d8321192 add activation lock bypass code creation (#677)
add activation lock bypass code creation

https://developer.apple.com/documentation/devicemanagement/device_assignment/activation_lock_a_device/creating_and_using_bypass_codes
2020-06-21 13:36:28 -04:00
Jesse Peterson
2b6639093f Marshal InstallEnterpriseApplication embedded manifest (#669)
Marshal Assets of InstallEnterpriseApplication embedded manifest

Update to support SHA256, Metadata, and other related fields. Update tests to use and test for new fields.

Match JSON field names to the plist field names. The manifest field names don't follow typical CamelCase key names like normal Plists. It looks more like JSON. To avoid confusion just make them match. This makes it simpler to follow along with Apple's documentation when composing commands in JSON for the MicroMDM API. Otherwise we have to use our Go struct field names which are specific to us and nobody should need to figure that out (or really have to translate between the two). Update the test case to match.
2020-06-21 13:36:28 -04:00
Victor Vrantchan
f7ae36ecc2 change documentation regarding default branch v1.7.1 2020-06-20 22:48:54 -04:00
Will Lewis
cdd3e3a3af upgrade go4 dependency to fix https://github.com/micromdm/go4/issues/10 (#673) 2020-06-03 09:44:59 -07:00
Ryunosuke Sato
1d712f01b6 Fix a typo in command usage (#667)
"a MDM" -> "an MDM".
2020-05-20 10:06:11 -07:00
Ryunosuke Sato
a7ad62ea6c $ chmod +x tools/api/commands/* (#668)
Added executive permission to `tools/api/commands/*` due to run these scripts easily.
2020-05-20 10:01:58 -07:00
Brett Demetris
5f0b89e9dc correctly handle the response object for remove profile (#666) 2020-05-07 16:08:30 -04:00
Victor Vrantchan
39230bbdfe replace UUID dependency (#665)
replaced the satori/uuid package which was no longer maintained

Closes #664
2020-04-23 20:00:18 -04:00
Jesse Peterson
45d478c4a7 Update CHANGELOG (#658) v1.7.0-alpha 2020-03-20 15:09:42 -07:00
Jesse Peterson
defacdff15 Fixes and typo corrections for SCEP dynamic challenges (#656)
* Fixes and typo corrections for SCEP dynamic challenges
* Guard against not being configured
2020-03-20 13:48:48 -07:00
Jesse Peterson
99036c4909 Changelog updates (#655) 2020-03-17 14:27:18 -07:00
Jesse Peterson
05683d49b0 Revert "Correct SCEP profile payload (#492)" (#652)
This reverts commit 2f2616e274.
2020-03-16 09:10:28 -07:00
tperfitt
e03e73c542 Add local-only flag and tweak makefile to support notarization.
Co-authored-by: tperfitt <tperfitt@twocanoes.com>
2020-03-13 10:46:22 -04:00
tomaswallentinus
e2acfb977e Add EnableRemoteDesktop and DisableRemoteDesktop (#651)
Add ability to send EnableRemoteDesktop and DisableRemoteDesktop mdm-commands:
https://developer.apple.com/documentation/devicemanagement/enable_remote_desktop

Add test for EnableRemoteDesktop and DisableRemoteDesktop mdm-commands:
https://developer.apple.com/documentation/devicemanagement/enable_remote_desktop
2020-03-10 08:50:03 -04:00
Jesse Peterson
9e65297e46 dynamic SCEP challenge support (#642) 2020-02-20 16:51:17 -08:00
Jesse Peterson
ea5c0a3865 Protect against nil blueprint (#634) 2020-01-10 11:01:28 -08:00
Jesse Peterson
1278d2f490 Update changelog (#635) 2020-01-10 11:01:08 -08:00