Skip to content

chore: migrate rust/x509 to icp-cli#1416

Draft
marc0olo wants to merge 1 commit into
masterfrom
chore/migrate-rust-x509-to-icp-cli
Draft

chore: migrate rust/x509 to icp-cli#1416
marc0olo wants to merge 1 commit into
masterfrom
chore/migrate-rust-x509-to-icp-cli

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

  • Replace dfx.json with icp.yaml using @dfinity/rust@v3.3.0
  • Move src/x509_example_rust/backend/, update workspace Cargo.toml (members = ["backend"], resolver = "2")
  • Upgrade ic-cdk from 0.160.20, replace removed ic_cdk::api::management_canister::ecdsa with ic-cdk-management-canister = "0.1.1"
  • Regenerate Cargo.lock with updated dependencies
  • Add Makefile with test target exercising root_ca_certificate and child_certificate via openssl CSR generation
  • Rewrite README.md with icp-cli deploy instructions, preserving threshold-key and certificate-verification domain knowledge
  • Add CI workflow .github/workflows/x509.yml (ghcr.io/dfinity/icp-dev-env-rust:1.0.0, job rust-x509)
  • Delete dfx.json, BUILD.md, .devcontainer/, old src/ tree, legacy CI workflow rust-x509-example.yml

Test plan

  • icp network start -d && icp deploy succeeds in rust/x509/
  • make test passes — root CA certificate generated, child certificate signed from Ed25519 CSR, OpenSSL verifies self-signed root
  • CI workflow rust-x509 passes on push

🤖 Generated with Claude Code

Replace dfx.json with icp.yaml (@dfinity/rust@v3.3.0), move src/ to
backend/, update Cargo workspace to resolver 2, upgrade ic-cdk to 0.20
and replace ic_cdk::api::management_canister with ic-cdk-management-canister,
add Makefile with openssl-based tests, update README to icp-cli workflow,
add CI workflow (icp-dev-env-rust:1.0.0), and remove BUILD.md / devcontainer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant