Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export DOCKER_IMAGES_TAG=latest
# ********************
# DOCKER IMAGES BUILD INFO
# ********************
RUST_IMAGE_VERSION='1.93.0'
RUST_IMAGE_VERSION='1.94.0'
LTO_RELEASE=release-lto-off
AWS_ACCESS_KEY_ID='' # will be set in entrypoint script
AWS_SECRET_ACCESS_KEY='' # will be set in entrypoint script
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
base:latest

- name: Scan image with Trivy
uses: aquasecurity/trivy-action@c1824fd6edce30d7ab345a9989de00bbd46ef284 # v0.34.0
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
with:
image-ref: base:latest
format: 'table'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
base:latest

- name: Scan image with Trivy
uses: aquasecurity/trivy-action@c1824fd6edce30d7ab345a9989de00bbd46ef284 # v0.34.0
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
with:
image-ref: base:latest
format: 'table'
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ syn = { version = "2.0", features = ["full"] } # Syn macro parsing - MEDIUM RIS
sysinfo = "0.36.1" # System information gathering - MEDIUM RISK: Reputable individual maintainer (GuillaumeGomez), 71M+ downloads
tempfile = "=3.20.0" # Temporary file handling - MEDIUM RISK: Individual maintainers (Stebalien, KodrAus), 345M+ downloads, test-only dependency
test-context = "=0.4.1" # Test context utilities - MEDIUM RISK: Individual maintainers (markhildreth, JasperV), test-only dependency
tfhe = "=1.5.1" # Fully Homomorphic Encryption library - LOW RISK: Zama
tfhe = "=1.5.3" # Fully Homomorphic Encryption library - LOW RISK: Zama
tfhe-csprng = "=0.8.0" # Cryptographically secure PRNG for TFHE - LOW RISK: Zama
tfhe-versionable = "=0.7.0" # TFHE versioning support - LOW RISK: Zama
tfhe-zk-pok = "=0.8.0" # Zero-knowledge proofs for TFHE - LOW RISK: Zama
Expand Down
2 changes: 1 addition & 1 deletion backward-compatibility/generate-v0.13.10/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ threshold_fhe_0_13_10 = { git = "https://github.com/zama-ai/kms.git", package =
# modules as much as possible to avoid serialization differences
cfg-if_1_0_4 = { package = "cfg-if", version = "=1.0.4" }
tfhe_versionable_0_7 = { package = "tfhe-versionable", version = "=0.7.0" }
tfhe_1_5_1 = { package = "tfhe", version = "1.5.1", features = [
tfhe_1_5_3 = { package = "tfhe", version = "1.5.3", features = [
"shortint",
] }
alloy-sol-types-1_4_1 = { package = "alloy-sol-types", version = "=1.4.1" }
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ For local development with Kind:
./deploy.sh --target kind-local --build

# Use specific Rust version
RUST_IMAGE_VERSION=1.92 ./deploy.sh --target kind-local --build
RUST_IMAGE_VERSION=1.94 ./deploy.sh --target kind-local --build
```

The build process will:
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ PATH_SUFFIX="${PATH_SUFFIX:-kms-ci}"
TLS="${TLS:-false}"

# Build defaults (for local image building)
RUST_IMAGE_VERSION="${RUST_IMAGE_VERSION:-1.92}"
RUST_IMAGE_VERSION="${RUST_IMAGE_VERSION:-1.94}"

# AWS/Tailscale Defaults
TAILSCALE_HOSTNAME="tailscale-operator-zws-dev.diplodocus-boa.ts.net"
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/lib/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build_container() {
log_info "========================================="

# Use RUST_IMAGE_VERSION from environment or default
local RUST_IMAGE_VERSION="${RUST_IMAGE_VERSION:-1.92}"
local RUST_IMAGE_VERSION="${RUST_IMAGE_VERSION:-1.94}"

#-------------------------------------------------------------------------
# Build and load core-service
Expand Down
2 changes: 1 addition & 1 deletion core/threshold/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ required-features = ["testing", "extension_degree_8"]
[[bench]]
name = "decoding"
harness = false
required-features = ["experimental", "extenson_degree_8"]
required-features = ["experimental", "extension_degree_8"]

[[bench]]
name = "algebra"
Expand Down
4 changes: 2 additions & 2 deletions core/threshold/docker/local.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN cargo install --locked --path core/threshold --root . --bins --no-default-fe


# Go tooling stage - only for grpc-health-probe
FROM cgr.dev/zama.ai/golang:1.25.4 AS go-builder
FROM cgr.dev/zama.ai/golang:1.25 AS go-builder

ARG GRPC_HEALTH_PROBE_VERSION=v0.4.42
ARG GRPC_HEALTH_PROBE_VERSION=v0.4.46

RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe && \
cd grpc-health-probe && \
Expand Down
4 changes: 2 additions & 2 deletions core/threshold/src/choreography/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,10 @@ where
.pop()
.map_or_else(
|| {
Err(tonic::Status::new(
Err(Box::new(tonic::Status::new(
tonic::Code::Aborted,
format!("Failed to create session for {request_sid:?}"),
))
)))
},
Ok,
)?)
Expand Down
4 changes: 2 additions & 2 deletions core/threshold/src/experimental/choreography/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ impl ExperimentalGrpcChoreography {
.pop()
.map_or_else(
|| {
Err(tonic::Status::new(
Err(Box::new(tonic::Status::new(
tonic::Code::Aborted,
format!("Failed to create session for {request_sid:?}"),
))
)))
},
Ok,
)?)
Expand Down
4 changes: 2 additions & 2 deletions docker/core/service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN --mount=type=cache,target=/root/.cargo/registry,sharing=locked \
./core/service/bin


ARG YQ_VERSION=v4.50.1
ARG YQ_VERSION=v4.52.4
# Overridable arg to allow building for different architectures
ARG TARGETARCH=amd64
RUN wget -qO/usr/bin/yq https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} && \
Expand Down Expand Up @@ -92,7 +92,7 @@ CMD ["/bin/bash", "/app/kms/core/service/bin/init_enclave.sh"]
# Build the grpc-health-probe binary for development
FROM cgr.dev/zama.ai/golang:1.25 AS go-builder

ARG GRPC_HEALTH_PROBE_VERSION=v0.4.42
ARG GRPC_HEALTH_PROBE_VERSION=v0.4.46

RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe && \
cd grpc-health-probe && \
Expand Down
4 changes: 2 additions & 2 deletions docker/core/service/local.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ CMD ["kms-server", "centralized"]
# Third stage: Build the grpc-health-probe binary for development
FROM cgr.dev/zama.ai/golang:1.25 AS go-builder

ARG GRPC_HEALTH_PROBE_VERSION=v0.4.42
ARG GRPC_HEALTH_PROBE_VERSION=v0.4.46

RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe && \
cd grpc-health-probe && \
Expand All @@ -56,7 +56,7 @@ RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe && \
## Fourth stage: Build and install grpc-health-probe -- For development only with extra tools
FROM --platform=$BUILDPLATFORM prod AS dev

ARG YQ_VERSION=v4.50.1
ARG YQ_VERSION=v4.52.4
ARG TARGETARCH=amd64

USER root
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.93.0"
channel = "1.94.0"
Loading