Skip to content

fix: Motoko vetkd link #1155

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

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 2 additions & 4 deletions motoko/vetkd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ It includes:

* An example frontend (`src/app_frontend_js`) that uses the backend from Javascript in the browser.

The frontend uses the [ic-vetkd-utils](https://github.com/dfinity/ic/tree/master/packages/ic-vetkd-utils) to create a transport key pair that is used to obtain a verifiably encrypted key from the system API, to decrypt this key, and to derive a symmetric key to be used for AES encryption/decryption.

Because the `ic-vetkd-utils` are not yet published as NPM package at [npmjs.com](https://npmjs.com), a respective package file (`ic-vetkd-utils-0.1.0.tgz`) is included in this repository.
The frontend uses the [@dfinity/vetkeys](https://dfinity.github.io/vetkeys/modules/_dfinity_vetkeys.html) module to create a transport key pair that is used to obtain a verifiably encrypted key from the system API, to decrypt this key, and to derive a symmetric key to be used for AES encryption/decryption.
Copy link
Member

Choose a reason for hiding this comment

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

The example actually doesn't use the Typescript variant of our library yet. But I'm currently working on a PR that changes this. My PR also adapts this very line here in the way you do here, so I'd say we can actually close this PR here if that is OK with you.

Copy link
Member

Choose a reason for hiding this comment

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

FYI: this is the mentioned PR, which updates the READMEs: #1157


## Prerequisites
- [x] Install the [IC SDK](https://internetcomputer.org/docs/current/developer-docs/getting-started/install).
Expand Down Expand Up @@ -62,4 +60,4 @@ URLs:

## Step 4: Open frontend

Open the URL for the `app_frontend_js` (printed in the previous step) in your browser.
Open the URL for the `app_frontend_js` (printed in the previous step) in your browser.
Loading