Guillaume Ballet
9c5729311e
accounts/scwallet: update documentation ( #22242 )
4 years ago
Felix Lange
ad038b6289
accounts/scwallet: use go-ethereum crypto instead of go-ecdh ( #22212 )
...
* accounts/scwallet: use go-ethereum crypto instead of go-ecdh
github.com/wsddn/go-ecdh is a wrapper package for ECDH functionality
with any elliptic curve.
Since 'generic' ECDH is not required in accounts/scwallet (the curve is
always secp256k1), we can just use the standard library functionality
and our own crypto libraries to perform ECDH and save a dependency.
* Update accounts/scwallet/securechannel.go
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
* Use the correct key
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
4 years ago
Alex Prut
810f9e057d
all: remove redundant conversions and import names ( #21903 )
4 years ago
mr_franklin
66c3eb2f1a
accouts, consensus, core: fix some comments ( #21617 )
4 years ago
Martin Michlmayr
4f2784b38f
all: fix typos in comments ( #21118 )
5 years ago
Felix Lange
c8e9a91672
build: upgrade to golangci-lint 1.24.0 ( #20901 )
...
* accounts/scwallet: remove unnecessary uses of fmt.Sprintf
* cmd/puppeth: remove unnecessary uses of fmt.Sprintf
* p2p/discv5: remove unnecessary use of fmt.Sprintf
* whisper/mailserver: remove unnecessary uses of fmt.Sprintf
* core: goimports -w tx_pool_test.go
* eth/downloader: goimports -w downloader_test.go
* build: upgrade to golangci-lint 1.24.0
5 years ago
Guillaume Ballet
54d332e1db
accounts/scwallet: fix staticcheck warnings ( #20370 )
5 years ago
Guillaume Ballet
7a22da98b9
accounts/scwallet: flag to specify path to smartcard daemon ( #19439 )
...
* accounts/scwallet: Add a switch to enable smartcard support
* accounts: change the meaning of the switch
* disable card support in windows until tested
* only activate account if pcscd socket file is present
* the switch is now the path to the socket file
* accounts/scwallet: holiman's review feedback
* accounts/scwallet: send the path to go-pcsclite
* accounts/scwallet: add default, per platform path
* accounts/scwallet: fix error log warning
* accounts/scwallet: update pcsc lib to latest
* accounts/scwallet: use default path from pcsclite
* scwallet: forgot to change switch name
* cmd: minor style cleanups (error handling first, then happy path)
6 years ago
Guillaume Ballet
048df258dc
accounts/scwallet: change sc url scheme to keycard ( #19632 )
6 years ago
Péter Szilágyi
7bc1cb3677
accounts/scwallet: fix public key confirmation regression
6 years ago
Guillaume Ballet
75a860880c
accounts/scwallet: display PUK retry count, validate PIN/PUK length
6 years ago
Martin Holst Swende
fec3b56f7f
accounts, p2p, rpc: make CGO_ENABLED=0 build again ( #19593 )
...
* p2p: remove direct import of cgo-library
* accounts, rpc: more nocgo alternatives
* rpc: move unix path constant into separate file
* accounts/scwallet: address review concerns, remove copy-pasta
6 years ago
Guillaume Ballet
a1c5017bc5
accounts/scwallet: fix card pairing instruction message ( #19436 )
6 years ago
Péter Szilágyi
ae7344d799
accounts: switch Ledger derivation path to canonical one
6 years ago
Péter Szilágyi
8cf764da89
Revert "Can now specify the number of empty accounts to derive"
...
This reverts commit 5b30aa59d6
.
6 years ago
Guillaume Ballet
f0b878d56d
accounts/scwallet: Update README for v2.2.1 support ( #19425 )
...
Update the app download link to the latest version, as requested in #19418
6 years ago
Guillaume Ballet
5b30aa59d6
Can now specify the number of empty accounts to derive
6 years ago
Guillaume Ballet
6f21520a82
More review feedback
6 years ago
Guillaume Ballet
fc3000d649
more review feedback
6 years ago
Martin Holst Swende
aae61ab16e
Apply suggestions from code review
...
Co-Authored-By: gballet <gballet@gmail.com>
6 years ago
Guillaume Ballet
3b3e1bc07e
Update the card preparation instructions based on review feedback
6 years ago
Guillaume Ballet
8c786a1f99
refresh the account list when initializing the card
6 years ago
Guillaume Ballet
79f4cfac2e
refuse to overwrite the master key of a previously initialized card
6 years ago
Guillaume Ballet
1d1bee528e
fix unnecessary condition linter warning
6 years ago
Guillaume Ballet
714675cd2a
Upgrade to keycard app v2.1.1
6 years ago
Guillaume Ballet
35b80f1865
Fix linter issues
6 years ago
Guillaume Ballet
bcf3c52ac9
PK derivation has to be supported by the card
6 years ago
Guillaume Ballet
189a032987
Add instructions on how to install the card
6 years ago
Guillaume Ballet
ec4fba83d4
Formatting fixes
6 years ago
Guillaume Ballet
21b01f590d
Update a comment to reflect the workings of the updated system
6 years ago
Guillaume Ballet
9b66a8520a
Add some documentation
6 years ago
Guillaume Ballet
e273031dce
Fix key derivation
6 years ago
Guillaume Ballet
7ec6fa03d3
fix wallet status update
...
This is a temporary fix, better checks need to
be performed once the whole process has been
validated.
6 years ago
Guillaume Ballet
42c76a2ba1
Temporary fix to the ADBU status call
6 years ago
Guillaume Ballet
5617dca1c9
Remove the direct dependency on libpcsclite
...
Instead, use a go library that communicates with pcscd over a socket.
Also update the changes introduced by @gravityblast since this PR's
inception
6 years ago
Guillaume Ballet
ae82c58631
Fix some linter issues
6 years ago
Guillaume Ballet
7b230b7ef1
accounts/scwallet: rebase and update
6 years ago
Péter Szilágyi
a900e80a89
accounts/scwallet: fix crypto API change
6 years ago
Péter Szilágyi
7d5886dcf4
accounts, console: frendly card errors, support pin unblock
6 years ago
Péter Szilágyi
386943943f
accounts/scwallet: ordered wallets, tighter events, derivation logs
6 years ago
Péter Szilágyi
114de0fe2a
accounts/scwallet, console: user friendly card opening
6 years ago
Nick Johnson
78375608a4
accounts, internal: Changes in response to review
6 years ago
Nick Johnson
f7027dd68c
accounts, core, internal, node: Add support for smartcard wallets
6 years ago