Skip to content

Conversation

@rythmn1111
Copy link

Problem
The current Dockerfile attempts to build Rust from source. This fails because python is missing from the base image, and specifically causes an exec: python: not found error during ./configure. Additionally, building Rust from source is extremely resource-intensive and slow for a deployment container.

Solution
Switched to using rustup (sh.rustup.rs) to install the stable Rust toolchain.
Added curl and ca-certificates to the apt-get install list, as they are required for the installation script.

Result
Fixes Build: The Docker image now builds successfully.
Performance: Build time is reduced from potentially hours to a few minutes.
Reliability: Uses official pre-compiled binaries instead of local compilation.

- Replaced manual compilation of Rust from source with `rustup` installer
- Added `curl` and `ca-certificates` to system dependencies
- Fixes `python: not found` build error
- Significantly reduces Docker build time
…station

Implements device-controlled registration and attestation system with:
- Device registration with public key, wallet, and signed hash
- Registration status checking with multiple_wallet enforcement
- Attestation challenge generation with unique nonces
- Response verification with nonce replay protection
- Automatic per-user nonce process management

Registration process is hidden and only accessible through the device,
ensuring proper validation and authorization for all operations.
@skyf0xx
Copy link

skyf0xx commented Dec 18, 2025

related: #132 (comment)

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.

2 participants