DO NOT USE! This library is in heavy development and is in constant flux. It is not ready for use.
Irmago is an IRMA client in Go: it can receive IRMA attributes, store them, disclose them to others, and use them to create attribute-based signatures. In more detail:
- It is the client (like the IRMA Android app) in the IRMA protocol
- It parses credential and issuer definitions and public keys
- It also implements the keyshare protocol and handles registering to keyshare servers.
For running the unit tests, you need to run irma_keyshare_server and irma_api_server locally.
-
Copy the
irma_configuration
folder fromtestdata/
to the configuration of the Keyshare server.- Note that a
gradle appRun
won't automatically use the newirma_configuration
folder if it was already built with an old one. For this, usegradle clean
.
- Note that a
-
Add the keyshare user used in the unit tests to the keyshare database by a command like this:
mysql -uirma -pirma irma_keyshare < keyshareuser.sql
-
Make sure
check_user_enabled
is set to false in the Keyshare server configuration. Other options are already setup correctly in the example configuration.
- Copy the
irma_configuration
folder fromtestdata/
to the configuration of the IRMA api server.- Note that a
gradle appRun
won't automatically use the newirma_configuration
folder if it was already built with an old one. For this, usegradle clean
.
- Note that a
The tests can be run by using:
go test