# Single entry verification

**URL:** <https://forum.dfinity.org/t/single-entry-verification/2173>\
**Category:** Developers\
**Created:** [March 12, 2021, 6:18pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173 "2021-03-12T18:18:56Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 12, 2021, 6:18pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/1 "2021-03-12T18:18:56Z")

</div>

I’m wondering , is there some way possible to only allow 1 participant to enter into a raffle type scenario?

Would self sovereign identity combined with WebAuthn somehow be able to fix this issue? I might be overly simplifying this but worth a shot.

---

<div class="post-metadata">

**Author:** ![bengo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/bengo/32/530_2.png) [@bengo](https://forum.dfinity.org/u/bengo)\
**Post date:** [March 12, 2021, 7:03pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/2 "2021-03-12T19:03:16Z")

</div>

Would it be sufficient to use a variable in the canister that is “Principal of the 1 participant”, and update methods that change the Principal value of that `oneParticipant` variable?

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 12, 2021, 7:17pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/3 "2021-03-12T19:17:09Z")

</div>

Could you explain that a little further please?

---

<div class="post-metadata">

**Author:** ![levifeldman](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/levifeldman/32/1034_2.png) [@levifeldman](https://forum.dfinity.org/u/levifeldman)\
**Post date:** [March 12, 2021, 10:22pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/4 "2021-03-12T22:22:58Z")

</div>

I think he’s asking if we will know somehow that someone with the two-different-principles is of the same-person. It would be sufficient if the canister was able to tell that it’s the same person just with a different principle.

---

<div class="post-metadata">

**Author:** ![anon74414410](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anon74414410](https://forum.dfinity.org/u/anon74414410)\
**Post date:** [March 12, 2021, 10:46pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/5 "2021-03-12T22:46:01Z")

</div>

We use concepts of identity delegation, or having hot keys (webauthn identity) authorized to act on behalf of a cold key identity. You can link the various identities using whatever application logic or data structure suits your needs.

The short answer is that Dfinity’s existing tools solve the challenge of using one identity per browser, but do not determine how your application stores that identity or links together your various devices or browsers. There are plenty of good approaches to take, but we don’t have a full-service Okta or Auth0 style application at this point.

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 12, 2021, 11:10pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/6 "2021-03-12T23:10:34Z")

</div>

Thanks for your reply.

I look forward to seeing how this might work in practice…I suppose the goal I would be attempting to achieve would be to prevent ticket bots etc that could overload a service and enter multiple times for a prize

With the above suggestion , I could have multiple single identity browser windows open and enter multiple times or do I misunderstand?

---

<div class="post-metadata">

**Author:** ![anon74414410](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anon74414410](https://forum.dfinity.org/u/anon74414410)\
**Post date:** [March 12, 2021, 11:16pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/7 "2021-03-12T23:16:24Z")

</div>

In my experience, WebAuthn generates a new identity for incognito browsers or after clearing application data, so it’s not going to do any heavy lifting for bot protection, unfortunately

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 12, 2021, 11:46pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/8 "2021-03-12T23:46:12Z")

</div>

Got it…guess I gotta try come up with a different solution to this problem

Thanks for the info

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 13, 2021, 12:24am UTC](https://forum.dfinity.org/t/single-entry-verification/2173/9 "2021-03-13T00:24:36Z")

</div>

Maybe another reach but could your fingerprint be uniquely stored on the IC and then assigned to a profile/identity?

For instance , if I wanted to create multiple accounts I could not re use the same fingerprint ever again? Leaving me with a maximum 10 prints for 10 accounts?

I believe this is referred to as template hashing on ethereum

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 13, 2021, 10:44am UTC](https://forum.dfinity.org/t/single-entry-verification/2173/10 "2021-03-13T10:44:45Z")

</div>

> **[symmetry-12-00951-v2.pdf](https://res.mdpi.com/d_attachment/symmetry/symmetry-12-00951/article_deploy/symmetry-12-00951-v2.pdf)**
>
> 1961.59 KB

I found this article which suggests this may be possible on ethereum and IFPS …there is some sample code down the bottom of the article page 13

I think it is suggesting converting a fingerprint template to hash and then storing this in a smart contract on IFPS…could this same logic apply on ICP?

---

<div class="post-metadata">

**Author:** ![levifeldman](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/levifeldman/32/1034_2.png) [@levifeldman](https://forum.dfinity.org/u/levifeldman)\
**Post date:** [March 14, 2021, 9:28pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/11 "2021-03-14T21:28:00Z")

</div>

Hey thanks for the communication, i have a question though on this, if webauthn generates a new identity for a new browser or if the application data is cleared, then how will lets say a new user who doesnt know anything bout the blockchain and: keys, how will they gain access to their accounts on the canisters if their data gets cleared on their browser or if they get a new browser or a new computer?

also is webauthn the same thing as the self-sovereign-identity that Dom is talking bout?

---

<div class="post-metadata">

**Author:** ![anon74414410](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anon74414410](https://forum.dfinity.org/u/anon74414410)\
**Post date:** [March 19, 2021, 3:07pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/12 "2021-03-19T15:07:38Z")

</div>

Without wanting to overstep my bounds, I would say that self-sovereign identity is a goal we would like to see realized on the IC, rather than a promise for Genesis.

We will have a more technical talk on what we have for identity, but that work isn’t going to automatically handle knowing who a person actually is IRL or what permissions they have. That is application logic that will still need to be built for your app, or provided by some identity service that doesn’t exist yet. We think that web authentication has a place in that whole recipe, but we and the apps we’re partnering with are still actively figuring out how it all comes together

---

<div class="post-metadata">

**Author:** ![bengo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/bengo/32/530_2.png) [@bengo](https://forum.dfinity.org/u/bengo)\
**Post date:** [March 20, 2021, 12:51am UTC](https://forum.dfinity.org/t/single-entry-verification/2173/13 "2021-03-20T00:51:58Z")

</div>

“Self Sovereign Identity” is a loosely defined term. [Self-sovereign identity - Wikipedia](https://en.wikipedia.org/wiki/Self-sovereign_identity)

I’ve been studying it for a few years, and I’m not sure SSI alone really helps with @Emmo’s use case. SSI should afford for anyone to be empowered to present as the identity of their choice, perhaps amongst a bag of several identities that that same person uses in different contexts. _groups of people_, even, should perhaps be able to cooperate to present as a single identity… e.g. a software development team who cooperatively control a canister. For Tracking Prevention, the same device should also have a different Principal per canister. The Principal is **not** a unique identifier for the end-user.

If an end-user chooses to present themselves as many identities (or as part of a group identity), not just one, that’s a feature (to them), not a bug (maybe to you, but not to them). For example, I expect every human to have many Principals, at the very least because they will (probably) have a unique Principal for each device they use to access a given canister.

Now, this flexibility at the system layer may be frustrating to you ‘one ticket per person’ use case. On the other hand, there is nothing preventing someone from using this flexibility to build something less flexibile on top of it.

You should look into “Proof of Personhood”. It’s a hard problem. Definitely no ‘one size fits all’ approach that is ‘self-sovereign’ to the end-user and also ‘provably correct’ for someone with your use case, because by-my-understanding those two design goals are inherently at odds with one another.

- [Proof of personhood - Wikipedia](https://en.wikipedia.org/wiki/Proof_of_personhood)
- [rwot9-prague/proof\_of\_personhood.md at master · WebOfTrustInfo/rwot9-prague · GitHub](https://github.com/WebOfTrustInfo/rwot9-prague/blob/master/draft-documents/proof_of_personhood.md)
- [DWeb Camp: ⚡️Lightning Talk: Formalizing Unique Ide...](https://dwebcamp2019.sched.com/event/RcJM/clnulblightning-talk-formalizing-unique-identity-on-the-internet)

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 20, 2021, 11:34am UTC](https://forum.dfinity.org/t/single-entry-verification/2173/14 "2021-03-20T11:34:23Z")

</div>

I had been looking at the possibility of using the Webauthn api…in here , the “authenticator” device I.e biometric signature from a phone or yubikey etc , has an authenticator ID. If this could be assigned to a user profile during the the webauthn process when entering a raffle , it could possibly stop multiple entries unless a user had multiple “authenticator” devices which is possible but costly and maybe be a viable deterrent…at least on a massive scale

I think this would look something look this. :

- Sign in/register website with webauthn process
- Enter raffle , registration of profile id + unique webauthn authenticator device ID
- only one device registration per entry

So I could have multiplie accounts on the site but in order to enter multiple times to a raffle , I would need a new authenticator device for each entry

---

<div class="post-metadata">

**Author:** ![bengo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/bengo/32/530_2.png) [@bengo](https://forum.dfinity.org/u/bengo)\
**Post date:** [March 23, 2021, 10:43pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/15 "2021-03-23T22:43:54Z")

</div>

> [@Emmo](#):
>
> If this could be assigned to a user profile during the the webauthn process when entering a raffle

Ignoring web browsers and WebAuthn, lets say your canister is handling a request to enter the raffle. Let’s say that method requires presenting a unique ‘[authenticatorId](https://www.w3.org/TR/webauthn-2/#authenticatorid)’. What algorithm would you run to make sure that that the proposed authenticatorId value isn’t just something I came up with off the top of my head (or a random string of the correct length/charset)?

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 24, 2021, 12:07am UTC](https://forum.dfinity.org/t/single-entry-verification/2173/16 "2021-03-24T00:07:31Z")

</div>

This is the golden question , how can you verify or limit an identity/entry to just one time!

I’m really trying hard to figure this problem out but I’m not a developer so just trying to piece possible solutions together…this is a unique problem to solve but with massive potential in my opinion.

Gotta keep doing some research but if anyone would like to help or have any suggestions , by all means get in touch

---

<div class="post-metadata">

**Author:** ![anthonymq](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/anthonymq/32/524_2.png) [@anthonymq](https://forum.dfinity.org/u/anthonymq)\
**Post date:** [March 24, 2021, 11:07am UTC](https://forum.dfinity.org/t/single-entry-verification/2173/17 "2021-03-24T11:07:43Z")

</div>

We might need some proof of humanity

> **[Proof Of Humanity](https://www.proofofhumanity.id)**
>
> A system combining social verification with video submission to create a Sybil-proof list of humans.

Or we could pair the authenticator id with an external identity provider. In France we have a “France connect” auth provider which is a proof that we are french.

I’ve also been approved on [https://www.brightid.org](https://www.brightid.org)  
The onboarding is made via a discord call with the webcam on to verify that the picture you submited is really a picture of you.  
If you are verified by enough People, then your account is verified.

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 24, 2021, 5:19pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/18 "2021-03-24T17:19:42Z")

</div>

Yes this is a possible route also.

I think I would prefer a solution on the IC if possible either through API or logic based solutions.

But will for sure look into all avenues.

---

<div class="post-metadata">

**Author:** ![Emmo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/emmo/32/831_2.png) [@Emmo](https://forum.dfinity.org/u/Emmo)\
**Post date:** [March 16, 2022, 3:43pm UTC](https://forum.dfinity.org/t/single-entry-verification/2173/19 "2022-03-16T15:43:12Z")

</div>

Looking to revise this old idea…Any devs out there interested now that IC has been launched for almost a year?
