Commit Graph

10 Commits

Author SHA1 Message Date
Evgeny Poberezkin 41681aaa6b SMP handshake - validate key hash and protocol version 2021-10-26 21:38:15 +01:00
Evgeny Poberezkin e8fe5632f4 SMP transport handshake works 2021-10-21 20:16:11 +01:00
Evgeny Poberezkin 61e452356b transport test 2021-10-18 07:28:49 +01:00
Evgeny Poberezkin 78565914db SMP client transport handshake (WIP) 2021-10-16 22:56:41 +01:00
Evgeny Poberezkin d79c9d7ef5 cryptographic primitives (#118)
* AES-GSM encryption with padding

* RSA-OAEP encryption and key generation

* SPKI encoding/decoding RSA public keys

* rename functions

* encode/decode RSA keys using asn1lib library

* remove poitycastle namespace

* remove unnecessary typecheck

* fix: ci

Co-authored-by: alex <alex@tekartik.com>
2021-10-16 14:02:06 +01:00
Evgeny Poberezkin fd247a4e6b style: prefer single quotes (#117) 2021-10-09 13:12:12 +01:00
Evgeny Poberezkin 19ef1f65db abstract Transport class, SocketTransport class (#115)
* abstract Transport class, SocketTransport class

* build: import simplexmq

* feat: simple io transport unit test for read and write

* more efficient buffer extension

Co-authored-by: alex <alex@tekartik.com>
2021-10-09 12:42:41 +01:00
Alexandre Roux 09ace76b82 build: setup dart simple ci using github actions (#114) 2021-10-04 20:27:37 +01:00
Evgeny Poberezkin e198424da8 move flutter app to packages (#112)
* remove flutter app from root

* add flutter app to packages

* ci: haskell build only on haskell changes

* update app identifiers
2021-10-03 19:59:08 +01:00
Evgeny Poberezkin a39cd2990f SMP protocol commands encoding/decoding (#111)
* SMP protocol commands encoding/decoding

* change "var" to type

* Parser `word` method now returns null if the word is empty

* refactor Parser `word` method

* move Parser `end` getter

* add linter rules, move linter options to root

* remove omit_local_variable_types linter rule

* ci: only build haskell on changes
2021-10-03 19:10:11 +01:00