-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from obsidiansystems/v2.2.5
Version 2.2.5
- Loading branch information
Showing
37 changed files
with
1,663 additions
and
1,302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ obj | |
src/u2f_crypto_data.h | ||
src/glyphs.h | ||
src/glyphs.c | ||
src/delegates.h | ||
|
||
#ide | ||
*.code-workspace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -426,7 +426,7 @@ Currently there are two other ways to do this: | |
|
||
1. If you have the Nix package manager, use the | ||
[Tezos baking platform](https://gitlab.com/obsidian.systems/tezos-baking-platform). | ||
2. Build tezos from the tezos repo with [these instructions](http://tezos.gitlab.io/mainnet/introduction/howtoget.html#build-from-sources). | ||
2. Build tezos from the tezos repo with [these instructions](http://tezos.gitlab.io/introduction/howtoget.html#build-from-sources). | ||
|
||
Depending on how you build it, you might need to prefix `./` to your commands, and the names | ||
of some of the binaries might be different. | ||
|
@@ -981,6 +981,42 @@ If the Ledger application crashes when you load it, there are two primary causes | |
* Out of date firmware: If the Ledger application doesn't work at all, make sure you are running firmware | ||
version 1.5.5. | ||
|
||
### Error "Unexpected sequence number (expected 0, got 191)" on macOS | ||
|
||
If `tezos-client` on macOS intermittently fails with an error that looks like | ||
|
||
``` | ||
client.signer.ledger: APDU level error: Unexpected sequence number (expected 0, got 191) | ||
``` | ||
|
||
then your installation of `tezos-client` was built with an older version of HIDAPI that doesn't work well with macOS (see [#30](https://github.com/obsidiansystems/ledger-app-tezos/issues/30)). | ||
|
||
To fix this you need to get the yet-unreleased fixes from the [HIDAPI library](https://github.com/signal11/hidapi) and rebuild `tezos-client`. | ||
|
||
If you got HIDAPI from Homebrew, you can update to the `master` branch of HIDAPI like this: | ||
|
||
```shell | ||
$ brew install hidapi --HEAD | ||
``` | ||
|
||
Then start a full rebuild of `tezos-client` with HIDAPI's `master` branch: | ||
|
||
```shell | ||
$ brew unlink hidapi # remove the current one | ||
$ brew install autoconf automake libtool # Just keep installing stuff until the following command succeeds: | ||
$ brew install hidapi --HEAD | ||
``` | ||
|
||
Finally, rebuild `ocaml-hidapi` with Tezos. In the `tezos` repository: | ||
|
||
```shell | ||
$ opam reinstall hidapi | ||
$ make all build-test | ||
$ ./tezos-client list connected ledgers # should now work consistently | ||
``` | ||
|
||
Note that you may still see warnings similar to `Unexpected sequence number (expected 0, got 191)` even after this update. The reason is that there is a separate, more cosmetic, issue in `tezos-client` itself which has already been fixed but may not be in your branch yet (see the [merge request](https://gitlab.com/tezos/tezos/merge_requests/600)). | ||
|
||
### Contact Us | ||
You can email us at [email protected] and request to join our Slack. | ||
We have several channels about baking and one specifically for our Ledger applications. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# DO NOT HAND-EDIT THIS FILE | ||
let fetchGit = {url, rev, ref ? null, branch ? null, sha256 ? null, fetchSubmodules ? null}: | ||
assert !fetchSubmodules; (import <nixpkgs> {}).fetchgit { inherit url rev sha256; }; | ||
in import (fetchGit (builtins.fromJSON (builtins.readFile ./git.json))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"url": "https://gitlab.com/obsidian.systems/tezos.git", | ||
"rev": "08c288ebe13d3647294a8603358ad98771eea7b1", | ||
"sha256": "0kdnzd3ib93r63h509jd5c85svj0wyqcyi1v85xkghg94raswj0b", | ||
"fetchSubmodules": false, | ||
"branch": "flextesa-dev-master" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"owner": "LedgerHQ", | ||
"repo": "nanos-secure-sdk", | ||
"branch": "master", | ||
"rev": "f9e1c7b8904df2eee0ae7e603f552b876c169334", | ||
"sha256": "1wzra32zkqw521a5cmvqsblpkbkfzgx2pbngqpymcgf8db20p50i" | ||
"branch": "og-1.6.0-1", | ||
"rev": "5844b50daaf70108ef5464b7004561be0442edd1", | ||
"sha256": "0r5bnn46ay01imxzsg0iy30aa6yaa9rx7j54ifj3a4ahlfw51nkc" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# DO NOT HAND-EDIT THIS FILE | ||
import ((import <nixpkgs> {}).fetchFromGitHub ( | ||
let json = builtins.fromJSON (builtins.readFile ./github.json); | ||
in { inherit (json) owner repo rev sha256; | ||
private = json.private or false; | ||
} | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"owner": "NixOS", | ||
"repo": "nixpkgs", | ||
"branch": "nixos-unstable", | ||
"rev": "41d921292e922a6cd1aba64259341c244d4c2cc7", | ||
"sha256": "01iq7phnmyz78qddxsjy6lnpgmzcffxk9h7k69sy61dbjsyy9b4q" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
let | ||
ledger-app-tezos = import ./. {}; | ||
in { | ||
analysis-nanos-wallet = ledger-app-tezos.clangAnalysis.s.wallet; | ||
analysis-nanos-baking = ledger-app-tezos.clangAnalysis.s.baking; | ||
release-nanos-wallet = ledger-app-tezos.nano.s.release.wallet; | ||
release-nanos-baking = ledger-app-tezos.nano.s.release.baking; | ||
release-nanos-all = ledger-app-tezos.nano.s.release.all; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.