Giter Site home page Giter Site logo

Comments (4)

josephlr avatar josephlr commented on June 3, 2024

This project (in general) is just for talking to devices, simulators, and other programs which use the TPM1.2 and TPM2 protocol. I don't think adding a third, proprietary protocol would be a good fit for this project. Ideally, there would be a separate library for talking the Mac Secure Enclave (if such a thing is even possible). Then, a higher-level library or user application could provide an abstraction over these two protocols.

from go-tpm.

Dentrax avatar Dentrax commented on June 3, 2024

Thanks for clarifications, @josephlr!

if such a thing is even possible

So how do we know if it's possible? Do you know any related work or project on this? So maybe we can build a library on top of that.

from go-tpm.

josephlr avatar josephlr commented on June 3, 2024

I'm not aware if Apple allows third-party software to talk to the T2, it might just be limited to macOS itself.

Some links: https://github.com/duo-labs/apple-t2-xpc

from go-tpm.

gedw99 avatar gedw99 commented on June 3, 2024

This shows it working on apple devices

https://github.com/remko/age-plugin-se/tree/main/Sources

  • its swift talking to Apple Secure enclave

we write this in golang. can use cgo or no cgo approach.

no cgo style:
https://github.com/ebitengine/purego/blob/main/examples/objc/main_darwin.go

CGO style: https://github.com/gioui/gio-x/blob/main/notify/macos/notify_macos.go

Issue raised here: Foxboron/swtpm_test#1

from go-tpm.

Related Issues (20)

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.