A library to secure your application authentication using Intel® Software Guard Extensions
Report Bug
·
Request Feature
Table of Contents
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.
This application needs hardware that supports Intel® Software Guard Extensions.
Make sure you installed the following software on your machine.
- Get access to the enclaive/sgx_login repository.
- Clone the repository.
git clone git@github.com:enclaive/sgx_login.git
- Open
sgx-login.sln
in Microsoft Visual Studio.
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.
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 |
This project implements different SGX technologies
- Intel sealing technology
- Enclave Libary
Leon, Jannes, Tom built this Intel SGX login project.