Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into feat/fix-typos-vc-workflow-pge
Browse files Browse the repository at this point in the history
  • Loading branch information
EbonyLouis authored Oct 2, 2024
2 parents 13ce6da + dff14f7 commit 4c0b57e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions site/blog/2024-01-11-devcareer-winners.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tags: [Hackathon, Web5, DevCareer]

## DevCareer 🤝 Web5 Hackathon

It's winner announcement time! We're thrilled to have been a part of [DevCareer's](https://devcareer.io/) first-ever hackathon. DevCareer's mission is to cultivate new talent and make a difference in Africa through tech, and having that talent play around with our Web5.js sdk was an invaluable experience. The level of creativity resulted in us having **not** 3 but 5 winning projects! 🚀
It's winner announcement time! We're thrilled to have been a part of [DevCareer's](https://devcareer.io/) first-ever hackathon. DevCareer's mission is to cultivate new talent and make a difference in Africa through tech, and having that talent play around with our Web5.js SDK was an invaluable experience. The level of creativity resulted in us having **not** 3 but 5 winning projects! 🚀

<!--truncate-->

Expand Down Expand Up @@ -71,7 +71,7 @@ yDID was developed by team **yDID**. It's an application focused on truly managi

## 🏅 Decentralized VR Museum

Decentralized VR Museum was created by team **Digital Dream Crafters**. It's an immersive virtual reality experience that allows users secure access to art work.
Decentralized VR Museum was created by team **Digital Dream Crafters**. It's an immersive virtual reality experience that allows users secure access to artwork.

**Try It Out:**

Expand All @@ -81,7 +81,7 @@ Decentralized VR Museum was created by team **Digital Dream Crafters**. It's an

## 🏅 Auth5

Auth5 was developed by team **MAVIGO**. It's a authentication system that ensures personal data is stored on the users [Decentralized Web Nodes](/docs/web5/decentralized-web-nodes/what-are-dwns). Allowing the user to control who can access their data.
Auth5 was developed by team **MAVIGO**. It's a authentication system that ensures personal data is stored on the user's [Decentralized Web Nodes](/docs/web5/decentralized-web-nodes/what-are-dwns). Allowing the user to control who can access their data.

**Try It Out:**

Expand Down
4 changes: 2 additions & 2 deletions site/blog/2024-01-29-tbd-hackathon-winners.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ MoneySavvy, **winner of Best FinTech Inspired App**, was developed by [Ahmad Nur

### 🏅 Rapha

Rapha, **winner of Best Health Inspired App**, was developed by [Festus Idowu](https://www.linkedin.com/in/festus-idowu-8269b3159/). It allows individuals to own and carry their health history with them. Utilizing decentralized web nodes (DWNs) for securly storing medical records.
Rapha, **winner of Best Health Inspired App**, was developed by [Festus Idowu](https://www.linkedin.com/in/festus-idowu-8269b3159/). It allows individuals to own and carry their health history with them. Utilizing decentralized web nodes (DWNs) for securely storing medical records.

<iframe class="aspect-video" src="https://www.youtube.com/embed/DnDy6cebYhs?si=fGtcl_m_CNBE1Vuy" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Expand All @@ -112,7 +112,7 @@ Musiv, **winner of Best Music and Arts Inspired App**, was developed by [Denis R

### 🏅 Tracks

Tracks, **winner of Best Personal Data Inspired Appp**, was developed by [Jack Watson](https://devpost.com/theblindguest). It's a decentralized digital travel diary that lets users pin places they've visited with photos and notes on a customizable world map, that can be shared.
Tracks, **winner of Best Personal Data Inspired App**, was developed by [Jack Watson](https://devpost.com/theblindguest). It's a decentralized digital travel diary that lets users pin places they've visited with photos and notes on a customizable world map, that can be shared.

<iframe class="aspect-video" src="https://www.youtube.com/embed/6ZFjqLXkVHA?si=jwkqo8qG1wsritg_" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Expand Down
2 changes: 1 addition & 1 deletion site/blog/2024-04-08-did-dht.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ We have additional ideas such as associating human-readable names with DIDs, tyi

The introduction of DID DHT represents a significant milestone in our journey toward a more decentralized, accessible, and secure digital identity landscape. We believe DID DHT has the characteristics to make it widely useful, and widely adopted. [Try it out](https://developer.tbd.website/docs/web5/decentralized-identifiers/how-to-create-did/) for yourself, and let us know what you think.

As we continue to refine and expand its capabilities, we invite the community to join us in this endeavor, contributing insights, feedback, and innovations to shepard DID DHT toward becoming _your default DID method_.
As we continue to refine and expand its capabilities, we invite the community to join us in this endeavor, contributing insights, feedback, and innovations to shepherd DID DHT toward becoming _your default DID method_.
6 changes: 3 additions & 3 deletions site/docs/web5/verifiable-credentials/vcs-in-dwn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const { status } = await record.send(userDid);

`signedVcJwt` represents a signed VC JWT. The `schema` property should be the same as the VC type, and `dataFormat` specifies the format of the VC which is `application/vc+jwt`.

## Querying VC From DWN
## Querying VC from DWN

To retrieve a stored VC from a DWN, you can use the `records.query()` method:

Expand All @@ -43,5 +43,5 @@ const response = await web5.dwn.records.query({
const signedVcJwt = await response[0].data.text();
```

This will access the first record matching the filters you specified, `schema` and `dataFormat`.
Keep in mind that this will return a JWT string, which can be [converted to a readable JSON object](/docs/web5/verifiable-credentials/jwt-to-vc#decoding-jwt).
This will access the first record matching the filters you specified, `schema` and `dataFormat`.
Keep in mind that this will return a JWT string, which can be [converted to a readable JSON object](/docs/web5/verifiable-credentials/jwt-to-vc#decoding-jwt).
10 changes: 5 additions & 5 deletions site/docs/web5/verifiable-credentials/what-are-vcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ VCs are digital credentials stating specific facts. They're similar to online ba

![VC's three party model](/img/vc-three-party-model.png)

> _Three party model diagram, from [Affinidi Pet. Ltd](https://affinidi.medium.com/what-are-verifiable-credentials-79f1846a7b9)_
> _Three party model diagram, from [Affinidi Pte. Ltd](https://affinidi.medium.com/what-are-verifiable-credentials-79f1846a7b9)_
A Verifiable Credential (VC) is a cryptographically-signed statement made by an issuer about a holder (or subject). VCs operate within a three-party model: the **Issuer**, the **Holder** **(or Subject)**, and the **Verifier**.

An **issuer** is the party who is making the claim; while the **holder(subject)** is the party who the claim is made about. In the example VC where the claim is "Alice has a degree from Decentralized University", Decentralized University would be a credible issuer and Alice would be the subject.

The beauty of VCs are that the claims made within them can be verified without needing a middleman. Since VCs are signed by the issuer with some fancy cryptography magic (we'll uncover this magic in a minute), anyone can become a **verifier** to confirm that the claims are indeed the real-deal. It’s all about being sure that a claim (like Alice's degree or Bob’s employment status) isn't just a made up story.
The beauty of VCs are that the claims made within them can be verified without needing a middleman. Since VCs are signed by the issuer with some fancy cryptography magic (we'll uncover this magic in a minute), anyone can become a **verifier** to confirm that the claims are indeed the real-deal. It’s all about being sure that a claim (like Alice's degree or Bob’s employment status) isn't just a made-up story.

## Examples of Verifiable Credentials

Expand Down Expand Up @@ -94,9 +94,9 @@ There are different ways to secure VCs, let's look into securing them with JWT.
In our example, for Alice's potential employer to verify that she did indeed graduate from Decentralized University, Alice would need to give them a [Verifiable Presentation](/docs/glossary#verifiable-presentation) that contains her VC's JWT string.

The employer(verifier) would then get the university's public key through the [Verifiable Data Registry](https://www.w3.org/TR/vc-data-model-2.0/#ecosystem-overview). In order for the university to create that JWT string, they need their pubic-private key pair. The employer would then verify the JWT using the university's public key and the JWT's encoded signature (the characters after the last period in the above string #3).
The employer (verifier) would then get the university's public key through the [Verifiable Data Registry](https://www.w3.org/TR/vc-data-model-2.0/#ecosystem-overview). In order for the university to create that JWT string, they need their public-private key pair. The employer would then verify the JWT using the university's public key and the JWT's encoded signature (the characters after the last period in the above string #3).

A successful verification tells the employer that the VC is authentic. If this step fails, it's a sign that Alice's VC was forged. After verification, the employer can decode the JWT, as shown on [JWT.io](https://jwt.io/) to obtain it's payload. The payload contains all the information that is written inside of the VC that Alice has presented to them. The employer can trust that the information contained in the now verified payload was indeed issued by the university.
A successful verification tells the employer that the VC is authentic. If this step fails, it's a sign that Alice's VC was forged. After verification, the employer can decode the JWT, as shown on [JWT.io](https://jwt.io/) to obtain it's payload. The payload contains all the information that is written inside of the VC that Alice has presented to them. The employer can trust that the information contained in the now-verified payload was indeed issued by the university.

:::note
Trust is still critical. A VC from “Bob’s Bogus Academy” might not carry the same credibility as one from a renowned institution. However, since public keys are public, the discovery of them presents a slight risk. How do you know that the public key you were given actually belongs to the issuer, such as Decentralized University? Although the Verifiable Data Registry gives you a way to search for public keys, it still requires a great amount of trust. Always consider the issuer's reputation.
Expand All @@ -106,4 +106,4 @@ Trust is still critical. A VC from “Bob’s Bogus Academy” might not carry t

VCs can be securely stored and managed via identity wallets. When the need arises to share them, it's simply a matter of presenting directly from the wallet, ensuring personal data remains private.

Now, with their newfound knowledge of VCs, Alice and Bob are ready to further explore the decentralized web, presenting their credentials with confidence. Looking to play around with verifiable credentials yourself? Start by following our [Issue a VC](/docs/web5/verifiable-credentials/vc-issuance) guide. For additional resources, check out our [Web5/credentials](https://www.npmjs.com/package/@web5/credentials) npm package.
Now, with their newfound knowledge of VCs, Alice and Bob are ready to further explore the decentralized web, presenting their credentials with confidence. Looking to play around with Verifiable Credentials yourself? Start by following our [Issue a VC](/docs/web5/verifiable-credentials/vc-issuance) guide. For additional resources, check out our [Web5/credentials](https://www.npmjs.com/package/@web5/credentials) npm package.
2 changes: 1 addition & 1 deletion site/src/content/projects/web5/web5.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const content = {
title: 'Own Your Data',
alt: '',
description:
"Bob is a music lover and hates having his personal data locked to a single vendor. It forces him to regurgitate his playlists and songs over and over again across different music apps. Thankfully there's a way out of this maze of vendor-locked silos: Bob can keep this data in his decentralized web node. This way Bob is able to grant any music app access to his settings and preferences, enabling him to take his personalized music experience wherever he chooses.",
"Bob is a music lover and hates having his personal data locked to a single vendor. It forces him to recreate his playlists and songs over and over again across different music apps. Thankfully there's a way out of this maze of vendor-locked silos: Bob can keep this data in his decentralized web node. This way Bob is able to grant any music app access to his settings and preferences, enabling him to take his personalized music experience wherever he chooses.",
},
],
},
Expand Down

0 comments on commit 4c0b57e

Please sign in to comment.