Skip to content

Commit

Permalink
Merge branch 'master' into dev-weekly-update-12-4
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiemongeon1 authored Dec 5, 2024
2 parents b8fc755 + da60a9a commit 0293e69
Show file tree
Hide file tree
Showing 45 changed files with 96 additions and 53 deletions.
6 changes: 3 additions & 3 deletions blog/features/vetkey-primer.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Considering that blockchains are very public places where transparency has been
Note that we care most about the secret ***key derivation*** here, as that is the most sensitive part which we want to protect from one central (potentially untrusted, unauthorized, or compromised) party, and hence the **KD** in VETKD. To deal with the centralization point, we need to move into the distributed setting. Assuming there is no one trusted party, we distribute trust amongst multiple parties, and require that some *threshold* of them collaborate on shares of the master secret key to derive decryption keys.

How do parties **get shares** of the master secret key? This is done by leveraging a distributed key generation (DKG) protocol, where a threshold of honest parties (or nodes) work together to obtain a set of master key shares. Assuming no collusion between nodes, at no point does any one node hold the full private key.
Click around to learn more about [threshold cryptography]( https://en.wikipedia.org/wiki/Threshold_cryptosystem), [DKG](https://en.wikipedia.org/wiki/Distributed_key_generation) and chapter 22 in the [Boneh-Shoup book](http://toc.cryptobook.us/).
Click around to learn more about [threshold cryptography]( https://en.wikipedia.org/wiki/Threshold_cryptosystem), [DKG](https://en.wikipedia.org/wiki/Distributed_key_generation) and chapter 22 in the [Boneh-Shoup book](https://toc.cryptobook.us/).

It’s clear from above that we don't want a centralised key derivation process and this is why we need the **T** for the KD process, but what about **V** and **E**? Perhaps this is best highlighted by a scenario.

Expand Down Expand Up @@ -100,7 +100,7 @@ At a first glance, we could guess that we will need a distributed key generation
Crucially, An observation buried in [BF01] gives us the answer. Moni Naor noted that an IBE scheme can be directly converted into a signature scheme. Considering the key derivation of Boneh-Franklin IBE specifically, the resulting signature scheme happens to be BLS.

### BLS signatures
Digital signatures are used everywhere in cryptography and in the blockchain world to attest to the authenticity of a message, transaction, or other pieces of information. As they are so prevalent, it’s really worth spending time getting to know them. You can get a high level view on wikipedia ([Digital Signatures](https://en.wikipedia.org/wiki/Digital_signature) and [BLS](https://en.wikipedia.org/wiki/BLS_digital_signature)), and dive into the [Boneh-Shoup book](http://toc.cryptobook.us/) when you want more formal details.
Digital signatures are used everywhere in cryptography and in the blockchain world to attest to the authenticity of a message, transaction, or other pieces of information. As they are so prevalent, it’s really worth spending time getting to know them. You can get a high level view on wikipedia ([Digital Signatures](https://en.wikipedia.org/wiki/Digital_signature) and [BLS](https://en.wikipedia.org/wiki/BLS_digital_signature)), and dive into the [Boneh-Shoup book](https://toc.cryptobook.us/) when you want more formal details.

BLS signatures are a particular type of digital signature introduced in by Dan Boneh, Ben Lynn, and Hovav Shacham in 2001.

Expand Down Expand Up @@ -132,7 +132,7 @@ This page contains a high level view and description of VETKD and its building b
It also shows one possible way of building VETKD, there are others, some with fancy features, that are described more in the paper. There are many use cases and motivations for building VETKD, these are discussed in [the video](https://youtu.be/baM6jHnmMq8) and can be written up if you like. There are also extensions that could be built depending on what is needed in the community. Finally, note that this page is hosted onchain.

## References
* [BS23](http://toc.cryptobook.us/) - The Boneh-Shoup Book.
* [BS23](https://toc.cryptobook.us/) - The Boneh-Shoup Book.
* [BF01](https://crypto.stanford.edu/~dabo/papers/bfibe.pdf) - The IBE paper.
* [BLS01](https://www.iacr.org/archive/asiacrypt2001/22480516.pdf) - The BLS paper.
* [DH76](https://ee.stanford.edu/~hellman/publications/24.pdf) - Diffie and Hellman's New Directions paper.
Expand Down
2 changes: 1 addition & 1 deletion blog/news-and-updates/2023-12-06-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Hello developers and welcome back to developer weekly! This week, we have some v

On Friday, December 1st, the NNS proposals to enable ckETH on ICP went live. We're excited to announce that all proposals were passed by the NNS, and ckETH is now live on the mainnet!

ckETH has been added to the ICP dashboard, which you can view [here](http://dashboard.internetcomputer.org/ethereum). You can learn how to interact with ckETH by reviewing the ckETH minter documentation [here](https://github.com/dfinity/ic/blob/master/rs/ethereum/cketh/minter/README.adoc).
ckETH has been added to the ICP dashboard, which you can view [here](https://dashboard.internetcomputer.org/ethereum). You can learn how to interact with ckETH by reviewing the ckETH minter documentation [here](https://github.com/dfinity/ic/blob/master/rs/ethereum/cketh/minter/README.adoc).

ckETH support is also live in the ICRC-1 wallet, which includes ckETH has a pre-defined token. The index canister has been integrated, allowing you to mint directly to your principal. The ICRC-1 wallet canister can be found [here](https://e4hv6-7yaaa-aaaao-a2ida-cai.icp0.io/)

Expand Down
2 changes: 1 addition & 1 deletion blog/news-and-updates/team-spotlight-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Hey devs and welcome to this edition of ICP team spotlight! In this issue, we sa

**The SDK team is pretty involved with the dev community on the forum and Discord server, which I'm sure has lead to features derived as a result of community feedback. What are some of the improvements made as a direct result of developer feedback?**

*Lots! We built the [developer feedback board](http://dx.internetcomputer.org) a while back, and every two weeks, our internal focus group meets to go over the latest items and check-in on the progress we’ve made addressing others. One thing that's come as a result of the feedback received is the `dfx` version manager. Developers expressed that they want a way to switch `dfx` versions easily. We spent some time working out how best to accomplish that, and the `dfx` version manager was born. Another example is the Cycles Ledger - we heard feedback that the Cycles Wallet was a pain to use and developers wanted a better solution. We are continuously looking for ways to improve our tooling, so keep the feedback coming!*
*Lots! We built the [developer feedback board](https://dx.internetcomputer.org) a while back, and every two weeks, our internal focus group meets to go over the latest items and check-in on the progress we’ve made addressing others. One thing that's come as a result of the feedback received is the `dfx` version manager. Developers expressed that they want a way to switch `dfx` versions easily. We spent some time working out how best to accomplish that, and the `dfx` version manager was born. Another example is the Cycles Ledger - we heard feedback that the Cycles Wallet was a pain to use and developers wanted a better solution. We are continuously looking for ways to improve our tooling, so keep the feedback coming!*

**Where should developers look for the latest SDK updates?**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ To address issues around message ordering that can lead to bugs, one usually emp

The locks would usually be released in the callback. That bears the risk that the lock may never be released in case the callback traps, as we discussed in [securely handle traps in callbacks](#securely-handle-traps-in-callbacks). The code examples below shows how one can securely implement a lock per caller.
- In Rust, one can use the drop pattern where each caller lock (`CallerGuard` struct) implementats the `Drop` trait to release the lock. From Rust CDK version `0.5.1`, any local variables still go out of scope if the callback traps, so the lock on the caller is released even in that case. Technically, the CDK calls into the `ic0.call_on_cleanup` API to release these resources. Recall that `ic0.call_on_cleanup` is executed if the `reply` or the `reject` callback executed and trapped.
- In Motoko, one can use the [`try`/`finally`](docs/current/motoko/main/reference/language-manual/#try) control flow construct. This construct guarantees that the lock is released in the `finally` block regardless of any errors or traps in the `try` or `catch` blocks.
- In Motoko, one can use the [`try`/`finally`](/docs/current/motoko/main/reference/language-manual/#try) control flow construct. This construct guarantees that the lock is released in the `finally` block regardless of any errors or traps in the `try` or `catch` blocks.

<AdornedTabs groupId="language">
<TabItem value="rust" label="Rust" default>
Expand Down
6 changes: 3 additions & 3 deletions docs/developer-docs/web-apps/custom-domains/dns-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The resulting configuration should look similar to the following screenshot:

![DNS Configuration for `example.ic-domain.live` on Namecheap](namecheap-subdomain.png)

Now, you are all set to register your custom domain with the boundary nodes, and you can continue with step 2 of the [general custom domains instructions](using-custom-domains#custom-domains-on-the-boundary-nodes).
Now, you are all set to register your custom domain with the boundary nodes, and you can continue with step 2 of the [general custom domains instructions](./using-custom-domains#custom-domains-on-the-boundary-nodes).

## GoDaddy

Expand Down Expand Up @@ -171,7 +171,7 @@ The resulting configuration should look similar to the following screenshot:

![DNS Configuration for `example.ic-domain.live` on GoDaddy](godaddy-subdomain.png)

Now, you are all set to register your custom domain with the boundary nodes, and you can continue with step 2 of the [general custom domains instructions](using-custom-domains#custom-domains-on-the-boundary-nodes).
Now, you are all set to register your custom domain with the boundary nodes, and you can continue with step 2 of the [general custom domains instructions](./using-custom-domains#custom-domains-on-the-boundary-nodes).

## Amazon Route 53

Expand Down Expand Up @@ -201,4 +201,4 @@ The resulting configuration should look similar to the following screenshot:

![DNS Configuration for `example.ic-domain.live` on Amazon Route 53](route53-subdomain.png)

Now, you are all set to register your custom domain with the boundary nodes, and you can continue with step 2 of the [general custom domains instructions](using-custom-domains#custom-domains-on-the-boundary-nodes).
Now, you are all set to register your custom domain with the boundary nodes, and you can continue with step 2 of the [general custom domains instructions](./using-custom-domains#custom-domains-on-the-boundary-nodes).
2 changes: 1 addition & 1 deletion docs/other/updates/release-notes/0.9.2-rn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

An overview of the 0.9.2 release:

Be sure to see the [0.9.0 Release Notes](0.9.0-rn) and follow the instructions due to breaking changes since dfx 0.8.4.
Be sure to see the [0.9.0 Release Notes](./0.9.0-rn) and follow the instructions due to breaking changes since dfx 0.8.4.

## Changes to DFX

Expand Down
4 changes: 2 additions & 2 deletions docs/references/id-encoding-spec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ Links describing our CRC32 function (resp. the polynomial used therein):

* Table entry “CRC-32” on [Wikipedia](https://en.wikipedia.org/wiki/Cyclic_redundancy_check).
* Row “IEEE 802.3; CRC-32” in [Koopman's database](https://users.ece.cmu.edu/~koopman/crc/crc32.html).
* Entry “CRC-32/ISO-HDLC” in the [CRC catalogue](http://reveng.sourceforge.net/crc-catalogue/all.htm).
* Entry “CRC-32/ISO-HDLC” in the [CRC catalogue](https://reveng.sourceforge.net/crc-catalogue/all.htm).
* Row labeled “CRC-32” in this [online calculator](https://crccalc.com/).

Our CRC32 function is defined by the following parameters in the [CRC catalogue](http://reveng.sourceforge.net/crc-catalogue/all.htm) and [online calculator](https://crccalc.com/):
Our CRC32 function is defined by the following parameters in the [CRC catalogue](https://reveng.sourceforge.net/crc-catalogue/all.htm) and [online calculator](https://crccalc.com/):


```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).


## Next steps
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/developer-journey/level-0/02-ic-terms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/developer-journey/level-0/03-dev-env.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).


## Next steps
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/developer-journey/level-0/06-intro-dfx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/developer-journey/level-1/1.1-live-demo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours, hosted on the [ICP Discord](https://discord.internetcomputer.org) server to ask questions, get clarification, and chat with other developers live via voice chat.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ Did you get stuck somewhere in this tutorial, or feel like you need additional h

- Weekly developer office hours to ask questions, get clarification, and chat with other developers live via voice chat. This is hosted on the [Discord](https://discord.internetcomputer.org) server.

- Submit your feedback to the [ICP Developer feedback board](http://dx.internetcomputer.org).
- Submit your feedback to the [ICP Developer feedback board](https://dx.internetcomputer.org).

## Next steps

Expand Down
Loading

0 comments on commit 0293e69

Please sign in to comment.