Skip to content
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

Design an NFC/DID based identity system #2

Open
truedat101 opened this issue Nov 25, 2021 · 7 comments
Open

Design an NFC/DID based identity system #2

truedat101 opened this issue Nov 25, 2021 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@truedat101
Copy link
Contributor

The project needs a way to represent identities with an NFC tag and using concepts defined in https://w3c.github.io/did-core/

Start prototyping an architecture here.

@truedat101
Copy link
Contributor Author

@Damfortx8 can you start looking into how we might utilize NFC for the DID identity.

Concept: A user ID is tied to the NFC card and phone. I'm thinking we could store the secret key, encrypted in the NFC tag. It would be the job of the phone to prompt the user with a password, and decrypt the key, and then use the key data to sign transactions, etc.

I've reviewed the information here :https://docs.substrate.io/tutorials/v3/private-network/ to try to understand this a bit better.

@truedat101
Copy link
Contributor Author

@Damfortx8 the other concept I'd like to be able to perform is assign the identifier for a product into the NFC tag, and be able to scan the tag and load the verification of the entire "chain of custody" . In theory, this could simply open the web page of the view that shows the entire set of steps of creating this bag of coffee beans.

@truedat101
Copy link
Contributor Author

One issue I have had is getting the initial concept for how to use the NFC tags nailed down. I've been looking for some existing open source examples of NFC/blockchain utilization. In principle, the tag needs to store a private key in a secure element, and we'd use the app on a phone to unlock the tag and in theory, sign transactions.

@truedat101
Copy link
Contributor Author

truedat101 commented Sep 24, 2022

I found a few projects as reference points:

@truedat101
Copy link
Contributor Author

There really isn't much published. That's a surprise.

@truedat101
Copy link
Contributor Author

Some details on the substrate/polkadot key/accounts:

Regarding our NFC tags we most definitely can fit them into memory! The ST25 tags that I have I think are mostly 256 bytes of data available. That means we can, in theory store a key pair. Yes!

@truedat101
Copy link
Contributor Author

I've verified there is a way to lock entire areas of the ST25 cards, password protect for read/write. User has to set up a pin sort of thing. While I can use this, maybe we just want to leave it insecure for a demo. Seems like something I can add later. TBD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants