Added SetRecoveryLock support#757
Conversation
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword Added support for RequestRequiresNetworkTether
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword Added support for RequestRequiresNetworkTether
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword Added support for RequestRequiresNetworkTether
Added the M1-equivalent to SetFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for SetFirmwarePassword
Added the SetFirmwarePassword. Only for Intel-macs
Added the M1-equivalent to VerifyFirmwarePassword. I haven't seen the docs yet but would be suprised if its not the same as for VerifyFirmwarePassword
Added missing command for VerifyFirmwarePassword (only for Intel macs)
Added test case for SetRecoveryLock
|
verify_firmware_password script is using VerifyRecoveryLock. A typo? |
VerifyFirmwarePassword typo fix
Fixed duplicate declaration in SetRecoveryLock and VerifyRecoveryLock
PR 757 about support for SetRecoveryLock and VerifyRecoveryLock
|
When you're happy with this I would love to see some testing along the lines of how #743 was done (:heart: @korylprince). |
|
Sure thing, i need to do a DFU restore of the test machine first thing tomorrow as it got to the unknown username login after a Remove all content and settings test =)
Regards Tomas Wallentinus
… 10 juni 2021 kl. 20:38 skrev Jesse Peterson ***@***.***>:
When you're happy with this I would love to see some testing along the lines of how #743 was done (❤️ @korylprince).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
If I run gofmt -s -l . now I only get info about platform/blueprint/blueprint.go but that file is not even in the commit. |
|
Everything works as expected =)
|
|
When I checkout your branch I get: Looks like that file still needs some formatting. :) |
|
It doesn't work for me. I have updated protobuf, i have removed mdm.pb.go and generated it again, but it's still gets the same format error. Why don't my gofmt see whats wrong with mdm.pb.go and why is mdm.pb.go generated with incorrect format when the other files are correct? |
|
This one is ready for production if anyone wants to review :) |
|
@tomaswallentinus I'm curious how you generated the |
jessepeterson
left a comment
There was a problem hiding this comment.
This generally looks good. I want to get to the bottom of the mdm.pb.go file changes, though. See my other comment. Once that's resolved then I think this is good to go!
|
I have seen that as well. Is it because I use Ubuntu 20.04 instead of macOS maybe? |
|
I don't think its platform dependent. How did you install the protoc tools? I have: $ which protoc
/usr/local/bin/protoc
$ protoc --version
libprotoc 3.2.0
$ go install github.com/gogo/protobuf/[email protected] |
|
I accualy just used: go get github.com/gogo/protobuf/protoc-gen-gofast And that gives me the "proto.ProtoPackageIsVersion2" line. |
|
Not even updating protoc-gen-go to: https://github.com/protocolbuffers/protobuf-go/releases v 1.26 gives me a later version number. |
|
Could it be a pathing issue (could you have an older protoc-gen-gofast)? My understanding is that go shells out to protoc which then shells out to protoc-gen-gfast. Could protoc be finding a different protoc-gen-gofast maybe? I can't duplicate this. |
|
Looks like it. If I run I will try moving them. |
|
O-holy-night🎷 that did it. |
jessepeterson
left a comment
There was a problem hiding this comment.
🎉 Glad that worked. The diff for the .pb.go file is more like what I expected now, too.
It says SetFirmwarePassword on the files, but its meant to be SetRecoveryLock and VerifyRecoveryLock.
I was thinking about test files, but in what file should I put the tests?