Skip to content

Password manager supporting the login where the credentials are stored securely in an enclave

Notifications You must be signed in to change notification settings

enclaive/sgx-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


C++ SGX-Login

A library to secure your application authentication using Intel® Software Guard Extensions

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. TL;DR
  5. Contributing

About The Project

Authentication is a very critical part of an application. Moving this into a simple small severed enclave ensures that attackers are not able to compromise your application login.

Built With

Getting Started

This application needs hardware that supports Intel® Software Guard Extensions.

Prerequisites

Make sure you installed the following software on your machine.

Installation

  1. Get access to the enclaive/sgx_login repository.
  2. Clone the repository.
git clone git@github.com:enclaive/sgx_login.git
  1. Open sgx-login.sln in Microsoft Visual Studio.

Problems

The Build Version has to be the latest installed version to run this project and has to be selected for every project. The user can easily right click on one project:

Proprties -> General -> Windows SDK Version. 

The second problem could be solved by right click on one project:

Properties -> Extended -> Character Set -> Use Multibyte Character

instead of Unicode. The other setup to set the project directories right is to go to the

Properties -> Debugging -> Woring Directory: $(OutDir)

for each project.

Usage

The example sgx_login project is a console project where the user can be registered, logged in and logged out. Just start the project using the normal function in Visual Studio and the console will appear. If the user needs any help, just type help to get some information to use the app. The following commands can be used:

Commands Description
help List all commands
register Register a user with username and password
login User can be logged in with username and password
logout User can be logged out with the username
verify Check if the username exists

TL;DR

This project implements different SGX technologies

  • Intel sealing technology
  • Enclave Libary

Contributing

Leon, Jannes, Tom built this Intel SGX login project.

Releases

No releases published

Packages

No packages published