You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SatoChip stands for Secure Anonymous Trustless and Open Chip. It is a javacard applet that can be used as a secure hardware wallet running for example on a [Yubikey Neo](https://store.yubico.com/store/catalog/product_info.php?ref=368&products_id=72&affiliate_banner_id=1). The SatoChip has full BIP32 supports.
10
+
Satochip stands for **S**ecure **A**nonymous **T**rustless and **O**pen **Chip**. It is a javacard applet that can be used as a secure hardware wallet running for example on a [Yubikey Neo](https://store.yubico.com/store/catalog/product_info.php?ref=368&products_id=72&affiliate_banner_id=1). The Satochip applet has full BIP32/BIP39 supports.
11
11
12
-
Using SatoChip, an initial BIP32 seed is imported in the javacard and private keys are derived as requested by an external application. *Private keys are never exported outside of the secure chip*. To improve performances, the result of key derivation is cached in secure memory for future requests so that a specific derivation path is only computed once.
12
+
Using Satochip, an initial BIP32 seed is imported in the javacard and private keys are derived as requested by an external application. *Private keys are never exported outside of the secure chip*. To improve performances, the result of key derivation is cached in secure memory for future requests so that a specific derivation path is only computed once.
13
13
14
14
The Satochip also supports the import of regular (non-BIP32 keys) such as vanity keys. Here again, private keys cannot be exported outside of the secure chip. Up to 16 regular keys can be imported on the chip. In any case, the private keys can be used to sign transactions and Bitcoin messages, if sufficient credentials are provided.
15
15
16
-
Access to private keys (creation, derivation and signature) is enforced through the use of PIN code.
16
+
Access to private keys (creation, derivation and signature) is enforced through the use of PIN code (from 4 to 16 chars).
17
17
18
-
The Satochip wallet is currently in Beta, use with caution! In this phase, it is strongly recommended to use the software on the Bitcoin testnet only.
19
-
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
18
+
*This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.*
20
19
21
20
Advantages:
22
-
- Code is free and open source (no NDA required!)
23
-
- Code easy to read and maintain (java card is a subset of java)
24
-
- Multiple form factor could be supported in addition to Yubikey (e.g sim cards)
25
-
- Plug and play
26
-
- Smartcards have a long experience in dealing with security and physical security in particular
27
-
- Can be easily used or extended for other crypto-currencies
28
-
- A test package is run during build to ensure that critical functionalities are implemented correctly
21
+
- Code is free and open source (no NDA required);
22
+
- Code is easy to read and maintain (javacard is a subset of java);
23
+
- Multiple form factor could be supported in addition to Yubikey (e.g sim cards);
24
+
- Plug and play;
25
+
- Smartcards have a long experience in dealing with security and physical security in particular;
26
+
- Can be easily used or extended for other crypto-currencies;
27
+
- A test package is run during build to ensure that critical functionalities are implemented correctly.
29
28
30
29
Also, if used with a Yubikey:
31
-
- Yubikey has minimal size and is practically indestructible
32
-
- The Yubico company is not going anywhere anytime soon!
33
-
- Many promising functionalities: NFC, Yubikey OTP, U2F, ...
34
-
- Possibility to use the HMAC-SHA1 challenge-response of the Yubikey as second factor for additional security against malwares
30
+
- Yubikey has minimal size and is practically indestructible;
31
+
- The Yubico company is not going anywhere anytime soon;
32
+
- Many promising functionalities: NFC, Yubikey OTP, U2F, ...;
33
+
- Possibility to use the HMAC-SHA1 challenge-response of the Yubikey as second factor for additional security against malwares.
35
34
36
35
Disadvantages:
37
-
- This is still experimental code, use with caution!
38
-
- Building the applet is a bit tricky
36
+
- Building the applet might be a bit tricky;
39
37
- The software implementation of HMAC-SHA512 could have an potential impact on the physical security against side-channel attacks (for attackers with physical access to the chip).
40
38
41
39
# Supported hardware
42
40
43
41
To support Bitcoin signatures, the javacard must support ALG_ECDSA_SHA_256, which in practice requires a javacard compliant with the JavaCard 3.0.1 specification. Note that this is a necessary but not sufficient condition since javacards typically implements only a subset of the specification.
44
42
A detailed list of javacard and their supported features is available [here](http://www.fi.muni.cz/~xsvenda/jcsupport.html).
45
43
46
-
An interesting guide to consult before shopping can be found [here](https://github.com/martinpaljak/GlobalPlatformPro/tree/master/docs/JavaCardBuyersGuide)
44
+
An interesting guide to consult before shopping can be found [here](https://github.com/martinpaljak/GlobalPlatformPro/tree/master/docs/JavaCardBuyersGuide).
47
45
48
-
## tested and working
46
+
## Tested and working
49
47
50
48
### Yubikey Neo
51
49
**Important remark:** the Yubikeys currently sold by Yubico are configured for production only and it is not possible to load the applet on these dongles (see [this link](https://www.yubico.com/2014/07/yubikey-neo-updates/) for more details). Only the development Yubikeys (with serial number below 3,000,000) are suitable for our use!
52
50
53
51
### NXP JCOP J2D081
54
-
Available for purchase [here](http://www.javacardsdk.com/Index.aspx?p0=AAT1P0000012&p1=1&p2=1&p3=1&p4=0&p5=1) (minimum quantity order: 5 pieces)
52
+
Available for purchase [here](https://www.javacardsdk.com/product/j2d081/). (MOQ: 5 pieces).
55
53
56
54
### Swissbit PS-100u VE card Secure micro SD memory card
57
55
More info [here](http://www.swissbit.com/index.php?option=com_content&view=article&id=293&Itemid=601)
58
-
(Note however that Swissbit does not sell its product directly to end users but only to business partners)
56
+
(Note however that Swissbit does not sell its product directly to end users but only to business partners).
59
57
60
58
### J3D081 JCOP v2.4.2 R2
61
-
Available [here](http://www.javacardsdk.com/product/j3d081/)
59
+
Available for purchase [here](https://www.motechno.com/product/j3d081-dual-interface-javacard-3-0-1/). (MOQ: 1 piece).
62
60
63
61
# Buidl
64
62
65
-
You can build the javacard CAP files or use the last [version built](https://github.com/Toporin/SatoChipApplet/blob/master/SatoChip-2.2.2.cap).
63
+
You can build the javacard CAP files or use the lastest [built version](https://github.com/Toporin/SatochipApplet/releases).
66
64
67
65
To generate the CAP file from the sources, you can use the Eclipse IDE with the [ant-javacard](https://github.com/martinpaljak/ant-javacard) Ant task (see the instruction on the ant-javacard github repository).
68
66
@@ -73,14 +71,26 @@ Once you have a CAP file, you have to download it on the chip card. You can use
73
71
- Download the latest release from https://github.com/martinpaljak/GlobalPlatformPro/releases
74
72
- (Put the CAP file in the same folder as the GPJ jar file for convenience)
75
73
- To list the applets loaded on a smartcard: `gp.exe -l`
76
-
- To load the SatoChip applet: `gp.exe -install .\SatoChip-2.2.2.cap`
77
-
- To delete the SatoChip applet: `gp.exe -uninstall .\SatoChip-2.2.2.cap`
74
+
- To load the SatoChip applet: `gp.exe -install .\SatoChip-0.12-05.cap`
75
+
- To delete the SatoChip applet: `gp.exe -uninstall .\SatoChip-0.12-05.cap`
78
76
79
77
A more detailed tutorial is available on the GlobalPlatformPro [repository](https://github.com/martinpaljak/GlobalPlatformPro).
80
78
81
79
# Use
82
80
83
-
To use the applet, you have to connect your client application to the smartcard and send command APDU. These commands will be processed by the smartcard who will then send a response APDU. The [Electrum-Satochip](https://github.com/Toporin/electrum) is a version of [electrum](https://github.com/spesmilo/electrum) that was slightly modified to integrate the Satochip hardware wallet.
81
+
To use the applet, you have to connect your client application to the smartcard and send command APDU. These commands will be processed by the smartcard who will then send a response APDU.
82
+
83
+
### Supported software clients
84
+
85
+
- Bitcoin: the [Bitcoin Electrum-Satochip](https://github.com/Toporin/electrum-satochip/releases) is a version of [Electrum](https://github.com/spesmilo/electrum) that was slightly modified to integrate the Satochip hardware wallet.
86
+
- Litecoin: the [Litecoin Electrum-Satochip](https://github.com/Toporin/electrum-satochip/releases) is a version of [Electrum for Litecoin](https://github.com/pooler/electrum-ltc/) that was slightly modified to integrate the Satochip hardware wallet.
87
+
- Bitcoin Cash: the [Electron Cash-Satochip](https://github.com/Toporin/electrum-satochip/releases) is a version of [Electron Cash](https://github.com/Electron-Cash/Electron-Cash) that was slightly modified to integrate the Satochip hardware wallet.
88
+
**Note:** Satochip is natively supported by Electron Cash, we strongly encourage you to download the client from the [official website](https://electroncash.org/).
89
+
- eCash (XEC): Satochip is natively supported by Electrum ABC, we strongly encourage you to download the client from the [official website](https://www.bitcoinabc.org/electrum/).
90
+
91
+
- Metamask: you can use your Satochip hardware wallet with a forked version of Metamask called [Satomask](https://github.com/Toporin/metamask-extension/releases). To allow the communication between the card and your web browser, you will need the [Satochip Bridge](https://github.com/Toporin/Satochip-Bridge/releases).
92
+
93
+
- MyEtherWallet: you can use your Satochip hardware wallet with a forked version of MyEtherWallet called [MEW Satochip](https://github.com/Toporin/MyEtherWallet/releases). To allow the communication between the card and your web browser, you will need the [Satochip Bridge](https://github.com/Toporin/Satochip-Bridge/releases).
84
94
85
95
### Deprecated (use older releases for this)
86
96
[SatoChipClient](https://github.com/Toporin/SatoChipClient) is a small java library that allows to easily interface the SatoChip applet to your application through a simple set of API. An example of application is the [BitcoinWallet](https://github.com/Toporin/BitcoinWallet) java application, that uses SatoChipClient through another Bitcoin library called [BitcoinCore](https://github.com/Toporin/BitcoinCore).
@@ -95,5 +105,6 @@ To use the applet, you have to connect your client application to the smartcard
95
105
96
106
This application is distributed under the GNU Affero General Public License version 3.
97
107
98
-
Some parts of the code may be licensed under a different (MIT-like) license. [Contact me](mailto:satochip.wallet@gmail.com) if you feel that some license combination is inappropriate.
108
+
Some parts of the code may be licensed under a different (MIT-like) license.
109
+
[Contact us](mailto:support@satochip.io) if you feel that some license combination is inappropriate.
0 commit comments