31 lines
834 B
Markdown
31 lines
834 B
Markdown
|
WebRTC-PoC
|
||
|
==========
|
||
|
|
||
|
WebRTC fingerprint authentication proof-of-concept.
|
||
|
|
||
|
Build Instructions
|
||
|
------------------
|
||
|
|
||
|
```bash
|
||
|
$ npm install
|
||
|
$ npm start
|
||
|
```
|
||
|
|
||
|
PoC will be available at `http://0.0.0.0:3000`.
|
||
|
|
||
|
Key Components
|
||
|
--------------
|
||
|
|
||
|
This PoC demonstrates the possibility of the following:
|
||
|
1. Generate, store, and load a specific RTCCertfiicate.
|
||
|
2. Upload the certificate fingerprint to a webserver.
|
||
|
3. Establish a WebRTC session between two browser instances, verify the
|
||
|
certificate used has been registered and terminate the connection if not.
|
||
|
|
||
|
Currently this only runs on Chrome due to client-side JS calling a
|
||
|
`RTCCertificate.getfingerprint()` function. However, it shouldn't be too
|
||
|
hard creating a shim for this function to work with FireFox, at the cost of
|
||
|
some performance issues (and potentially making the function async).
|
||
|
|
||
|
|