docs/common: add links and fix some typos

pull/846/head
Tomas Susanka 4 years ago
parent f947fe97cc
commit b4846e484a

@ -17,7 +17,9 @@
- [Memory layout](hardware/model-t/memory.md)
- [Model One](hardware/model-one/index.md)
- [Common](common/index.md)
- [Communication](common/communication.md)
- [Communication](common/communication/index.md)
- [Sessions](common/communication/sessions.md)
- [Passphrase](common/communication/passphrase.md)
- [Storage](storage/index.md)
- [Tests](tests/index.md)
- [CI](tests/ci.md)

@ -7,3 +7,9 @@ We use [Protobuf v2](https://developers.google.com/protocol-buffers/) for host-d
## Definitions
Protobuf messages are defined in the [Common](https://github.com/trezor/trezor-firmware/tree/master/common) project, which is part of this monorepo. This repository is also exported to [trezor/trezor-common](https://github.com/trezor/trezor-common) to be used by third parties, which prefer not to include the whole monorepo. That copy is read-only mirror and all changes are happening in this monorepo.
## Notable topics
- [Sessions](sessions.md)
- [Passphrase](passphrase.md)

@ -1,6 +1,6 @@
# Passphrase
As of \[versions TBD\] we have changed how [passphrase](https://wiki.trezor.io/Passphrase) is communicated between the Host and the Device.
As of 2.3.0 we have changed how [passphrase](https://wiki.trezor.io/Passphrase) is communicated between the host and the device.
Passphrase is very tightly coupled with _sessions_. The reader is encouraged to read on that topic first in the [sessions.md](sessions.md) section.
@ -20,7 +20,7 @@ PassphraseAck
In the default Trezor setting, the passphrase is obtained from the Host. Trezor sends a PassphraseRequest message and awaits PassphraseAck as a response. This message contains field `passphrase` to transmit it or it has `on_device` boolean flag to indicate that the user wishes to enter the passphrase on Trezor instead. Setting both `passphrase` and `on_device` to true is forbidden.
Note that this has changed as of TBD. In previous firmware versions the `on_device` flag was in the PassphraseRequest message, since this decision has been made on Trezor. We also had two additional messages PassphraseStateRequest and PassphraseStateAck which were removed.
Note that this has changed as of 2.3.0. In previous firmware versions the `on_device` flag was in the PassphraseRequest message, since this decision has been made on Trezor. We also had two additional messages PassphraseStateRequest and PassphraseStateAck which were removed.
## Example

@ -8,7 +8,7 @@ JSON coin definitions and support tables.
## Protobuf Definitions
Common Protobuf definitions for the Trezor protocol.
Common Protobuf definitions for the Trezor protocol. Also see [Communication](communication/index.md).
## Tools

Loading…
Cancel
Save