Code Monkey home page Code Monkey logo

usbapp-updated's Introduction

USBApp - updated

This is a version of the USBApp demo that has code signing removed from the project and implemented in a separate script.

This project should work without entitlements on a Mac that has System Integrity Protection disabled.

See the Makefile and codesign.sh for details.

Setup

See the codesign.sh script. You need to set your certificate ID.

Build and Open

The most recent Xcode must be installed, but this project can be built from the command line.

make build
make open

That will build, codesign and then open the project

Expected Behaviour

The USBApp application should open. It is a simple dialog box containing an Activate and Deactivate button.

Clicking on the Activate button will cause USBApp to attempt to load the Driver Extension. This will be blocked until you have approved it.

You should see a system dialog "System Extension Blocked", you need to open System Preferences / Security & Privacy. Click on the bottom to unlock.

You should see then "System software from application "USBApp" was blocked from Loading. Click on allow.

At that point you can verify that the driver extension is loaded with systemextensionctl list.

systemextensionsctl list
1 extension(s)
--- com.apple.system_extension.driver_extension
enabled	active	teamID	bundleID (version)	name	[state]
*	*	F7XQY5N68B	sc.knight.MyUserUSBInterfaceDriver (1.0/1)	sc.knight.MyUserUSBInterfaceDriver	[activated enabled]

usbapp-updated's People

Contributors

knightsc avatar belcarra avatar stuartlynne avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.