8000 Add command to create and start a confidential instance by olethanh · Pull Request #235 · aleph-im/aleph-client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add command to create and start a confidential instance #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 29, 2024

Conversation

olethanh
Copy link
Contributor
  • Add --confidential argument to aleph instance create
  • Add aleph instance confidential-init-session command to init the confidential sessions (get platform certificate, generate session certificate and upload them)
  • Add aleph instance confidential-start command to fetch the measurement from the server and start the VM (get measurements from server, validate them again locally calculated one and send the secret to the server)

I tested command separately against staging pyaleph and aleph-vm but the whole flow need to be thoroughly tested.

Copy link

Failed to retrieve llama text: POST 504:

504 Gateway Time-out


The server didn't respond in time.

Copy link
Collaborator
@Psycojoker Psycojoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some general comments on the code.

Copy link
codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 16.93548% with 103 lines in your changes missing coverage. Please review.

Project coverage is 39.53%. Comparing base (148dec5) to head (17c44ac).

Files Patch % Lines
src/aleph_client/commands/instance/__init__.py 9.64% 103 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
- Coverage   41.39%   39.53%   -1.87%     
==========================================
  Files          18       18              
  Lines        1551     1667     +116     
  Branches      257      282      +25     
==========================================
+ Hits          642      659      +17     
- Misses        890      989      +99     
  Partials       19       19              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@olethanh olethanh requested a review from Psycojoker July 25, 2024 14:39
@Psycojoker
Copy link
Collaborator

@olethanh you can squash & merge whenever you want for me

@olethanh olethanh requested a review from nesitor July 26, 2024 08:39
@
8000
olethanh olethanh force-pushed the ol-confidential-command branch from 5153556 to 6c6980c Compare July 26, 2024 08:54
@nesitor nesitor merged commit 72cb0eb into master Jul 29, 2024
16 of 18 checks passed
@nesitor nesitor deleted the ol-confidential-command branch July 29, 2024 10:47
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.

3 participants
0