Add an email address for use in your IRMA app.
Go, Gradle v4, JDK, Yarn, and an installation of IRMA server:
git clone git@github.com:privacybydesign/irmago.git
cd irmago/
go install ./irma
- Clone repository
git clone git@github.com:privacybydesign/irma_email_issuer.git
cd irma_email_issuer/
- Generate JWT keys for the issuer
./utils/keygen.sh ./src/main/resources/sk ./src/main/resources/pk
- Build the project
gradle build
- Copy
src/main/resources/config.sample.json
tobuild/resources/main/config.json
and modify it
cp src/main/resources/config.sample.json build/resources/main/config.json
sed -i 's/"secret_key": "",/"secret_key": "thisisjustavalueandnotarealsecretsomemorecharactersuntilwehave64",/' ./build/resources/main/config.json
- Create and configure front end
( cd webapp/
yarn install
./build.sh nl
cat > build/assets/config.js <<EOD
var config = {
IRMASERVER: 'http://localhost:8088',
EMAILSERVER: 'http://localhost:8080/irma_email_issuer',
};
EOD
)
cp -a webapp/ src/main/
- Configure mail delivery in
build/resources/main/config.json
- Start IRMA server (in the root directory of this project)
~/go/bin/irma server --static-path ./webapp/build
- Run the application
gradle appRun
- Navigate to
http://localhost:8088/
with CORS disabled (for example:chromium --disable-web-security --user-data-dir=/tmp/chromium-disable-web-security
)