From e43530b17de5169db2ea0ef0e68bf9f68a30e0aa Mon Sep 17 00:00:00 2001 From: Jason Davies Date: Fri, 18 Nov 2022 23:38:12 +0000 Subject: [PATCH 1/3] Fix link to Least Authority audit. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 658fb7ee..b164f47e 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ This repository contains several Rust crates that implement the different buildi The original implementation of the coordinator for the [Aleo Trusted Setup](https://github.com/AleoHQ/aleo-setup) was audited by: -- [Least Authority](https://leastauthority.com/blog/audit-of-aleo-trusted-setup-phase-1/) +- [Least Authority](https://leastauthority.com/blog/audits/audit-of-aleo-trusted-setup-phase-1/) # License From d0a363efda8d3f562b68a0ef0252c2e7376716e8 Mon Sep 17 00:00:00 2001 From: Marco Granelli Date: Sat, 19 Nov 2022 14:54:40 +0100 Subject: [PATCH 2/3] Fixes CLI verification tool --- phase2-cli/src/bin/namada-ts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase2-cli/src/bin/namada-ts.rs b/phase2-cli/src/bin/namada-ts.rs index 6ad306d1..d1b33c08 100644 --- a/phase2-cli/src/bin/namada-ts.rs +++ b/phase2-cli/src/bin/namada-ts.rs @@ -878,7 +878,7 @@ async fn main() { if let Some(path) = parameter_path { // Check hash of the parameters file let contribution = std::fs::read(path).expect(&format!("{}", "Failed to read file".red().bold())); - let contribution_file_hash = calculate_hash(contribution.as_ref()); + let contribution_file_hash = calculate_hash(&contribution[64..]); if hex::encode(contribution_file_hash) != message { eprintln!("{}", "The computed hash of the file does not match the provided one".red().bold()); process::exit(1); From 9e91759f9b486301236b5234da1f70d4a924d044 Mon Sep 17 00:00:00 2001 From: Marco Granelli Date: Sat, 19 Nov 2022 15:21:22 +0100 Subject: [PATCH 3/3] v1.1.0 --- Cargo.lock | 8 ++++---- README.md | 2 +- install.sh | 2 +- phase2-cli/Cargo.toml | 2 +- phase2-coordinator/Cargo.toml | 2 +- phase2/Cargo.toml | 2 +- setup-utils/Cargo.toml | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2affe1b7..f9683915 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2275,7 +2275,7 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "phase2" -version = "1.0.1" +version = "1.1.0" dependencies = [ "anyhow", "blake2 0.9.2", @@ -2304,7 +2304,7 @@ dependencies = [ [[package]] name = "phase2-cli" -version = "1.0.1" +version = "1.1.0" dependencies = [ "anyhow", "async-stream", @@ -2348,7 +2348,7 @@ dependencies = [ [[package]] name = "phase2-coordinator" -version = "1.0.1" +version = "1.1.0" dependencies = [ "anyhow", "base64", @@ -3316,7 +3316,7 @@ dependencies = [ [[package]] name = "setup-utils" -version = "1.0.1" +version = "1.1.0" dependencies = [ "blake2 0.9.2", "blake2s_simd 0.5.11", diff --git a/README.md b/README.md index b164f47e..dffa9c22 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ rustup update Once everything is installed, clone the Namada Trusted Setup Ceremony GitHub repository and change directories into `namada-trusted-setup`: ``` git clone https://github.com/anoma/namada-trusted-setup.git -cd namada-trusted-setup && git checkout v1.0.1 +cd namada-trusted-setup && git checkout v1.1.0 ``` Build the binary: diff --git a/install.sh b/install.sh index 53083582..3d3859c2 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ set -u -LAST_BINARY_VERSION="1.0.1" +LAST_BINARY_VERSION="1.1.0" BINARY_NAME="namada-ts" BINARY_FOLDER="$HOME/.namada-ts" BINARY_PATH="$BINARY_FOLDER/$BINARY_NAME" diff --git a/phase2-cli/Cargo.toml b/phase2-cli/Cargo.toml index b5fef719..8426fb8d 100644 --- a/phase2-cli/Cargo.toml +++ b/phase2-cli/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://github.com/AleoHQ/aleo-setup" license = "MIT/Apache-2.0" name = "phase2-cli" repository = "https://github.com/AleoHQ/aleo-setup" -version = "1.0.1" +version = "1.1.0" [dependencies] phase2 = {path = "../phase2"} diff --git a/phase2-coordinator/Cargo.toml b/phase2-coordinator/Cargo.toml index ff7e2d09..ac6a3744 100644 --- a/phase2-coordinator/Cargo.toml +++ b/phase2-coordinator/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://github.com/AleoHQ/aleo-setup" license = "MIT/Apache-2.0" name = "phase2-coordinator" repository = "https://github.com/AleoHQ/aleo-setup" -version = "1.0.1" +version = "1.1.0" [[bin]] name = "phase2-coordinator" diff --git a/phase2/Cargo.toml b/phase2/Cargo.toml index 045bba8b..592f8bde 100644 --- a/phase2/Cargo.toml +++ b/phase2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phase2" -version = "1.0.1" +version = "1.1.0" authors = ["Sean Bowe", "Alex Vlasov", "The Aleo Team "] description = "Core logic for Phase 1" homepage = "https://github.com/AleoHQ/aleo-setup" diff --git a/setup-utils/Cargo.toml b/setup-utils/Cargo.toml index 857bea69..b1200df0 100644 --- a/setup-utils/Cargo.toml +++ b/setup-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "setup-utils" -version = "1.0.1" +version = "1.1.0" authors = ["Georgios Konstantopoulos ", "The Aleo Team "] edition = "2018"