Igor Sirotin
6e63788d31
chore: project layout improve ( #12 )
2025-01-20 11:57:27 +01:00
Igor Sirotin
254ffc7c51
ci: simple build and lint jobs, upgrade to Go 1.22 ( #14 )
...
* ci: simple build and lint jobs, upgrade to Go 1.22
* ci: install pcsc-lite
* fix: linter issues
* fix: bump golangci-lint version
* fix: go mod tidy
* fix: rebase issues
* feat: make lint command
* ci: add pcsc lib
2025-01-20 11:45:31 +01:00
Michele Balistreri
bd8b4820bf
Merge pull request #8 from keycard-tech/keycard-310
...
Add 3.1 functionalities
2025-01-20 19:22:23 +09:00
Michele Balistreri
c042eb6df6
update scard dependency
2025-01-20 11:20:28 +01:00
Michele Balistreri
e5b9998475
export walletkey in all cases for now
2025-01-20 11:20:23 +01:00
Michele Balistreri
690d9a8e85
add card authenticity check
2025-01-20 11:19:28 +01:00
Michele Balistreri
adba9b37a6
add export of xpub keys
2025-01-20 11:08:21 +01:00
Igor Sirotin
683ce8523b
chore: project layout ( #10 )
...
* chore: move error, logger, types. and utils
* chore: make public methods, update references
* chore: move keycard_context
* chore: make public methods, update references
* chore: move pairing store
* chore: make public methods, update references
* chore: move flow files
* chore: make public, update references
* chore: gitignore jetbrains idea files
2025-01-10 12:13:43 +00:00
Michele Balistreri
8122bdc0f3
Merge pull request #9 from keycard-tech/fix-16904
...
fix crash on macos/linux when unplugging reader during scan
2024-12-14 08:59:40 +09:00
Michele Balistreri
96be8e02d7
update deps
2024-12-13 11:15:29 +09:00
Michele Balistreri
16d62b4536
use cross-platform filepath function
2024-01-18 11:35:33 +01:00
Sale Djenic
b29cbbfef6
fix: details of the default export flow updated
2023-11-15 08:37:29 +01:00
Sale Djenic
1a86f57a96
feat: keycard lib mocked
2023-09-25 11:53:23 +02:00
Michele Balistreri
c6b7095a85
add v2 factory reset
2023-09-08 09:09:43 +09:00
Michele Balistreri
0f6eab0141
use the wrapper Transmit function
2023-04-27 08:34:27 +02:00
Michele Balistreri
65313d6767
call all pcsc funcs from a single os thread
2023-04-26 15:42:11 +02:00
Alex Jbanca
ad9531fa4b
Merge pull request #5 from status-im/chore/add-arm64-support
...
chore: Enable arm64 build
Removing the FORCED_ARCH flag as it's not needed.
The build can be configured from make command:
make build-lib CGOFLAGS="CGO_ENABLED=1 GOOS=darwin GOARCH=amd64"
2023-03-22 14:23:06 +02:00
Alex Jbanca
ff3c3ffc0b
chore: Enable arm64 build
2023-03-15 10:58:27 +02:00
Alex Jbanca
466dc85a89
Merge pull request #4 from status-im/chore/add-arm64-support
...
chore: Add M1 support
2023-03-14 10:07:12 +02:00
Alex Jbanca
0643533614
chore: Add M1 support
2023-03-10 09:03:22 +02:00
Michele Balistreri
5bfafd14e6
distinguish pcsc errors
2023-02-03 08:59:51 +01:00
Michele Balistreri
bba2be219a
add instanceuid/keyuid
2023-02-03 08:26:44 +01:00
Michele Balistreri
b50cfe22ac
add public key to getmetadata
2022-12-30 08:03:21 +01:00
Michele Balistreri
73e8c3e830
add key uid to all flows
2022-12-29 14:49:26 +01:00
Michele Balistreri
01c3a00862
allow exporting multiple paths at once
2022-12-22 10:00:34 +01:00
Michele Balistreri
704e58621d
support both float64 and int for mnemonic length
2022-11-18 11:48:58 +01:00
Michele Balistreri
ce6c83bea5
fix example
2022-11-17 18:51:11 +01:00
Michele Balistreri
b91e6c4f9d
now length is int
2022-11-17 18:50:34 +01:00
Michele Balistreri
f8d203fc9e
add instance uid to flows
2022-11-16 13:23:45 +01:00
Michele Balistreri
af64234d1a
update deps
2022-11-08 15:43:37 +01:00
Michele Balistreri
e4fef0fb36
add master addr export + private export
2022-10-26 10:14:05 +02:00
Michele Balistreri
95e1c1249a
fixed master key export
2022-10-19 13:53:41 +02:00
Michele Balistreri
7ffa0cc32d
bump keycard-go
2022-09-06 09:11:01 +02:00
Michele Balistreri
16f37cb459
only send card inserted if sent insertcard before
2022-08-30 09:02:17 +02:00
Michele Balistreri
c8b38fe24a
only send insert card error if not found in 150ms
2022-08-29 14:03:15 +02:00
Michele Balistreri
33e7ae0fe0
handle incoherent metadata
2022-08-22 09:00:31 +02:00
Michele Balistreri
c631eb3b02
proper casting
2022-08-18 16:49:41 +02:00
Michele Balistreri
09edf427d7
don't giveup on secure channel
2022-08-16 14:45:13 +02:00
Michele Balistreri
3fd18f5ff1
add 500ms sleep on card unreadable
2022-08-16 07:03:53 +02:00
Michele Balistreri
c7e12eb6ce
release correct context
2022-08-12 09:02:51 +02:00
Michele Balistreri
145e332f9f
abort if context fails to start or terminal missing
2022-08-12 08:58:40 +02:00
Michele Balistreri
cd9383e103
retry on failed connection
2022-08-12 08:25:46 +02:00
Michele Balistreri
a38640c721
don't abort flow on connection error
2022-08-11 14:39:23 +02:00
Michele Balistreri
b6b29bc497
better error handling in GetMetadata
2022-08-09 08:50:39 +02:00
Michele Balistreri
2cfb537259
add missing restarts on pcsc errors
2022-08-08 12:16:41 +02:00
Michele Balistreri
5b6786acb8
fix address retrieval
2022-08-04 11:55:34 +02:00
Michele Balistreri
178b0e1dd9
add get/store data flows
2022-08-04 11:21:23 +02:00
Michele Balistreri
bfe9a1c7c7
update keycard-go
2022-08-03 12:00:48 +02:00
Michele Balistreri
660760d156
add puk retries check
2022-07-29 12:08:46 +02:00
Michele Balistreri
ed51858caf
add PIN check in authenticate
2022-07-29 10:33:53 +02:00