# Verifiable Credentials

**URL:** <https://forum.dfinity.org/t/verifiable-credentials/15316>\
**Category:** Developers\
**Created:** [September 7, 2022, 4:39am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316 "2022-09-07T04:39:51Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [September 7, 2022, 4:39am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/1 "2022-09-07T04:39:51Z")

</div>

Hi,  
I would like to ask if there is a solution or idea out there about Verifiable Credentials implemented on the IC.

Thanks for any info.

Cheers Roland

---

<div class="post-metadata">

**Author:** ![domwoe](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/domwoe/32/5165_2.png) [@domwoe](https://forum.dfinity.org/u/domwoe)\
**Post date:** [September 7, 2022, 7:01am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/2 "2022-09-07T07:01:14Z")

</div>

Hey @rbole,

It would be great if you could share more details about what you’re thinking about in particular.  
Here’s what’s currently happening on the IC as far as I know:

- [NFID](https://nfid.one/) allows sharing of attributes (verified, that user has a mobile phone number) between dApps, though they don’t use [W3C Verifiable Credential data model](https://www.w3.org/TR/vc-data-model/) (yet). CC: @dostro

- The Identity & Authentication WG is currently thinking about a generalized flow of how a user could get attributes issued by a canister and present them to a relying canister in a way that is compatible with Internet Identity. Here, they’ll also explore the applicability of the W3C Verifiable Credential data model.

- [Threshold ECDSA](https://internetcomputer.org/docs/current/developer-docs/integrations/t-ecdsa/) (tECDSA) allows canisters to issue W3C Verifiable Credentials that can be verified using standard libraries by relying parties even outside the Internet Computer, i.e. by standard web services or even mobile apps. We just released a [Grant RFP](https://github.com/dfinity/grant-rfps/issues/5) that mentions this use case. Furthermore, it should be possible to define a DID method or just a verification method that supports canister signatures. This would allow issuing Verifiable Credentials even without using tECDSA.

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [September 7, 2022, 7:47am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/3 "2022-09-07T07:47:09Z")

</div>

Hey,  
currently we are building a new online learning platform, unfortunately not on the IC. This platform can also be used for certification. And in order to do so we are going to publish certificates in case of passing the exam. And this certificates we would like to store as a verified credential on the IC, according the W3C standard. So there is a proof of ownership on this particular exam for the participant.

I’m not sure if this will work but I try to find a solution with fits our possibilities and the use case.

---

<div class="post-metadata">

**Author:** ![dostro](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/dostro/32/1161_2.png) [@dostro](https://forum.dfinity.org/u/dostro)\
**Post date:** [September 7, 2022, 9:00am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/4 "2022-09-07T09:00:24Z")

</div>

Hello!

If you add NFID as the sign in method, you’ll have a method exposed to simply issue the verifiable credential to that user. Other applications the user sign in to can request and verify your credentials just as easily.

When do you need it by?

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [September 8, 2022, 5:16am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/5 "2022-09-08T05:16:58Z")

</div>

Hi,  
can you explain the difference between the Internet Identity Auth and NFID. We have planed an option for our users to register with the II Auth. So why we should use NFID instead of II Auth?

---

<div class="post-metadata">

**Author:** ![dostro](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/dostro/32/1161_2.png) [@dostro](https://forum.dfinity.org/u/dostro)\
**Post date:** [September 8, 2022, 9:13am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/6 "2022-09-08T09:13:57Z")

</div>

NFID is built on top of II, which means someone’s anchor could be used to authenticate from either service and generate the same identifier to 3rd party applications (though this will take some effort on the user’s side). Any feature II has is available in NFID, but not the other way around.

There are a few reasons developers like DSCVR and OpenChat have been citing to switch to NFID:

- Higher registration rates  
I’ve heard rates as low as 5-20% (80-95% drop-off) for new II users, especially non-technical people, and ~90-95% registration rate for NFID (most everyone chooses registration and authentication to the anchor via Google).
- Sybil resistance  
The phone credential proof provides devs with sybil resistance in the case of airdrops, token allocations, or governance to protect against duplicate accounts and bots (though I don’t believe this applies to you).
- Wallet support  
We just rolled out the first component of wallet support, wherein users will be able to see all their tokens across all their wallets and principals everywhere on the IC. Later next month, we’ll support users sending transactions to 3rd party apps all through their NFID.

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [September 9, 2022, 6:32am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/7 "2022-09-09T06:32:11Z")

</div>

> [@domwoe](#):
>
> [Threshold ECDSA](https://internetcomputer.org/docs/current/developer-docs/integrations/t-ecdsa/) (tECDSA) allows canisters to issue W3C Verifiable Credentials that can be verified using standard libraries by relying parties even outside the Internet Computer, i.e. by standard web services or even mobile apps. We just released a [Grant RFP](https://github.com/dfinity/grant-rfps/issues/5) that mentions this use case. Furthermore, it should be possible to define a DID method or just a verification method that supports canister signatures. This would allow issuing Verifiable Credentials even without using tECDSA.

This sounds interesting for me. I’m thinking about this a while, how I can implement something like Verified Credentials to enlarge web2 applications.

I come across this topic because of

[https://ec.europa.eu/digital-building-blocks/wikis/display/EBSIDOC/Verifiable+Credentials+Lifecycle](https://ec.europa.eu/digital-building-blocks/wikis/display/EBSIDOC/Verifiable+Credentials+Lifecycle)

---

<div class="post-metadata">

**Author:** ![Berg](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/berg/32/6678_2.png) [@Berg](https://forum.dfinity.org/u/Berg)\
**Post date:** [September 9, 2022, 7:50am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/8 "2022-09-09T07:50:50Z")

</div>

Haven’t been able to setup NFID for some reason on a few sites. Using a browser with many extensions like adblockers and such probably brakes it somewhere.  
No problems with II though.

---

<div class="post-metadata">

**Author:** ![Mercury](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mercury/32/9803_2.png) [@Mercury](https://forum.dfinity.org/u/Mercury)\
**Post date:** [October 7, 2023, 1:25pm UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/9 "2023-10-07T13:25:33Z")

</div>

Hi @rbole , what did you decide in the end for your online learning platform regarding Verifiable Credentials? Any of the suggestions by @domwoe and/or @dostro , or something else? Curious to hear about it. Cheers.

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [October 8, 2023, 6:36am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/10 "2023-10-08T06:36:51Z")

</div>

Hi @Mercury, nearly one year ago, we were looking for a solution to store digital education certifications. The solution should be feasible for us in terms of time and resources. That’s why we wanted something existing to have a standard if possible. At this time I found two solutions:

- W3C verified credentials (VC) ([Verifiable Credentials Data Model v1.1](https://www.w3.org/TR/vc-data-model/)) and
- OpenBadges ([https://openbadges.org/](https://openbadges.org/))

We took the W3C approach and later we recognized that EU also took such an approach [EBSI W3C Verifiable Credentials (VCs) and W3C Verifiable Presentations (VPs). - EBSI Specifications -](https://ec.europa.eu/digital-building-blocks/wikis/pages/viewpage.action?pageId=555222155).

With this solution we are also GDPR compliant, because we don’t store any personal data into the credential.  
So we ended up with the W3C approach but with small modifications the result is a JSON file which contains all the data which we store in a canister on the IC.

The credentials can be verified with our platform or manuell but the last option is not for the normal customer (too complicated). You can export the VVC (veriable verified credential) as PDF and import it into your Apple wallet. With the displayed QR code in the Apple wallet everyone can verify it against the VVC stored on the Internet Computer.

So we ended up with a very cool solution, I think.

This is not a 100% IC solution and for IC maxis not good enough, but as a I have mentioned, we needed a solution that we can deliver in time, because VC plays only a small part in an application like VERIABLE.

Unfortunately, in the end the customer doesn’t care where the certificates are stored because they don’t understand the technology behind it.

This may sound strange at this point, but solutions must also be sellable and especially as a company based in the European Union we have to take care of a loot of regulations in terms of data protection.

Hope that helps, what’s your story ?

---

<div class="post-metadata">

**Author:** ![dfisher](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@dfisher](https://forum.dfinity.org/u/dfisher)\
**Post date:** [October 8, 2023, 6:09pm UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/11 "2023-10-08T18:09:15Z")

</div>

Isn’t the identity team working on verifiable credentials?

---

<div class="post-metadata">

**Author:** ![bartosz](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bartosz](https://forum.dfinity.org/u/bartosz)\
**Post date:** [October 9, 2023, 9:02am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/12 "2023-10-09T09:02:24Z")

</div>

Indeed, we (identity team) are working on enabling verifiable credentials on the IC, please see [https://github.com/dfinity/wg-identity-authentication/blob/main/topics/attribute-sharing.md](https://github.com/dfinity/wg-identity-authentication/blob/main/topics/attribute-sharing.md) for a description of the approach, and [GitHub - dfinity/internet-identity at vc-mvp](https://github.com/dfinity/internet-identity/tree/vc-mvp) for an MVP implementation (wip).

---

<div class="post-metadata">

**Author:** ![dfisher](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@dfisher](https://forum.dfinity.org/u/dfisher)\
**Post date:** [October 10, 2023, 1:08am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/13 "2023-10-10T01:08:41Z")

</div>

Thanks. When will it be ready for general release and broad marketing?

---

<div class="post-metadata">

**Author:** ![Mercury](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mercury/32/9803_2.png) [@Mercury](https://forum.dfinity.org/u/Mercury)\
**Post date:** [October 11, 2023, 11:37am UTC](https://forum.dfinity.org/t/verifiable-credentials/15316/14 "2023-10-11T11:37:46Z")

</div>

Hi @rbole, glad to hear your story gave birth to a lovable product.

I totally agree that end-users’ product experience is what matters at the end of day.

Wrt GDPR, the document linked from the Verifiable Credential isn’t residing on your end, only a pointer to this PII document is inside the VC, and that’s how your storage is free from PII, is that so?

Surely someone who knows the basics of cryptology could do the verification themselves, very low percentile though, so I see why you needed to provide the means to handle that.
