Commit Graph

10 Commits

Author SHA1 Message Date
Andrea Franz 08c16f00d8
add address to exported key
(cherry picked from commit f33649c885)
2021-10-08 12:44:59 +03:00
Andrea Franz 11a46353c1
raise KeycardExportKeyException
(cherry picked from commit 564af902e6)
2021-10-08 12:44:28 +03:00
Andrea Franz c4d60013fd
parse remainingAttempts from wrong pin error
(cherry picked from commit f6fa69e9dc)
2021-10-07 14:20:36 +03:00
Andrea Franz b602caf727
keycardExportKey returns priv/pub key 2021-10-07 09:09:45 +03:00
Andrea Franz 089413e6bf
add keycard pair and generateKey methods 2021-10-07 09:09:44 +03:00
Andrea Franz 5fd312a041
add keycardGetStatusApplication 2021-10-07 09:09:25 +03:00
Andrea Franz 45887b1724
Keycard initial integration (#63)
* add nim-keycard-go to makefile

* fix keycard-go build

* add keycard.nim

* remove test make task

* remove debug line from makefile

* fix import keycard_go

* add keycard-go to .PHONY

* add keycard start/stop/select methods

* use https url for submodule

* add KeycardApplication info and return it from select

* update nim-keycard-go version

* fix select return type

* actually return the result

* update nim-keycard-go

* add keycard methods to backend

* add base/mock keycard backends

* imports

* export keycard methods in backend

* update start/stop keycard implementation

* add KeycardStarted signal

* fix keycard started signal

* rename to KeycardConnected signal

* fix keycard signal renamed

* add keycardgo in makefile tasks

* add back build/.gitignore

* fix .gitignore

* fix .gitignore

* Makefile: export keycard vars

* add keycard lib to nimble file

* use spaces instead of tabs in non-recipe sections of Makefile

* use install_name_tool on libkeycard on macOS

* in GHA ubuntu environment install libpcsclite-dev with apt at start of workflow

* add Keycard exceptions

* remove useless test

* remove useless return

* move keycard types to /types

* reraise exception from status/keycard.nim

* remove unused import

* add keycard commands: opensecure channel, pair, verify pin, export key

* fix last keycard commands

* add exportKey params

* update nim-keycard-go

Co-authored-by: Michele Balistreri <michele@bitgamma.com>
Co-authored-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2021-10-04 17:21:07 -04:00
Anthony Laibe c7722cda00
refactor: Group profile function and eth function together (#67)
* refactor: Group profile function and eth function together

* refactor: group eth backend

* refactor: Move various eth call to eth backend

* refactor: move accounts call to account backend

* refactor: permission
2021-10-01 12:53:38 -04:00
Anthony Laibe 62a7c02153
Fix: loading backend from master desktop (#69) 2021-09-29 11:09:38 -04:00
Iuri Matias 5285cf7d8c
abstract backend; add mock backend and testing (#57)
abstract backend; add mock backend and testing

move bookmarks to backend wrapper

move bookmarks to backend wrapper

move bookmarks to backend wrapper

working version

cleanup

add mock backend

add nimble task & test folder

add evn.sh

make test run; implement bookmark method in the mock

add nim unit test

removing duplicated statement that was causing tests to run twice

re-enable other initilizations in the status object; support specifying backend in the constructor

update bookmark test

update bookmark test

update nimble and makefile

update nimble and makefile

update bookmarks test

remove old browser file
2021-09-28 17:00:43 -04:00