Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/igniterealtime/openfire-irmaserver-plugin

I Reveal My Attributes to Openfire.
https://github.com/igniterealtime/openfire-irmaserver-plugin

irma openfire

Last synced: 2 months ago
JSON representation

I Reveal My Attributes to Openfire.

Awesome Lists containing this project

README

        

# IRMA Plugin for openfire

I Reveal My Attributes to Openfire

IRMA is the unique platform that makes you digitally self-sovereign and gives you full control over your personal data: with IRMA on your phone you are empowered not only to prove who you are, but also to digitally sign statements. See https://privacybydesign.foundation/en/

This plugin does the following:

* Embeds [irmago](https://github.com/privacybydesign/irmago) the IRMA server, client, and tooling component
* Exposes irmago web services from openfire using a reverse proxy. Endpoint by default is https://your_server:7443/irmaproxy
* Provides an Admin UI in Openfire to configure irmago settings
* Provides a demo web page to test your setup. Go to https://your_server:7443/irmaproxy
* Controls the irmago binary process, starting and stopping the Linux/Windows image.

## How to use

Include [irmajs](https://github.com/privacybydesign/irmajs) in your web app and do something like this to request a web site visitor to reveal their verified mobile phone number as IRMA attribute

```
const request = {
'@context': 'https://irma.app/ld/request/disclosure/v2',
'disclose': [
[
[ 'pbdf.pbdf.mobilenumber.mobilenumber' ]
]
]
};

irma.startSession("https://your_server:7443/irmaproxy", request)
.then(({ sessionPtr, token }) => irma.handleSession(sessionPtr, {server, token}))
.then(result => console.log('Done', result));
```

## TODO
Enable admin UI to edit all the irmago server config settings.

## CI Build Status

[![Build Status](https://github.com/igniterealtime/openfire-irmaserver-plugin/workflows/Java%20CI/badge.svg)](https://github.com/igniterealtime/openfire-irmaserver-plugin/actions)

## Reporting Issues

Issues may be reported to the [forums](https://discourse.igniterealtime.org) or via this repo's [Github Issues](https://github.com/igniterealtime/openfire-irmaserver-plugin).