originally src/status from desktop, refactored as a library [archived]
Go to file
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
.github/workflows Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
backends Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
build feat: dynamic library - pt1 (#9) 2021-09-10 11:29:10 -04:00
scripts chore: add GitHub Actions workflow to run tests (#66) 2021-09-29 08:52:30 -04:00
status Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
test feat: dynamic library - pt1 (#9) 2021-09-10 11:29:10 -04:00
test_nim Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
types Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
vendor Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
.gitignore abstract backend; add mock backend and testing (#57) 2021-09-28 17:00:43 -04:00
.gitmodules Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
LICENSE Initial commit 2021-09-08 12:16:18 -04:00
Makefile Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
README.md Initial import 2021-09-08 14:09:35 -04:00
env.sh abstract backend; add mock backend and testing (#57) 2021-09-28 17:00:43 -04:00
eventemitter.nim Initial import 2021-09-08 14:09:35 -04:00
nim_status_lib.nimble Keycard initial integration (#63) 2021-10-04 17:21:07 -04:00
statuslib.nim feat: dynamic library - pt1 (#9) 2021-09-10 11:29:10 -04:00

README.md

nim-status-lib

WIP refactor to extract business logic from status-desktop into a reusable library