Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
71e51de
Initial commit
Alcofribas4 Dec 18, 2018
64191bd
Basic Segwit support:
Alcofribas4 Jan 15, 2019
6668a05
Update support to Satochip v0.6 (non-hardened chilp optimization)
Alcofribas4 Feb 7, 2019
9a770c1
code cleaning: use card_transmit(apdu) instead of @unlock_pin wrapper
Alcofribas4 Feb 7, 2019
707bb8c
* Add Unit Tests for BIP32 derivation
Alcofribas4 Feb 14, 2019
3ea3e2b
Add Unit Test: test card_sign_message()
Alcofribas4 Feb 14, 2019
ecfff27
refactor get_extended_key(): parse response and return (key, chaincod…
Alcofribas4 Feb 19, 2019
dc70165
Improved smartcard detection function 'detect_smartcard_reader(self)'…
Alcofribas4 Feb 26, 2019
9fa120a
Merge remote-tracking branch 'electrum/master' into satochip
Alcofribas4 Feb 26, 2019
23ee3e8
Remove old test class (replaced by test_CardConnector.py)
Alcofribas4 Feb 26, 2019
1f2b83c
update README,
Toporin Feb 28, 2019
5789ad6
minor formatting
Toporin Feb 28, 2019
a4e6ff5
Change .gitignore to add ./gui/qt/icons_rc.py
Toporin Feb 28, 2019
1017b1c
add satochip icons in electrum
Toporin Mar 1, 2019
dc612ba
improve PIN support: prompt for PIN if needed
Toporin Mar 5, 2019
591b297
Improved PIN support:
Toporin Mar 12, 2019
98a2321
packaging electrum-satochip into executable for windows
Toporin Mar 15, 2019
636b9f5
Sync repository with the latest release of electrum v3.3.4
Toporin Mar 25, 2019
bb04379
Packaging electrum-satochip v3.3.4 into executable for windows
Toporin Mar 26, 2019
037fcd0
Electrum v3.3.4 - Satochip v0.7: Add 2FA support
Toporin May 30, 2019
5eeab49
cleanup & remove temporary build files for osx
Toporin Jul 9, 2019
23d857a
Upgrade to Electrum-Satochip v3.3.8-0.7
Toporin Jul 22, 2019
75fb217
Build .exe distributables with new pyscard .whl version (v.1.9.8)
Toporin Jul 23, 2019
fdff14f
Update test suite in test_CardConnector.py
Toporin Jul 23, 2019
6676fad
Remove temp files in contrib/build-wine
Toporin Jul 23, 2019
1b949e7
Clean up code based on https://github.com/spesmilo/electrum/pull/5523
Toporin Jul 26, 2019
bc44e6f
Clean up code based on https://github.com/spesmilo/electrum/pull/5523
Toporin Jul 27, 2019
a3c351b
Clean up code based on https://github.com/spesmilo/electrum/pull/5523
Toporin Oct 3, 2019
d83fff5
Electrum-Satochip v3.3.8-0.8
Toporin Oct 4, 2019
10c60c4
Electrum-Satochip v3.3.8-0.8
Toporin Oct 4, 2019
481691d
Electrum-Satochip v3.3.8-0.9
Toporin Nov 26, 2019
933e89b
Electrum-Satochip v3.3.8-0.9
Toporin Nov 26, 2019
cb26ea9
Patch: Electrum crashes when cancelling PIN change or seed reset
Toporin Dec 5, 2019
a6057e7
Patch "Recovered authentikey does not correspond to registered authen…
Toporin Dec 5, 2019
bdb5aeb
Electrum-Satochip v4.0.0a0-0.9
Toporin Jan 10, 2020
52bbf97
Updated libpcsclite-dev and swig packages in dockerfile for linux app…
Toporin Jan 10, 2020
d1011ab
Electrum-satochip-v4.0.0a0-0.9
Toporin Jan 10, 2020
11a2eff
binaries: use "--no-dependencies" option for pip install
Toporin Jan 10, 2020
424060d
Merge branch 'master' into Electrum-Satochip-v3.3.8-0.7
Toporin Jan 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions contrib/build-linux/appimage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ RUN apt-get update -q && \
gettext=0.19.7-2ubuntu3.1 \
libzbar0=0.10+doc-10ubuntu1 \
libdbus-1-3=1.10.6-1ubuntu3.4 \
libpcsclite-dev=1.8.14-1ubuntu1.16.04.1 \
swig=3.0.8-0ubuntu3 \
&& \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
Expand Down
1 change: 1 addition & 0 deletions contrib/build-linux/appimage/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ mkdir -p "$CACHEDIR/pip_cache"
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements.txt"
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-binaries.txt"
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-hw.txt"
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-satochip.txt"
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" "$PROJECT_ROOT"


Expand Down
8 changes: 7 additions & 1 deletion contrib/build-wine/deterministic.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ hiddenimports += collect_submodules('safetlib')
hiddenimports += collect_submodules('btchip')
hiddenimports += collect_submodules('keepkeylib')
hiddenimports += collect_submodules('websocket')
hiddenimports += collect_submodules('satochip')
hiddenimports += collect_submodules('smartcard')
hiddenimports += collect_submodules('ckcc')
hiddenimports += ['PyQt5.QtPrintSupport'] # needed by Revealer

Expand All @@ -37,13 +39,16 @@ binaries += [b for b in collect_dynamic_libs('PyQt5') if 'qwindowsvista' in b[0]
binaries += [('C:/tmp/libsecp256k1.dll', '.')]
binaries += [('C:/tmp/libusb-1.0.dll', '.')]

# pyscard binaries for Satochip
binaries += [('C:/python*/Lib/site-packages/smartcard/scard/_scard.cp36-win32.pyd', '.')] #satochip

datas = [
(home+'electrum/*.json', 'electrum'),
(home+'electrum/wordlist/english.txt', 'electrum/wordlist'),
(home+'electrum/locale', 'electrum/locale'),
(home+'electrum/plugins', 'electrum/plugins'),
('C:\\Program Files (x86)\\ZBar\\bin\\', '.'),
(home+'electrum/gui/icons', 'electrum/gui/icons'),
(home+'electrum/gui/icons', 'electrum/gui/icons')
]
datas += collect_data_files('trezorlib')
datas += collect_data_files('safetlib')
Expand All @@ -70,6 +75,7 @@ a = Analysis([home+'run_electrum',
home+'electrum/plugins/safe_t/qt.py',
home+'electrum/plugins/keepkey/qt.py',
home+'electrum/plugins/ledger/qt.py',
home+'electrum/plugins/satochip/qt.py',
home+'electrum/plugins/coldcard/qt.py',
#home+'packages/requests/utils.py'
],
Expand Down
11 changes: 11 additions & 0 deletions contrib/build-wine/prepare-wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ PYINSTALLER_REPO="https://github.com/SomberNight/pyinstaller.git"
PYINSTALLER_COMMIT=e934539374e30d1500fcdbe8e4eb0860413935b2
# ^ tag 3.6, plus a custom commit that fixes cross-compilation with MinGW

#Satochip pyscard
PYSCARD_FILENAME=pyscard-1.9.9-cp36-cp36m-win32.whl # python 3.6, 32-bit
PYSCARD_URL=https://ci.appveyor.com/api/buildjobs/3uiua5o4llvpegbp/artifacts/dist/pyscard-1.9.9-cp36-cp36m-win32.whl
PYSCARD_SHA256=99d2b450f322f9ed9682fd2a99d95ce781527e371006cded38327efca8158fe7

PYTHON_VERSION=3.6.8

## These settings probably don't need change
Expand Down Expand Up @@ -68,6 +73,12 @@ download_if_not_exist "$CACHEDIR/$ZBAR_FILENAME" "$ZBAR_URL"
verify_hash "$CACHEDIR/$ZBAR_FILENAME" "$ZBAR_SHA256"
wine "$CACHEDIR/$ZBAR_FILENAME" /S

#Satochip install pyscard
info "Installing pyscard..."
download_if_not_exist $PYSCARD_FILENAME "$PYSCARD_URL"
verify_hash $PYSCARD_FILENAME "$PYSCARD_SHA256"
$PYTHON -m pip install "$CACHEDIR/$PYSCARD_FILENAME"

info "Installing NSIS."
download_if_not_exist "$CACHEDIR/$NSIS_FILENAME" "$NSIS_URL"
verify_hash "$CACHEDIR/$NSIS_FILENAME" "$NSIS_SHA256"
Expand Down
4 changes: 4 additions & 0 deletions contrib/deterministic-build/requirements-satochip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pyscard==1.9.9 \
--hash=sha256:6620a74f58d5fa9076544263bb4e42c946eb20f315c896d14a7e5743d5431469 \
--hash=sha256:a047738c58d05b4dab15aa9c99fbd92f8d0670900de89c68bec247a422f8d8c7 \
--hash=sha256:e6bde541990183858740793806b1c7f4e798670519ae4c96145f35d5d7944c20
1 change: 1 addition & 0 deletions contrib/requirements/requirements-hw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ keepkey>=6.3.1
btchip-python>=0.1.26
ckcc-protocol>=0.7.7
hidapi
pyscard>=1.9.6
Binary file added electrum/gui/icons/satochip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electrum/gui/icons/satochip_unpaired.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50,230 changes: 50,230 additions & 0 deletions electrum/gui/qt/icons_rc.py

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion electrum/plugins/hw_wallet/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ def error_dialog(self, msg, blocking):

def clear_dialog(self):
if self.dialog:
self.dialog.accept()
try: self.dialog.accept()
except RuntimeError:
pass #see https://github.com/Electron-Cash/Electron-Cash/issues/1437
self.dialog = None

def win_query_choice(self, msg, labels):
Expand Down
Loading