Skip to content

keysafe-protocol/keysafe-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keysafe-sgx

requirements

linux-sgx

baidu-rust-sgx-sdk

mysql database

  • install mysql-server
  • create a database, then import schema.sql into your database

enterprise email account

  • you will need an email account to send notification mail to users when they register

build ks-sgx

  • clone ks-sgx in another directory,
  • if you don't have an enclave hardware support
make SGX_MODE=SW
  • if you have an enclave hardware support
make

build keysafe-app

  • download baidu sgx-sdk with the name incubator-teaclave-sgx-sdk
  • copy the code into incubator-teaclave-sgx-sdk/samplecode
  • change Makefile SGX_SDK and TOP_DIR according to your environment
  • if you don't have an enclave hardware support
make SGX_MODE=SW
  • if you have an enclave hardware support
make -f MakeHwFile
  • when build failed, change app/build.rs with specific path to your linux-sgx install dir

execute

  • cd bin
  • cp ../app/conf.toml .
  • add your db config, email config all in this file.
node_api_port = 12345 # this is for your app port, might require sudo when this port is less than 1024
  • when env = dev, sendmail will not happen.
  • copy your certificate files in certs.
  • ./app

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •