Giter Site home page Giter Site logo

remote-attestation-optiga-tpm's Introduction

Introduction

Remote attestation is a mechanism to enable a remote system (server) to determine the integrity of a platform of another system (Raspberry Pi®). In a Linux-based system, a security feature known as the Integrity Measurement Architecture (IMA) can be used to capture platform measurements. Together with TPM a hardware-based security and its set of attestation features, it can be used to perform authentication and to protect the IMA measurement.

Prerequisites

Hardware prerequisites:

Getting Started

In this repository, you will find attestation server and device (Raspberry Pi 3/4) reference implementations. For detailed setup and information, please find the Application Note at link.

License

This project is licensed under the MIT License - see the LICENSE file for details.

remote-attestation-optiga-tpm's People

Contributors

ayushev avatar wxleong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

remote-attestation-optiga-tpm's Issues

One use "qualification"

Hello,
I found a problem related the the "qualification" (challenge).
It is not deleted in the "Attest" process in coreService.java therefore until the Raspberry-pi executes "4_atelic.sh" again, it cans relaunch "7_attest.sh" and be accepted.

I think it could be easily solved setting the qualification to null by the server (coreServer.java) in:

public Response<String> restAttest(@RequestBody Attest attest) {

when it is successfully imported:

`

        if (tpm.import_qualification(user.getQualification()) != true) {
            //We can delete the qualification to avoid futures replay attacks
            user.setQualification(null);
            userRepository.save(user);
            return new Response<String>(Response.STATUS_ERROR, "bad qualification format");
        }`

P.D.: I found useful this repository

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.