-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement shares decryption * Ability to decrypt shares + tests * Ability to decrypt shares + tests * tests for shares encrpytion and decryption * tests for shares encrpytion and decryption * deploy values for staging * cleanup * address pr comments * Better error handling + PR comments * PR comments * fix merge changes * fmt and clippy changes * steps towards getting the results from s3 * misc * decryption + tests * format, test isolation * wip * wip * cleanup build errors, refactors of various kinds * fmt * clippy * update public key bucket name * build debug dockerfile * fix issue with fetching public key * correct region for client sqs * fix build * fix build * deploy from branch * typo in image name * client fix + helpers * fix incorrect bucket region * proper region pass * fixes * fmt, clippy * fmt * cleanup * better errors * fixed share type + print decrypted share string * deploy * fixdeploy * deploy * fix structures shares * deplo * proper sha * fix test * fmt, clippy * fixes * fixes * deploy * Update common-values-gpu-iris-mpc.yaml * Update common-values-gpu-iris-mpc.yaml --------- Co-authored-by: wojciechsromek <wojciech.sromek@toolsforhumanity.com> Co-authored-by: wojciechsromek <157375010+wojciechsromek@users.noreply.github.com>
- Loading branch information
1 parent
7485951
commit 5b3e2c3
Showing
30 changed files
with
939 additions
and
178 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM --platform=linux/amd64 ubuntu:22.04 | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
build-essential \ | ||
libssl-dev \ | ||
texinfo \ | ||
libcap2-bin \ | ||
pkg-config \ | ||
git \ | ||
devscripts \ | ||
debhelper \ | ||
ca-certificates \ | ||
wget | ||
|
||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
ENV PATH "/root/.cargo/bin:${PATH}" | ||
ENV RUSTUP_HOME "/root/.rustup" | ||
ENV CARGO_HOME "/root/.cargo" | ||
RUN rustup toolchain install nightly-2024-07-10 | ||
RUN rustup default nightly-2024-07-10 | ||
RUN rustup component add cargo | ||
RUN cargo install cargo-build-deps && cargo install cargo-edit | ||
|
||
COPY . . | ||
|
||
RUN apt-get update && apt-get install -y pkg-config wget libssl-dev ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb \ | ||
&& dpkg -i cuda-keyring_1.1-1_all.deb \ | ||
&& apt-get update \ | ||
&& apt-get install -y cuda-toolkit-12-2 libnccl2=2.22.3-1+cuda12.2 libnccl-dev=2.22.3-1+cuda12.2 |
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,29 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: smpcv2-signup-service-helper | ||
namespace: signup-service | ||
spec: | ||
serviceAccountName: signup-service-worker # Add this line | ||
imagePullSecrets: | ||
- name: github-secret | ||
nodeSelector: | ||
kubernetes.io/arch: amd64 | ||
containers: | ||
- name: smpcv2-signup-service-helper | ||
image: ghcr.io/worldcoin/gpu-iris-mpc-debug:0510757a9d076c206d9a42eedca639787c44a0a8 | ||
securityContext: | ||
runAsUser: 0 | ||
allowPrivilegeEscalation: false | ||
seccompProfile: | ||
type: RuntimeDefault # or Localhost if you have a local profile | ||
imagePullPolicy: Always | ||
command: [ "/bin/bash" ] | ||
args: [ "-c", "while true; do ping localhost; sleep 60; done" ] | ||
resources: | ||
limits: | ||
cpu: 4 | ||
memory: 4Gi | ||
requests: | ||
cpu: 4 | ||
memory: 4Gi |
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
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
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.