Blockchain and Self Sovereign Identity to Support Quality in the Food Supply Chain
Abstract
:1. Introduction
2. Review
2.1. Certifications in Food Supply Chain
…a supply chain is a sequence of processes and flows that take place within and between different stages and combine to fill a customer need for a product…The processes in a supply chain are divided into a series of cycles, each performed at the interface between two successive stages of a supply chain. Given the five stages of a supply chain (Customer, Retailer, Distributor, Manufacturer, Supplier), all supply chain processes can be broken down into the following four process cycles: Customer order cycle, Replenishment cycle, Manufacturing cycle, Procurement cycle. Each cycle occurs at the interface between two successive stages of the supply chain. Not every supply chain will have all four cycles clearly separated. For example, a grocery supply chain in which a retailer stocks finished-goods inventories and places replenishment orders with a distributor is likely to have all four cycles separated…
A cycle view of the supply chain clearly defines the processes involved and the owners of each process. This view is useful when considering operational decisions because it specifies the roles and responsibilities of each member of the supply chain and the desired outcome for each process.
- ISO 9001 describes the organizational structure, procedures, processes, and resources necessary to implement quality management in a company [10].
- ISO 22000 is specific for food safety, and is applicable to all companies involved in the agri-food chain. This standard establishes the Prerequisite Programs (PRP), which integrate with the HACCP principles. These programs are all those prerequisites and activities to be implemented to maintain a hygienic environment throughout the agri-food chain, capable of producing, managing, and supplying products that are safe for consumption.
- ISO 22005 certifies traceability in the food and feed chain. Organizations wishing to enhance and communicate the origin of the products and raw materials used often resort to this certification.
- IFS FOOD (International Food Standard) differently from the aforementioned standards is a product certification, that is, it certifies that agri-food productions are carried out guaranteeing food safety and the healthiness of the products marketed [11]. For a company to be certified IFS it must perform an accurate risk analysis (microbiological, biological, chemical, physical, allergens), know, evaluate, and control all its suppliers, both of raw materials and of primary packaging and material in contact with Foods.
- BRC GLOBAL STANDARD offers a set of guidelines for the production of safe food and for the management of product quality, to fully meet customer expectations. The main purpose of this standard is to strengthen and promote food safety throughout the supply chain. The standard applies to food processing and preparation companies and identifies the specific elements of a management system focused on the quality and hygienic-sanitary safety of products, which take as reference the HACCP methodology for the planning and the implementation.
2.2. SSI, Blockchain and IPFS
- Digital Identity: a Digital Identity—and corresponding identifiers (see DIDs)—allow for unique identification of an entity within an SSI ecosystem, such as ESSIF. Also, every entity (i.e., natural person, legal entity) can have multiple digital identities. Simply speaking, Digital Identities require (a) identifiers (e.g., for discovery) and (b) identity-related information about an entity, such as about individual attributes or properties (see Verifiable IDs and/or Verifiable Attestations).
- Decentralized Identifier (DID): a DID is in its basic form/in principal and according to SSI-principals nothing more than an address, which is mainly used to identify and find other parties, establish relations and sessions to exchange data. Consequently, a DID, viewed in isolation, says nothing about the respective entity with which it is associated.
- Verifiable IDs: in contrast to a DID, a Verifiable ID contains information about an entity which it can put forward as evidence of whom he/she/it is (comparable with, e.g., a passport or physical ID card) and, thus, allows for identification and authentication. A Verifiable IDs is issued by an entity, called an Issuer. The entity holding a Verifiable ID is called a Holder.
- Verifiable Attestation: a Verifiable Attestation contains information about an entity which it can put forward as evidence of certain attributes or properties, or as evidence of e.g., a permit, attestation, authorization received. A Verifiable Attestation is issued by an Issuer to a Holder. The terminological differentiation between Verifiable IDs and Verifiable Attestations is purely functional, thus, no relevant differences on the technical level are to be expected.
- Verifiable Presentations: an entity that was issued a Verifiable ID and/or Attestation, should not share it directly with another party (which may need certain information for conducting a transaction), called a Verifier or a Relying Party. To share the information contained in Verifiable IDs and/or Attestations, an entity must construct a Verifiable Presentation by transforming information from one or more underlying Verifiable IDs and/or Attestations. Simply speaking, a Verifiable Presentation is identity data (taken from Verifiable IDs and/or Attestations) that the Holder chooses to share with a specific Verifier for a specific purpose.
- Contexts: JSON-LD contexts define the terminology used to describe data, ensuring that both producers and consumers of data have a shared understanding of the semantics.
- DID Subject: this is the subject (individual, organization, thing, animal, etc.) identified by the DID.
- Public Keys: Public Keys associated with a DID are a prerequisite for secure and authenticated communication between DID Subjects.
- Authentication: the Authentication block in a DID Document simply references the DID Document’s Public Key (see above) that is intended for proving control/ownership of a DID. This is used when two parties (e.g., a Holder and a Verifier) connect and exchange data and messages.
- Proof: this can be added to a DID Document to prove integrity or correctness or other security and trust aspects of a DID Document. DID Resolution (obtaining a DID Document for a given DID) is itself intended to be a trusted process; therefore, explicitly adding a Proof object to a DID Document is not strictly required, but can optionally be used to add data for additional trust characteristics.
- Extensibility: additional elements can be added to a DID Document with additional metadata about the DID Subject.
Legal effects of electronic ledgers:
1. An electronic ledger shall not be denied legal effect and admissibility as evidence in legal proceedings solely on the grounds that it is in an electronic form or that it does not meet the requirements for qualified electronic ledgers.
2. A qualified electronic ledger shall enjoy the presumption of the uniqueness and authenticity of the data it contains, of the accuracy of their date and time, and of their sequential chronological ordering within the ledger.
“SSI leverages two essential elements for identity management: decentralized registers of information and digital wallets. Decentralized ledgers: the SSI model relies on decentralized registers of information, in which the proofs of ownership of decentralized identifiers and the verifiable credentials are stored within a decentralized ledger. Unlike the centralized, third-party, federated, and user-centric models, which require the verifying entity to somehow reach out to the issuer to verify digital credentials presented to them by the subjects, the SSI model allows the issuer to leave all necessary proofs (cryptographic proofs such as digital signatures and timestamps) in a decentralized public ledger so that anyone can verify them against it… Digital wallets: digital wallets are portable and secure personal repositories. Ideally in the form of a mobile app, they allow us to manage our identifiers, authenticators, data, and verifiable credentials within our phones, which are completely protected and under our control. We decide what information we disclose to whom in the form of verifiable presentations…”
2.3. Related Works
2.4. Food Certifications as Verifiable Attestation
- The context defines URI to identify terminology and protocols that allow parties to read the credential. It enables different systems to exchange data with each other.
- URI to identify the credential type.
- URI to identify the issuer.
- Issuance date of the claim.
- URI (URI stands for Uniform Resource Identifier.) to uniquely identify the credential and/or the subject of the credential.
- Cryptographic proof of the issuer.
- Claims data or metadata.
- Expiration conditions for defining when the claim is no longer valid.
- Location of the credential status.
2.5. DID Standards and Platforms
- Our dApp is designed and implemented following a design method recently developed specifically for decentralized application accordingly to the software engineering principles. It is the so-called Agile Block Chain Dapp Engineering (ABCDE) method.
- Our model exploits the public blockchain concepts in combinations with those of the SSI to ensure eligibility, transparency and traceability of the food certifications along a food supply chain.
- In our work, the food certification registry is implemented using ERC 780 standard, hence using an Ethereum standard that, contrary to other standards, such as ERC734 and ERC735, is W3C compatible, so it complies with the universally accepted standards.
3. The Proposed SSI System
- A supply chain’s participant asks an authorized body for a certification.
- If the performed audits by the certification body are successful, the body issues a certification.
- The certification body stores the issued certification in the IPFS.
- Then, the certification body signs the hash returned by IPFS, together with the status of certification and the name of the certification, and stores the signature and other certification data on-chain.
- A verifier that desires to verify the validity of a certification has to perform precise verification steps following the same scheme used to construct the signed data.
3.1. Methodology
3.2. On-Chain Subsystem
3.3. Off-Chain Subsystem
4. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- EmergenResearch. Food Certification Market By Application (Processed Meat & Poultry, Organic Food, Dairy Products, Seafood, Beverages, Infant Food, Others), By Type (ISO 22000, Halal, Kosher, SQF, FSSAI, BRC, Others), By Risk (Low Risk, High Risk), and By Region, Forecasts to 2027. 2020. Available online: https://www.emergenresearch.com/industry-report/food-certification-market (accessed on 3 November 2021).
- GlobeNewsWire. Global Food Certification Market (2020 to 2025)—Adoption of Halal, Organic, and ‘Free-From’ Food Certifications Presents Opportunities. 2020. Available online: https://www.globenewswire.com/news-release/2020/11/26/2134372/28124/en/Global-Food-Certification-Market-2020-to-2025-Adoption-of-Halal-Organic-and-Free-From-Food-Certifications-Presents-Opportunities.html (accessed on 3 November 2021).
- GlobalFoodSafetyResource. The Importance of Food Safety Certification. 2021. Available online: https://globalfoodsafetyresource.com/food-safety-certification/ (accessed on 3 November 2021).
- Manyika, J.; Ramaswamy, S.; Khanna, S.; Sarrazin, H.; Pinkus, G.; Sethupathy, G.; Yaffe, A. Digital America: A Tale of the Haves and Have-Mores. Available online: https://www.mckinsey.com/industries/technology-media-and-telecommunications/our-insights/digital-america-a-tale-of-the-haves-and-have-mores (accessed on 7 October 2021).
- Trienekens, J.H.; Wognum, P.; Beulens, A.J.; van der Vorst, J.G. Transparency in complex dynamic food supply chains. Adv. Eng. Inform. 2012, 26, 55–65. [Google Scholar] [CrossRef]
- Chopra, S.; Meindl, P. Supply Chain Management: Strategy, Planning, and Operation; Prentice-Hall: Upper Saddle River, NJ, USA, 2001. [Google Scholar]
- Dudin, M.N.; Smirnova, O.O.; Vysotskaya, N.V.; Frolova, E.E.; Vilkova, N.G. The Deming Cycle (PDCA) Concept as a Tool for the Transition to the Innovative Path of the Continuous Quality Improvement in Production Processes of the Agro-Industrial Sector. Eur. Res. Stud. J. 2017, 20, 283–293. [Google Scholar] [CrossRef]
- CONTROLUNION. Food Safety. Available online: https://certifications.controlunion.com/en/industries/food-safety (accessed on 3 November 2021).
- BTSA. The Main Certificates of the Food Industry. Available online: https://www.btsa.com/en/main-food-certificates/ (accessed on 3 November 2021).
- ISO. Popular Standards ISO 22000 Food Safety Management. Available online: https://www.iso.org/iso-22000-food-safety-management.html (accessed on 3 November 2021).
- IFS. Global Safety and Quality Standards. Available online: https://www.ifs-certification.com/index.php/en/ (accessed on 3 November 2021).
- Aung, M.M.; Chang, Y.S. Traceability in a food supply chain: Safety and quality perspectives. Food Control 2014, 39, 172–184. [Google Scholar] [CrossRef]
- Rejeb, A.; Keogh, J.G.; Treiblmaier, H. Leveraging the internet of things and blockchain technology in supply chain management. Future Internet 2019, 11, 161. [Google Scholar] [CrossRef] [Green Version]
- Feng, T. A supply chain traceability system for food safety based on HACCP, blockchain & Internet of things. In Proceedings of the 14th International Conference on Services Systems and Services Management, ICSSSM 2017, Dalian, China, 16–18 June 2017. [Google Scholar] [CrossRef]
- Baralla, G.; Pinna, A.; Corrias, G. Ensure Traceability in European Food Supply Chain by Using a Blockchain System. In Proceedings of the 2nd International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB ’19), Montreal, QC, Canada, 27 May 2019; pp. 40–47. [Google Scholar] [CrossRef]
- Baralla, G.; Pinna, A.; Tonelli, R.; Marchesi, M.; Ibba, S. Ensuring transparency and traceability of food local products: A blockchain application to a Smart Tourism Region. Concurr. Comput. Pract. Exp. 2021, 33, e5857. [Google Scholar] [CrossRef]
- Pranto, T.H.; Noman, A.A.; Mahmud, A.; Haque, A.B. Blockchain and smart contract for IoT enabled smart agriculture. PeerJ Comput. Sci. 2021, 7, e407. [Google Scholar] [CrossRef]
- Huang, H.; Zhou, X.; Liu, J. Food Supply Chain Traceability Scheme based on Blockchain and EPC Technology. Available online: https://www.semanticscholar.org/paper/Food-Supply-Chain-Traceability-Scheme-Based-on-and-Huang-Zhou/8f7c7759f8f9b67b6800879def1c76d08f88a9fd (accessed on 7 October 2021).
- Xu, Q.; Song, Z.; Mong Goh, R.S.; Li, Y. Building an Ethereum and IPFS-Based Decentralized Social Network System. In Proceedings of the 2018 IEEE 24th International Conference on Parallel and Distributed Systems (ICPADS), Singapore, 11–13 December 2018; pp. 1–6. [Google Scholar] [CrossRef]
- Chen, Y.; Li, H.; Li, K.; Zhang, J. An improved P2P file system scheme based on IPFS and Blockchain. In Proceedings of the 2017 IEEE International Conference on Big Data (Big Data), Boston, MA, USA, 11–14 December 2017; pp. 2652–2657. [Google Scholar]
- Ali, M.S.; Dolui, K.; Antonelli, F. IoT data privacy via blockchains and IPFS. In Proceedings of the Seventh International Conference on the Internet of Things, Linz, Austria, 22–25 October 2017; pp. 1–7. [Google Scholar]
- Zheng, Q.; Li, Y.; Chen, P.; Dong, X. An innovative IPFS-based storage model for blockchain. In Proceedings of the 2018 IEEE/WIC/ACM International Conference on Web Intelligence (WI), Santiago, Chile, 3–6 December 2018; pp. 704–708. [Google Scholar]
- Norvill, R.; Fiz Pontiveros, B.B.; State, R.; Cullen, A. IPFS for Reduction of Chain Size in Ethereum. In Proceedings of the 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1121–1128. [Google Scholar] [CrossRef]
- Cocco, L.; Mannaro, K.; Tonelli, R.; Mariani, L.; Lodi, M.B.; Melis, A.; Simone, M.; Fanti, A. A Blockchain-Based Traceability System in Agri-Food SME: Case Study of a Traditional Bakery. IEEE Access 2021, 9, 62899–62915. [Google Scholar] [CrossRef]
- López, M.A. Self Sovereign Identity The Future of Identity: Self-Sovereignity, Digital Wallets, and Blockchain. Available online: https://etradeforall.org/documents/idb-self-sovereign-identity-the-future-of-identity-self-sovereignity-digital-wallets-and-blockchain-2/ (accessed on 7 October 2021).
- Anonymous. Proposal for a Regulation of The European Parliament and of the Council amending Regulation (EU) No 910/2014 as regards establishing a framework for a European Digital Identity. Available online: https://www.europeansources.info/record/proposal-for-a-regulation-amending-regulation-eu-no-910-2014-as-regards-establishing-a-framework-for-a-european-digital-identity/ (accessed on 7 October 2021).
- Nguyen, B.M.; Dao, T.C.; Do, B.L. Towards a blockchain-based certificate authentication system in Vietnam. PeerJ Comput. Sci. 2020, 6, e266. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Bouras, M.A.; Xia, B.; Abuassba, A.O.; Ning, H.; Lu, Q. IoT-CCAC: A blockchain-based consortium capability access control approach for IoT. PeerJ Comput. Sci. 2021, 7, e455. [Google Scholar] [CrossRef] [PubMed]
- Weingaertner, T.; Camenzind, O. Identity of Things: Applying concepts from Self Sovereign Identity to IoT devices. Peer Rev. Res. 2021. [Google Scholar] [CrossRef]
- Bartolomeu, P.C.; Vieira, E.; Hosseini, S.M.; Ferreira, J. Self-Sovereign Identity: Use-cases, Technologies, and Challenes for Industrial IoT. In Proceedings of the 2019 24th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), Zaragoza, Spain, 10–13 September 2019; pp. 1173–1180. [Google Scholar] [CrossRef]
- Niya, S.R.; Jeffrey, B.; Stiller, B. KYoT: Self-sovereign IoT Identification with a Physically Unclonable Function. In Proceedings of the 2020 IEEE 45th Conference on Local Computer Networks (LCN), Sydney, Australia, 16–19 November 2020. [Google Scholar]
- Liu, Y.; Lu, Q.; Paik, H.Y.; Xu, X. Design Patterns for Blockchain-based Self-Sovereign Identity Share on. In Proceedings of the European Conference on Pattern Languages of Programs 2020 (EuroPLoP ’20), Virtual Event, Germany, 1–4 July 2020; pp. 1–14. [Google Scholar] [CrossRef]
- Lipińska, A. uPort Serto Ecosystems: Creating Trusted Data Networks between Businesses and Individuals. 2019. Available online: https://medium.com/uport/uport-serto-ecosystems-creating-trusted-data-networks-between-businesses-and-individuals-ff21c9368d3b (accessed on 14 June 2021).
- Coutts, V. The Who’s Who of Decentralized Identity Systems. 2018. Available online: https://medium.com/linum-labs/the-whos-who-of-decentralized-identity-systems-433b2dd9a195 (accessed on 14 June 2021).
- Braendgaard, P. Different Approaches to Ethereum Identity Standards. 2018. Available online: https://medium.com/uport/different-approaches-to-ethereum-identity-standards-a09488347c87 (accessed on 14 June 2021).
- Nelapati, Y. A Solution for Decentralized Identity. 2019. Available online: https://medium.com/makersplace/a-solution-for-decentralized-identity-a867d39b8726 (accessed on 14 June 2021).
- Thorstensson, J. ERC1056 ERC780—An Open Identity and Claims Protocol for Ethereum. 2018. Available online: https://medium.com/uport/erc1056-erc780-an-open-identity-and-claims-protocol-for-ethereum-aef7207bc744 (accessed on 14 June 2021).
- Santos, J. First Impressions with ERC 725 and ERC 735—Identity and Claims. 2018. Available online: https://hackernoon.com/first-impressions-with-erc-725-and-erc-735-identity-and-claims-4a87ff2509c9 (accessed on 18 May 2021).
- Marchesi, L.; Marchesi, M.; Tonelli, R. ABCDE—Agile Block Chain DApp Engineering. Blockchain Res. Appl. 2020, 1, 100002. [Google Scholar] [CrossRef]
- Marchesi, L.; Marchesi, M.; Pompianu, L.; Tonelli, R. Security checklists for Ethereum smart contract development: Patterns and best practices. arXiv 2020, arXiv:2008.04761. [Google Scholar]
- Marchesi, L.; Marchesi, M.; Destefanis, G.; Barabino, G.; Tigano, D. Design Patterns for Gas Optimization in Ethereum. In Proceedings of the 2020 IEEE International Workshop on Blockchain Oriented Software Engineering (IWBOSE), London, ON, Canada, 18 February 2020; pp. 9–15. [Google Scholar] [CrossRef]
Reference | Design Method | SSI Concepts | BlockchainTypology | Standards | Study Case |
---|---|---|---|---|---|
Nguyen et al. [27] | NA | NA | Hyperledger Fabric | NA | Fake certificate issues in Vietnam |
Bouras et al. [28] | NA | NA | BigchainDB | JWT | Waste management in a smart city |
Weingaertner and Camenzind [29] | NA | A | Ethereum blockchain | JWT | Devices’ Identity in IoT networks |
Bartolomeu et al. [30] | NA | A | NA | NA | Review and discussion of use cases |
Niya [31] | NA | A | Ethereum blockchain | ERC734-ERC735 | Know Your IoT device platform |
Liu et al. [32] | NA | A | NA | NA | Design patterns |
López [25] | NA | NA | NA | NA | Technical Report |
Our dApp | ABCDE method | A | Ethereum blockchain | ERC1056 | Food Certifications |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Cocco, L.; Tonelli, R.; Marchesi, M. Blockchain and Self Sovereign Identity to Support Quality in the Food Supply Chain. Future Internet 2021, 13, 301. https://doi.org/10.3390/fi13120301
Cocco L, Tonelli R, Marchesi M. Blockchain and Self Sovereign Identity to Support Quality in the Food Supply Chain. Future Internet. 2021; 13(12):301. https://doi.org/10.3390/fi13120301
Chicago/Turabian StyleCocco, Luisanna, Roberto Tonelli, and Michele Marchesi. 2021. "Blockchain and Self Sovereign Identity to Support Quality in the Food Supply Chain" Future Internet 13, no. 12: 301. https://doi.org/10.3390/fi13120301
APA StyleCocco, L., Tonelli, R., & Marchesi, M. (2021). Blockchain and Self Sovereign Identity to Support Quality in the Food Supply Chain. Future Internet, 13(12), 301. https://doi.org/10.3390/fi13120301