mirror of
https://github.com/tlsnotary/docs-mdbook.git
synced 2026-01-07 20:03:53 -05:00
Revert browser related pages to v5.
This commit is contained in:
committed by
Hendrik Eeckhaut
parent
31a11f798e
commit
7940352a12
@@ -10,7 +10,7 @@ The easiest way to install the TLSN browser extension is to use **[Chrome Web St
|
||||

|
||||
|
||||
Alternatively, you can install it manually:
|
||||
1. Download the browser extension from <https://github.com/tlsnotary/tlsn-extension/releases/download/0.1.0.6/tlsn-extension-0.1.0.6.zip>
|
||||
1. Download the browser extension from <https://github.com/tlsnotary/tlsn-extension/releases/download/0.1.0.5/tlsn-extension-0.1.0.5.zip>
|
||||
2. Unzip
|
||||
⚠️ This is a flat zip file, so be careful if you unzip from the command line, this zip file contains many file at the top level
|
||||
3. Open **Manage Extensions**: <chrome://extensions/>
|
||||
@@ -51,7 +51,7 @@ To create a TLSNotary proof, the browser extension needs a TLSNotary notary serv
|
||||
To use the TLSNotary team notary server:
|
||||
1. Open the extension
|
||||
2. Click **Options**
|
||||
3. Update Notary API to: `https://notary.pse.dev/v0.1.0-alpha.6`
|
||||
3. Update Notary API to: `https://notary.pse.dev/v0.1.0-alpha.5`
|
||||
4. Click **Save**
|
||||
5. Skip the next section and [continue with the notarization step](#notarize)
|
||||
|
||||
@@ -68,9 +68,9 @@ If you plan to run a local notary server:
|
||||
|
||||
1. Clone the TLSNotary repository (defaults to the `main` branch, which points to the latest release):
|
||||
```shell
|
||||
git clone https://github.com/tlsnotary/tlsn.git
|
||||
git clone --branch v0.1.0-alpha.5 https://github.com/tlsnotary/tlsn.git
|
||||
```
|
||||
2. Edit the notary server config file (`notary/server/config/config.yaml`) to turn off TLS so that the browser extension can connect to the local notary server without requiring extra steps to accept self-signed certificates in the browser.
|
||||
2. Edit the notary server config file (`notary-server/config/config.yaml`) to turn off TLS so that the browser extension can connect to the local notary server without requiring extra steps to accept self-signed certificates in the browser.
|
||||
```yaml
|
||||
tls:
|
||||
enabled: false
|
||||
@@ -78,7 +78,7 @@ If you plan to run a local notary server:
|
||||
```
|
||||
3. Run the notary server:
|
||||
```shell
|
||||
cd notary/server
|
||||
cd notary-server
|
||||
cargo run --release
|
||||
```
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ In this demo, we will request JSON data from the Star Wars API at <https://swapi
|
||||
1. Open `app.tsx` in your favorite editor.
|
||||
2. Replace `notaryUrl: 'http://localhost:7047',` with:
|
||||
```ts
|
||||
notaryUrl: 'https://notary.pse.dev/v0.1.0-alpha.6',
|
||||
notaryUrl: 'https://notary.pse.dev/v0.1.0-alpha.5',
|
||||
```
|
||||
This makes this webpage use the [PSE](https://pse.dev) notary server to notarize the API request. Feel free to use different or [local notary](#local); a local server will be faster because it removes the bandwidth constraints between the user and the notary.
|
||||
3. Replace `websocketProxyUrl: 'ws://localhost:55688',` with:
|
||||
@@ -38,7 +38,7 @@ In this demo, we will request JSON data from the Star Wars API at <https://swapi
|
||||
Because a web browser doesn't have the ability to make TCP connection, we need to use a websocket proxy server. This uses a proxy hosted by [PSE](https://pse.dev). Feel free to use different or [local notary](#local) proxy.
|
||||
4. In `package.json`: check the version number:
|
||||
```json
|
||||
"tlsn-js": "v0.1.0-alpha.6.0"
|
||||
"tlsn-js": "v0.1.0-alpha.5.0"
|
||||
```
|
||||
5. Install dependencies
|
||||
```sh
|
||||
@@ -76,16 +76,16 @@ For this demo, we also need to run a local notary server.
|
||||
|
||||
1. Clone the TLSNotary repository (defaults to the `main` branch, which points to the latest release):
|
||||
```sh
|
||||
git clone https://github.com/tlsnotary/tlsn.git
|
||||
git clone --branch v0.1.0-alpha.5 https://github.com/tlsnotary/tlsn.git
|
||||
```
|
||||
2. Edit the notary server config file (`notary/server/config/config.yaml`) to turn off TLS so that self-signed certificates can be avoided.
|
||||
2. Edit the notary server config file (`notary-server/config/config.yaml`) to turn off TLS so that self-signed certificates can be avoided.
|
||||
```yaml
|
||||
tls:
|
||||
enabled: false
|
||||
```
|
||||
3. Run the notary server:
|
||||
```sh
|
||||
cd notary/server
|
||||
cd notary-server
|
||||
cargo run --release
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user