trezor-ci
13e1275ffb
npm-prerelease: @trezor/protocol 1.3.0-beta.1
2025-11-25 13:16:18 +01:00
Szymon Lesisz
a43bdb2945
refactor(protocol): encode ThpAck **only** from ThpState
2025-11-24 18:12:18 +01:00
Szymon Lesisz
10c54bd35d
refactor(protocol): THP getControlBit returns both ack and sequence bits
2025-11-24 18:12:18 +01:00
Szymon Lesisz
3d948f28ff
feat(protocol): add ThpState sendAckBit and receiveAckBit
2025-11-24 18:12:18 +01:00
Szymon Lesisz
161406226b
fix(protobuf): add patch for ThpDeviceProperties.pairing_methods
2025-11-20 16:40:54 +01:00
karliatto
6855b5e74f
feat(protocol): power status change notification
2025-11-20 10:48:51 +01:00
Szymon Lesisz
37cd1c6ba1
Revert "fix(transport): allow skipping ThpAck from device"
...
This reverts commit 118327a6ba .
2025-11-13 17:08:02 +01:00
trezor-ci
fd0b9af6a7
npm-prerelease: @trezor/protocol 1.2.11-beta.1
2025-11-12 14:06:21 +01:00
Marek Polak
118327a6ba
fix(transport): allow skipping ThpAck from device
2025-11-11 15:04:47 +01:00
trezor-ci
e9c4ddbfce
npm-release: @trezor/protocol 1.2.10
2025-10-23 12:39:34 +02:00
trezor-ci
f4d27203cc
npm-prerelease: @trezor/protocol 1.2.10-beta.1
2025-10-20 16:33:17 +02:00
Szymon Lesisz
612f40e74d
feat(connect): handle channel replacement in THP pairing
2025-10-08 16:24:20 +02:00
Marek Polak
ca048710ce
fix(connect): use randomly generated staticKey in first pairing
2025-10-08 15:47:36 +02:00
Marek Polak
26ebf67f63
fix(connect): throw away credentials unaccepted by device
2025-10-08 11:40:08 +02:00
M1nd3r
64eeb31575
chore: add try_to_unlock to handshake hash
2025-10-06 11:20:32 +02:00
Marek Polak
a8aff3e3f8
feat(connect): add tryToUnlock to ThpHandshakeInitRequest
2025-10-06 11:20:32 +02:00
Marek Polak
bdd7b7bb61
refactor(connect): random thp code polish
2025-10-06 11:20:32 +02:00
M1nd3r
b3233240b4
chore(protocol): remove unused ThpInvalidData error type
2025-09-30 10:51:58 +02:00
Jiri Zbytovsky
295afab848
chore(protobuf): update protobuf
2025-09-29 18:01:43 +02:00
karliatto
c2dca4f0bd
feat(protocol): exports for trezor push notification
2025-09-27 12:17:39 +02:00
karliatto
70f0b76f2e
feat(protocol): trezor-push-notification decode
2025-09-26 12:38:54 +02:00
Tomas Martykan
37a4375b33
fix(protocol-thp): add error to getExpectedHeaders
2025-09-25 10:30:54 +02:00
trezor-ci
e21f2f2efd
npm-release: @trezor/protocol 1.2.9
2025-09-18 15:07:11 +02:00
trezor-ci
0c08a0b9de
npm-prerelease: @trezor/protocol 1.2.9-beta.1
2025-09-09 12:18:22 +02:00
Szymon Lesisz
d84fe7ae25
fix(protocol): do not reset ThpState.properties
2025-08-28 11:20:29 +02:00
Szymon Lesisz
30e20f7096
fix(protocol): ignore unexpected chunks in ThpAck after send
2025-08-21 17:29:12 +02:00
Szymon Lesisz
dd0312cf0b
feat(connect): implement THP passphrase flow
2025-08-18 16:01:21 +02:00
Szymon Lesisz
de01a0302e
feat(connect): cancel THP workflow
2025-08-18 16:01:21 +02:00
Szymon Lesisz
1a7e054e21
feat(connect): implement THP pairing
2025-08-18 16:01:21 +02:00
Szymon Lesisz
2d26b5c928
feat(protocol): add THP pairing messages and state
2025-08-18 16:01:21 +02:00
Szymon Lesisz
f16730bebb
feat(protocol): add THP pairing cryptography
...
Functions used by THP pairing workflow
2025-08-18 16:01:21 +02:00
Szymon Lesisz
0c16c5f1fc
chore(protobuf): update ThpPairingRequest message
2025-08-13 21:16:10 +02:00
Szymon Lesisz
94267f36aa
chore(protobuf): update THP protobuf messages
...
- rename *_static_pubkey > *_static_public_key
- added `ButtonAck` to thp.proto
2025-07-22 09:58:21 +02:00
Szymon Lesisz
3270d50505
chore(protobuf): update THP MessageType enum
2025-07-17 06:47:16 +02:00
trezor-ci
7c24d6bdb8
npm-release: @trezor/protocol 1.2.8
2025-07-11 06:40:41 +02:00
trezor-ci
45c2211e42
npm-prerelease: @trezor/protocol 1.2.8-beta.1
2025-07-07 09:54:48 +02:00
trezor-ci
377bdbcb53
npm-release: @trezor/protocol 1.2.7
2025-06-25 06:44:23 +02:00
Jan Václavík
1a1786a1ab
chore(suite): Update tsx
2025-06-24 15:52:19 +02:00
Szymon Lesisz
990ba54344
feat(protocol): add ThpState.sync and getExpectedHeaders functions
2025-06-24 14:06:19 +02:00
Szymon Lesisz
dddcb76000
fix(protocol): throw decode error if bytes.length < header size
...
PROTOCOL_MALFORMED instead of "Attempt to access memory outside buffer bounds"
2025-06-24 14:05:09 +02:00
trezor-ci
381415fe44
npm-prerelease: @trezor/protocol 1.2.7-beta.1
2025-06-12 14:03:52 +02:00
Szymon Lesisz
b5cb747767
feat(protocol): add THP protobuf definitions and types
2025-06-04 20:04:46 +02:00
Szymon Lesisz
b893516894
chore(protocol): rename getChunkHeader to getHeaders and return [header, chunkHeader]
2025-06-04 13:42:30 +02:00
Szymon Lesisz
b3056f54d2
feat(protocol): add THP cryptography
...
Co-authored-by: Ondřej Vejpustek <ondrej.vejpustek@satoshilabs.com >
following: https://github.com/trezor/trezor-firmware/pull/3435
2025-05-26 09:49:51 +02:00
Szymon Lesisz
b33b491b40
feat(protocol): add THP encoding/decoding logic
...
- only one message exchange is supported ThpCreateChannelRequest > ThpCreateChannelResponse
- without cryptography module. will be added in the next commit
2025-05-23 14:52:42 +02:00
Szymon Lesisz
c883e604c1
feat(protocol): add credentials to ThpState
2025-05-23 14:52:42 +02:00
trezor-ci
a81dd382d4
npm-release: @trezor/protocol 1.2.6
2025-05-15 12:04:22 +02:00
trezor-ci
14db93b8d9
npm-prerelease: @trezor/protocol 1.2.6-beta.1
2025-05-08 11:20:10 +02:00
Tomas Martykan
eb758acea9
chore: apply latest prettier
2025-05-05 13:51:36 +02:00
Szymon Lesisz
5838888e83
feat(protocol): add THP protobuf types and state
2025-04-24 11:17:27 +02:00