mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
add trust dialog info (#102)
* add trust dialog info * fixes * fix warning note
This commit is contained in:
BIN
assets/trust-dialog.png
Normal file
BIN
assets/trust-dialog.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
@@ -93,7 +93,27 @@ With another machine or friend that has `pear` installed execute the `pear run <
|
||||
pear run pear://nykmkrpwgadcd8m9x5khhh43j9izj123eguzqg3ygta7yn1s379o
|
||||
```
|
||||
|
||||
When `pear run` is executed on the peer machine the staged application should open on that peer. If the application is being opened for the first time on the peer it has no state at all, so the application may show a loader until it's ready to reveal.
|
||||
When `pear run` is executed on the peer machine there will be a security prompt to add the key to a list of trusted applications by typing 'TRUST'.
|
||||
|
||||
When running a terminal application using an untrusted key for the first time the prompt would be:
|
||||
|
||||
```
|
||||
pear run pear://nykmkrpwgadcd8m9x5khhh43j9izj123eguzqg3ygta7yn1s379o
|
||||
✖ Key pear://nykmkrpwgadcd8m9x5khhh43j9izj123eguzqg3ygta7yn1s379o is not known
|
||||
|
||||
Be sure that software is trusted before running it
|
||||
|
||||
Type "TRUST" to allow execution or anything else to exit
|
||||
|
||||
Trust application?
|
||||
```
|
||||
The trust dialog is a security mechanism in Pear that appears when the user tries to run an application from an unknown or untrusted key for the first time. In case that the app is run in detached mode, for example, when clicking on a pear link in the browser, the trust dialog is a GUI (Graphical User Interface).
|
||||
|
||||

|
||||
|
||||
> During development with `pear dev`, applications are automatically trusted, as they are assumed to be safe for testing purposes. Trust dialog can be suppressed using the `--no-ask-trust` flag with `pear run` in which case the application will automatically decline unknown keys.
|
||||
|
||||
The application has no state when it's opened for the first time, so the application may show a loader until it's ready to reveal.
|
||||
|
||||
The application staging machine that is running the seeding process should show output similar to:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user