Issuer entity of AIAS project.
This entity is responsible for first registering for users.
Note: In this repository, the server use sms authentication, but we should use eKYC.
Clone this repository.
git clone https://github.com/pj-aias/aias-issuer
cd aias-issuer
Write .env file to set enviroment variables. It have to fill all variable to work.
cp .env.sample .env
vim .env # write
AIAS_DEBUG=false
AIAS_ISSUER_PRIVKEY="RSA private key PEM file"
SMS_FROM="twilio phone number"
ACCOUNT_ID="twilio account id"
AUTH_TOKEN="twilio authentication token"
Create sqlite3 DB with the cat command.
touch aias.db
Run servers with docker-compose command.
docker-compose up
# cargo run