Skip to content

Commit

Permalink
chore: use http for blstrs git dependency (#218)
Browse files Browse the repository at this point in the history
* ci: remove ssh setup
* chore: use http for blstrs
  • Loading branch information
thomas-pearson-mattr authored Sep 2, 2024
1 parent c621e3e commit 07ce83e
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 69 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup stable rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-detox-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
# - name: Checkout
# uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# # Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
# - name: Setup SSH Agent
# uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

# - name: Setup rust toolchain
# uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
# with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-detox-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
# - name: Checkout
# uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# # Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
# - name: Setup SSH Agent
# uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

# - name: Setup rust toolchain
# uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
# with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-obj-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
# - name: Checkout
# uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# # Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
# - name: Setup SSH Agent
# uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

# - name: Build binary
# run: ./scripts/update-libraries.sh
# shell: bash
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-wrapper-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/ci-wrapper-rn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down Expand Up @@ -105,12 +99,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/ci-wrapper-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down Expand Up @@ -62,12 +56,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down Expand Up @@ -116,12 +104,6 @@ jobs:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]

# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rand = { version = "0.8", features = ["getrandom"] }
getrandom = { version = "0.2", optional = true, features = ["js"] }
rand_core = "0.6"
pairing = "0.22.0"
blstrs = { git = "ssh://git@github.com/mattrglobal/blstrs", rev = "a0cb960", version = "0.6.1" }
blstrs = { git = "https://github.com/mattrglobal/blstrs.git", rev = "a0cb960", version = "0.6.1" }
serde = { version = "1.0", features = ["derive"] }
subtle = "2.4"
zeroize = { version ="1.3", features = ["zeroize_derive"] }
Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ unknown-git = "deny"
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = [ "ssh://git@github.com/mattrglobal/blstrs" ]
allow-git = [ "https://github.com/mattrglobal/blstrs.git" ]

[sources.allow-org]
# 1 or more github.com organizations to allow git sources for
Expand Down
2 changes: 1 addition & 1 deletion tools/bbs-fixtures-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ sha2 = { version = "0.9", default-features = false }
sha3 = "0.9"
hkdf = "0.11"
digest = "0.9"
blstrs = { git = "ssh://git@github.com/mattrglobal/blstrs", rev = "a0cb960", version = "0.6.1" }
blstrs = { git = "https://github.com/mattrglobal/blstrs.git", rev = "a0cb960", version = "0.6.1" }

0 comments on commit 07ce83e

Please sign in to comment.