https://github.com/feido-token/feido-middleware-app
FeIDo's client middleware for inter-component communication.
https://github.com/feido-token/feido-middleware-app
android eid fido2 middleware pace ra-tls webauthn
Last synced: 4 months ago
JSON representation
FeIDo's client middleware for inter-component communication.
- Host: GitHub
- URL: https://github.com/feido-token/feido-middleware-app
- Owner: feido-token
- License: lgpl-2.1
- Created: 2022-09-01T15:50:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-07T17:01:53.000Z (over 3 years ago)
- Last Synced: 2024-05-10T00:04:45.464Z (about 2 years ago)
- Topics: android, eid, fido2, middleware, pace, ra-tls, webauthn
- Language: Java
- Homepage:
- Size: 136 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FeIDo Middleware Android App
This is the Android prototype of the FeIDo client middleware.
The middleware acts an intermediate between the eID, Credential Service, and
browser extension.
## Build Preparation
**Note:** Please fetch this repo as a submodule of the umbrella repo: https://github.com/feido-token/feido.
Otherwise, the symoblic links to the FeIDo protobuf files will not resolve.
1. Initialize the submodule(s):
```
git submodule update --init --recursive
```
2. Patch the ra-tls library:
```
cd external/java-ra-tls-client
patch -p1 < ../../patches/patch_to_9ccbbd212a19125f77f8c8742df1926cff4a58d2_java-ra-tls-client.patch
```
3. Manually configure the IP Addresses of the Credential Service and optionally
adapt the port on which the middleware's websocket server should be listening
for connections by the browser extension:
In the `LinearFEIDO.java` source file, adapt the `SGXIP` (and optionally, `SGXPort`)
fields to configure the address of the Credential Service to which the middleware
will connect.
Optionally, adapt the middleware's websocket server port by changing the `webSocketServerPort`
field in the same source file.
## Build Instructions
Open the folder in a recent version of Android Studio and build + install the app
on an Android phone *with NFC support*.
We have successfully tested the prototype using a `Samsung Galaxy S8` with `Android 9 (Pie)`
installed.
## Limitations
Note that the current version of the FeIDo middleware app is a proof of concept, not a production-ready prototype.
The current implementation does not perform thorough cleanup and exception handling and might face callstack-related overflows.